From nobody Mon Feb 9 14:37:00 2026 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 581AF20C46C; Mon, 7 Apr 2025 16:34:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043653; cv=none; b=ozTRhUIB4PSdQDFLFFB/q7WMBDOd3bwWumd9VTk/VWGBgfBmIFASCK+Jp9Iuiy4b+kjVBHHXEv8Emlpf8fvSreXViW+zPBdxTEh29tcirtiOyJ44VfiJpFf1ru1z0XUWH4Kqs6g3FvB7z2jAfPZzNa6c4v35wJKr7TyaKwWWtrU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043653; c=relaxed/simple; bh=dUl/+bEyGiU/qu+Y6Ab+9ROyCiGZlNL3IUYutIlCKMk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Zbl6MToz/zQ3Qg0Eja7IWgcOxvS27N8G9RkZ1FGKkVL6b6wpQSfR+S22gaCUMmRkOhpc/XnEhTJ6A5iCuBpfCS282jQzwTJ5xWwuzu7PIZfez9CnZxTGxvGw47skIRdl9v7Y6PgwtArgJVP01oeOM5sGNWErtMqy0zfeDXpOkjY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=WZceOXZH; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="WZceOXZH" Received: by mail.gandi.net (Postfix) with ESMTPSA id E8C3B2047E; Mon, 7 Apr 2025 16:34:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1744043648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lLTa7CZ+7PS3VX0urrg7v+OaNonYLpOictArwCt4TjQ=; b=WZceOXZH3RH2uh/pUc1zyW5ERpfYjwwxTptyii25ofF0U0QP2G9YjcueUe7Mw3Is9QRPpI ZUc54w3f1muk2V+eYlgZHHk/h+/RaZMH7a+AZEpwI9gI2FMYQCMdAI7y8TKyb9nx/viW5w p6ymorX/1TBfHXr6aBpNPYrQkW7852D1koV3fjnR1zCzUVn+L4mby5/4U3pKJ88SlFMhrx xZJrw4VQEt/C3VKPSnvTa33qJPx4uFtj8jqM2k3tKYmB2YlJG/DbmnA8Oy3J7jm/EUMzZE Jk9b61jNr8hiEMnbYRyFef/bglKKBrjm6qKh5NTTQkyMlfVbRMFRrFhtYM00tA== From: Luca Ceresoli Date: Mon, 07 Apr 2025 18:33:59 +0200 Subject: [PATCH v2 1/3] dt-bindings: display: simple: Add Tianma P0700WXF1MBAA panel Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250407-tianma-p0700wxf1mbaa-v2-1-ede8c5a3f538@bootlin.com> References: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> In-Reply-To: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg Cc: Thomas Petazzoni , "Pu, Hui" , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli , Conor Dooley X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtddtieekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepnfhutggrucevvghrvghsohhlihcuoehluhgtrgdrtggvrhgvshholhhisegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeeiieeuvdfftefgueduleehueetgffgjeeitedtteetkeeuueeuueekveevvdeuveenucfkphepvdgrtddvmeeijedtmedvtddvtdemvggrtddumegsvgegudemleehvgejmeefgeefmeeludefvgenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtvdemieejtdemvddtvddtmegvrgdtudemsggvgedumeelhegvjeemfeegfeemledufegvpdhhvghloheplgduledvrdduieekrddujeekrdejhegnpdhmrghilhhfrhhomheplhhutggrrdgtvghrvghsohhlihessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepudelpdhrtghpthhtohepshgrmhesrhgrvhhnsghorhhgrdhorhhgpdhrtghpthhtohepqhhuihgtpghjvghsshiihhgrnhesqhhuihgtihhntgdrtghomhdprhgtphhtthhopehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdpr hgtphhtthhopehsihhmohhnrgesfhhffihllhdrtghhpdhrtghpthhtohepjfhuihdrrfhusehgvghhvggrlhhthhgtrghrvgdrtghomhdprhgtphhtthhopegtohhnohhrrdguohholhgvhiesmhhitghrohgthhhiphdrtghomhdprhgtphhtthhopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdhorhhg X-GND-Sasl: luca.ceresoli@bootlin.com Add the Tianma Micro-electronics P0700WXF1MBAA 7.0" LVDS LCD TFT panel. Acked-by: Conor Dooley Signed-off-by: Luca Ceresoli --- Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.y= aml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index b5c8eb4fa2d166d0c3c33cdc8bae35853dba2223..1b593e092e3196da4a1ca11fe08= f5c2e0e87854f 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -286,6 +286,8 @@ properties: - startek,kd070wvfpa # Team Source Display Technology TST043015CMHX 4.3" WQVGA TFT LCD = panel - team-source-display,tst043015cmhx + # Tianma Micro-electronics P0700WXF1MBAA 7.0" WXGA (1280x800) LVDS= TFT LCD panel + - tianma,p0700wxf1mbaa # Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel - tianma,tm070jdhg30 # Tianma Micro-electronics TM070JDHG34-00 7.0" WXGA (1280x800) LVD= S TFT LCD panel --=20 2.49.0 From nobody Mon Feb 9 14:37:00 2026 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5820D20C493; Mon, 7 Apr 2025 16:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043653; cv=none; b=ZRkpCgNBR0nNieG/KBYfL1eoWCPHprIx4fQY1RBSBpI6tkZ3ylL9rH+dwWagSxeaOAlWvapm7Ry7PuG+rSMiXKLuRXl/6IH9CvmNu+L24iLEhQMQRNq0BmIgUVZi4C6mkCPQJLkAIYvNRfrxxYvwyHcxR9CguTG08+n1awl5Q58= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043653; c=relaxed/simple; bh=oivFHZVchL7odhRtsJKFsVphB5Uewyo34gYrMYxr+H0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kB7HDnD8hmVSEfHJascU2lYhYj+vu+PaHK10E1tIeE+Cdrigu3LvKL7FKIV4JqcAGd+gWEm2YzSL8l++8eS/26Mpl7PQ0Nl3rvUopzmC/1RIhIFWrWkGioJcvy5VcdSoelAjQlvVziCpSdsdxr3LqTN1TFoI1qFSpujmmuyNDuM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Bhrw953F; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Bhrw953F" Received: by mail.gandi.net (Postfix) with ESMTPSA id 5F4A620452; Mon, 7 Apr 2025 16:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1744043649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Vu+VYaG7J72e2wnMEktbEWju1bIb0fe9q+yEm36Jk0=; b=Bhrw953FvLxlvrMSs37ewyfTwAgA5rB56bwbsAqUhjoZ1LsKgliagmE1X1+eeUx8Zp+N1e 23IS91MqF931BMYTzP+j3bEZC848qFneghM6XyK9HzkvAPKE1/eRnlqjLgdyL9e5u13Z+8 RtkoiytE29Q8Ku3qED7DCDqE94Q/Pl9ZvchnIQVu9keMgu76mcKkNvy3azKUcENwxB8l6F hIMfZy/dhrGbHh1a/mxL2px9YlJmLeEbQaBV6K1o1aKWQfXkhhJ6O4JQHv7ZiUSPIICWCo 9WmFL3Wd0VHVyE7G3chwdpfMcEVIuj7Yg+0HG1b40AXpwKDaml6oRzLO0+AemQ== From: Luca Ceresoli Date: Mon, 07 Apr 2025 18:34:00 +0200 Subject: [PATCH v2 2/3] drm/panel: simple: Tianma TM070JDHG34-00: add delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250407-tianma-p0700wxf1mbaa-v2-2-ede8c5a3f538@bootlin.com> References: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> In-Reply-To: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg Cc: Thomas Petazzoni , "Pu, Hui" , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtddtieekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepnfhutggrucevvghrvghsohhlihcuoehluhgtrgdrtggvrhgvshholhhisegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeeiieeuvdfftefgueduleehueetgffgjeeitedtteetkeeuueeuueekveevvdeuveenucfkphepvdgrtddvmeeijedtmedvtddvtdemvggrtddumegsvgegudemleehvgejmeefgeefmeeludefvgenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtvdemieejtdemvddtvddtmegvrgdtudemsggvgedumeelhegvjeemfeegfeemledufegvpdhhvghloheplgduledvrdduieekrddujeekrdejhegnpdhmrghilhhfrhhomheplhhutggrrdgtvghrvghsohhlihessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepudekpdhrtghpthhtohepthiiihhmmhgvrhhmrghnnhesshhushgvrdguvgdprhgtphhtthhopegurhhiqdguvghvvghlsehlihhsthhsrdhfrhgvvgguvghskhhtohhprdhorhhgpdhrtghpthhtohepthhhihgvrhhrhidrrhgvughinhhgsehgmhgrihhlr dgtohhmpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheptghonhhorhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgrmhesrhgrvhhnsghorhhgrdhorhhgpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrgh X-GND-Sasl: luca.ceresoli@bootlin.com Add power on/off delays for the Tianma TM070JDHG34-00. Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/panel/panel-simple.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index df718c4a86cb7dc0cd126e807d33306e5a21d8a0..3496ed3e62056938ccc0ed2389e= a46eed8d17ea2 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4452,6 +4452,12 @@ static const struct panel_desc tianma_tm070jdhg34_00= =3D { .width =3D 150, /* 149.76 */ .height =3D 94, /* 93.60 */ }, + .delay =3D { + .prepare =3D 18, /* Tr + Tp1 */ + .enable =3D 150, /* Tp2 */ + .disable =3D 150, /* Tp4 */ + .unprepare =3D 120, /* Tp3 */ + }, .bus_format =3D MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, .connector_type =3D DRM_MODE_CONNECTOR_LVDS, }; --=20 2.49.0 From nobody Mon Feb 9 14:37:00 2026 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B712A20D4EE; Mon, 7 Apr 2025 16:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043654; cv=none; b=BfvqpXI30V4noA+czgeA2GEMcI7Q7BU5tGaexJHg4zw8VOdksagIf815m81WHakOI2ClgoIp8EXUEvxi/j5n5oCIcQTKDKbhahrImSTqcwTerlVL/LtywJXDFqr+1bZPZ6PHmWnoZClHUxPdnaml835mr/6vB5sY3Ly+3GCQgus= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744043654; c=relaxed/simple; bh=dyaLNe+v+VR4r+EBOlsgK7a1g25zkXO9JHxa/rJMmoI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bz5nACmLur2mz+v091WpIhDL5kejHvpISv6L7bP3du/dFbb9Cn5mC06VqnWiv4C2TBqVHvbu65N7InDT961dZqJ+cDBVIk51DYhPihSenWlCVjtyVDOTzUJVsMUWLZWmfzkw8zQjSyx0zeSezhrZoaftQuqoIGQirhplfL0Bc6o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=AyOZgjiK; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="AyOZgjiK" Received: by mail.gandi.net (Postfix) with ESMTPSA id C7AAF20579; Mon, 7 Apr 2025 16:34:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1744043651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FsMOy7QRYRved35PCqQuHrlR3pOYMkBV4GzXKflkZTo=; b=AyOZgjiKxPkYfk6DG/FW6H/Di8ZUYWAokF3yYnkHRRWslbgAJNtQj+DZ9o7ZGGvnsWqSw7 Mp1epUZ4psulceBqDV6dde9bBxTYn6p7j4mnDFBpUZIBQ9qoa/gfP1M9Rnv9mvwEIgJqT6 i9pxyLrOUD2RX1tOJuOcxUmH88x7AV6R2umo2deLb8n6mN7V5K0QRywOqcGsXzhZSBHS50 VjaX+StzFYzNS5NSFQHjTDUNEJVv07tETB+W2eigUlidZD5urp1O7cC9zTqFo3PF4XoTIT QKq8GzUyBOfiNPWoIHryQjHwEJfGtmjw/0gq9ZloTy0ffQbxVd+RrBQaYQuVug== From: Luca Ceresoli Date: Mon, 07 Apr 2025 18:34:01 +0200 Subject: [PATCH v2 3/3] drm/panel: simple: add Tianma P0700WXF1MBAA panel Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250407-tianma-p0700wxf1mbaa-v2-3-ede8c5a3f538@bootlin.com> References: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> In-Reply-To: <20250407-tianma-p0700wxf1mbaa-v2-0-ede8c5a3f538@bootlin.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg Cc: Thomas Petazzoni , "Pu, Hui" , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtddtieekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepnfhutggrucevvghrvghsohhlihcuoehluhgtrgdrtggvrhgvshholhhisegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeeiieeuvdfftefgueduleehueetgffgjeeitedtteetkeeuueeuueekveevvdeuveenucfkphepvdgrtddvmeeijedtmedvtddvtdemvggrtddumegsvgegudemleehvgejmeefgeefmeeludefvgenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpedvrgdtvdemieejtdemvddtvddtmegvrgdtudemsggvgedumeelhegvjeemfeegfeemledufegvpdhhvghloheplgduledvrdduieekrddujeekrdejhegnpdhmrghilhhfrhhomheplhhutggrrdgtvghrvghsohhlihessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepudekpdhrtghpthhtohepthiiihhmmhgvrhhmrghnnhesshhushgvrdguvgdprhgtphhtthhopegurhhiqdguvghvvghlsehlihhsthhsrdhfrhgvvgguvghskhhtohhprdhorhhgpdhrtghpthhtohepthhhihgvrhhrhidrrhgvughinhhgsehgmhgrihhlr dgtohhmpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheptghonhhorhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgrmhesrhgrvhhnsghorhhgrdhorhhgpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrgh X-GND-Sasl: luca.ceresoli@bootlin.com Add the Tianma P0700WXF1MBAA 7" 1280x800 LVDS RGB TFT LCD panel. Reuse the timings of the TM070JDHG34-00 as they are identical, even though they are described differently by the datasheet as noted in the comment. Power up/down timing are slightly different, so add a new struct panel_desc for that. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-simple.c | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index 3496ed3e62056938ccc0ed2389ea46eed8d17ea2..0bc20547fc3b3b7164e7f5743d3= 0332c479414b5 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4418,10 +4418,10 @@ static const struct panel_desc tianma_tm070jvhg33 = =3D { }; =20 /* - * The datasheet computes total blanking as back porch + front porch, not - * including sync pulse width. This is for both H and V. To make the total - * blanking and period correct, subtract the pulse width from the front - * porch. + * The TM070JDHG34-00 datasheet computes total blanking as back porch + + * front porch, not including sync pulse width. This is for both H and + * V. To make the total blanking and period correct, subtract the pulse + * width from the front porch. * * This works well for the Min and Typ values, but for Max values the sync * pulse width is higher than back porch + front porch, so work around that @@ -4430,6 +4430,10 @@ static const struct panel_desc tianma_tm070jvhg33 = =3D { * * Exact datasheet values are added as a comment where they differ from the * ones implemented for the above reason. + * + * The P0700WXF1MBAA datasheet is even less detailed, only listing period + * and total blanking time, however the resulting values are the same as + * the TM070JDHG34-00. */ static const struct display_timing tianma_tm070jdhg34_00_timing =3D { .pixelclock =3D { 68400000, 71900000, 78100000 }, @@ -4462,6 +4466,24 @@ static const struct panel_desc tianma_tm070jdhg34_00= =3D { .connector_type =3D DRM_MODE_CONNECTOR_LVDS, }; =20 +static const struct panel_desc tianma_p0700wxf1mbaa =3D { + .timings =3D &tianma_tm070jdhg34_00_timing, + .num_timings =3D 1, + .bpc =3D 8, + .size =3D { + .width =3D 150, /* 149.76 */ + .height =3D 94, /* 93.60 */ + }, + .delay =3D { + .prepare =3D 18, /* Tr + Tp1 */ + .enable =3D 152, /* Tp2 + Tp5 */ + .disable =3D 152, /* Tp6 + Tp4 */ + .unprepare =3D 120, /* Tp3 */ + }, + .bus_format =3D MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type =3D DRM_MODE_CONNECTOR_LVDS, +}; + static const struct display_timing tianma_tm070rvhg71_timing =3D { .pixelclock =3D { 27700000, 29200000, 39600000 }, .hactive =3D { 800, 800, 800 }, @@ -5247,6 +5269,9 @@ static const struct of_device_id platform_of_match[] = =3D { }, { .compatible =3D "tfc,s9700rtwv43tr-01b", .data =3D &tfc_s9700rtwv43tr_01b, + }, { + .compatible =3D "tianma,p0700wxf1mbaa", + .data =3D &tianma_p0700wxf1mbaa, }, { .compatible =3D "tianma,tm070jdhg30", .data =3D &tianma_tm070jdhg30, --=20 2.49.0