Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel
@ 2026-09-17 11:05 A. Sverdlin
  2026-09-17 11:05 ` [PATCH 1/2] dt-bindings: display: " A. Sverdlin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: A. Sverdlin @ 2026-09-17 11:05 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: Alexander Sverdlin, Neil Armstrong, Jessica Zhang, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Sam Ravnborg, linux-kernel

From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

Add Truly TFT320240-229-E panel support into panel-simple driver along with
the required DT bindings documentation.

Alexander Sverdlin (1):
  dt-bindings: display: simple: Add Truly TFT320240-229-E panel

Frank Bodammer (1):
  drm/panel: simple: Add support for Truly TFT320240-229-E panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 drivers/gpu/drm/panel/panel-simple.c          | 29 +++++++++++++++++++
 2 files changed, 31 insertions(+)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: display: simple: Add Truly TFT320240-229-E panel
  2026-09-17 11:05 [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel A. Sverdlin
@ 2026-09-17 11:05 ` A. Sverdlin
  2026-09-20 11:05   ` Krzysztof Kozlowski
  2026-09-17 11:05 ` [PATCH 2/2] drm/panel: simple: Add support for " A. Sverdlin
  2026-09-24 13:59 ` [PATCH 0/2] drm/panel: simple: Add " Neil Armstrong
  2 siblings, 1 reply; 6+ messages in thread
From: A. Sverdlin @ 2026-09-17 11:05 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: Alexander Sverdlin, Neil Armstrong, Jessica Zhang, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Sam Ravnborg, linux-kernel

From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

Document the compatible string for the Truly Semiconductors Limited
TFT320240-229-E 3.5" QVGA (320 x 240) parallel RGB TFT LCD panel, which
is driven by the panel-simple driver.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 3d1cc11ba3aa4..eb49832b26c46 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -338,6 +338,8 @@ properties:
       - tpk,f07a-0102
         # TPK U.S.A. LLC Fusion 10.1" 1024 x 600 (WSVGA) LCD panel with capacitive touch
       - tpk,f10a-0102
+        # Truly Semiconductors Limited 3.5" QVGA (320 x 240) TFT LCD panel
+      - truly,tft320240-229-e
         # United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panel
         # Supported are LVDS versions (-11T, -19T) and parallel ones
         # (-T, -1T, -7T, -20T).
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] drm/panel: simple: Add support for Truly TFT320240-229-E panel
  2026-09-17 11:05 [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel A. Sverdlin
  2026-09-17 11:05 ` [PATCH 1/2] dt-bindings: display: " A. Sverdlin
@ 2026-09-17 11:05 ` A. Sverdlin
  2026-09-18 12:21   ` Neil Armstrong
  2026-09-24 13:59 ` [PATCH 0/2] drm/panel: simple: Add " Neil Armstrong
  2 siblings, 1 reply; 6+ messages in thread
From: A. Sverdlin @ 2026-09-17 11:05 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: Frank Bodammer, Neil Armstrong, Jessica Zhang, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Sam Ravnborg, linux-kernel, Alexander Sverdlin

From: Frank Bodammer <frank.bodammer@siemens.com>

Add display mode and panel descriptor for the Truly TFT320240-229-E
LCD panel.
Register the panel in the of_device_id table with the compatible
string "truly,tft320240-229-e".

Signed-off-by: Frank Bodammer <frank.bodammer@siemens.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c95964ba25a95..bd7f6eaeb0deb 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -5114,6 +5114,32 @@ static const struct panel_desc tpk_f10a_0102 = {
 	},
 };
 
+static const struct drm_display_mode truly_tft320240_229_e_mode = {
+	.clock = 6410,
+	.hdisplay = 320,
+	.hsync_start = 320 + 8,
+	.hsync_end = 320 + 8 + 39,
+	.htotal = 320 + 8 + 39 + 4,
+	.vdisplay = 240,
+	.vsync_start = 240 + 8,
+	.vsync_end = 240 + 8 + 8,
+	.vtotal = 240 + 8 + 8 + 4,
+	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc truly_tft320240_229_e = {
+	.modes = &truly_tft320240_229_e_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 70,
+		.height = 53,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
 static const struct display_timing urt_umsh_8596md_timing = {
 	.pixelclock = { 33260000, 33260000, 33260000 },
 	.hactive = { 800, 800, 800 },
@@ -6167,6 +6193,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "tpk,f10a-0102",
 		.data = &tpk_f10a_0102,
+	}, {
+		.compatible = "truly,tft320240-229-e",
+		.data = &truly_tft320240_229_e,
 	}, {
 		.compatible = "urt,umsh-8596md-t",
 		.data = &urt_umsh_8596md_parallel,
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] drm/panel: simple: Add support for Truly TFT320240-229-E panel
  2026-09-17 11:05 ` [PATCH 2/2] drm/panel: simple: Add support for " A. Sverdlin
@ 2026-09-18 12:21   ` Neil Armstrong
  0 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2026-09-18 12:21 UTC (permalink / raw)
  To: A. Sverdlin, dri-devel, devicetree
  Cc: Frank Bodammer, Jessica Zhang, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg,
	linux-kernel

On 9/17/26 13:05, A. Sverdlin wrote:
> From: Frank Bodammer <frank.bodammer@siemens.com>
> 
> Add display mode and panel descriptor for the Truly TFT320240-229-E
> LCD panel.
> Register the panel in the of_device_id table with the compatible
> string "truly,tft320240-229-e".
> 
> Signed-off-by: Frank Bodammer <frank.bodammer@siemens.com>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> ---
>   drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
>   1 file changed, 29 insertions(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index c95964ba25a95..bd7f6eaeb0deb 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -5114,6 +5114,32 @@ static const struct panel_desc tpk_f10a_0102 = {
>   	},
>   };
>   
> +static const struct drm_display_mode truly_tft320240_229_e_mode = {
> +	.clock = 6410,
> +	.hdisplay = 320,
> +	.hsync_start = 320 + 8,
> +	.hsync_end = 320 + 8 + 39,
> +	.htotal = 320 + 8 + 39 + 4,
> +	.vdisplay = 240,
> +	.vsync_start = 240 + 8,
> +	.vsync_end = 240 + 8 + 8,
> +	.vtotal = 240 + 8 + 8 + 4,
> +	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
> +};
> +
> +static const struct panel_desc truly_tft320240_229_e = {
> +	.modes = &truly_tft320240_229_e_mode,
> +	.num_modes = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 70,
> +		.height = 53,
> +	},
> +	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> +	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
> +	.connector_type = DRM_MODE_CONNECTOR_DPI,
> +};
> +
>   static const struct display_timing urt_umsh_8596md_timing = {
>   	.pixelclock = { 33260000, 33260000, 33260000 },
>   	.hactive = { 800, 800, 800 },
> @@ -6167,6 +6193,9 @@ static const struct of_device_id platform_of_match[] = {
>   	}, {
>   		.compatible = "tpk,f10a-0102",
>   		.data = &tpk_f10a_0102,
> +	}, {
> +		.compatible = "truly,tft320240-229-e",
> +		.data = &truly_tft320240_229_e,
>   	}, {
>   		.compatible = "urt,umsh-8596md-t",
>   		.data = &urt_umsh_8596md_parallel,

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

Thanks,
Neil

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: display: simple: Add Truly TFT320240-229-E panel
  2026-09-17 11:05 ` [PATCH 1/2] dt-bindings: display: " A. Sverdlin
@ 2026-09-20 11:05   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-20 11:05 UTC (permalink / raw)
  To: A. Sverdlin
  Cc: dri-devel, devicetree, Neil Armstrong, Jessica Zhang,
	David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Sam Ravnborg, linux-kernel

On Thu, Sep 17, 2026 at 01:05:14PM +0200, A. Sverdlin wrote:
> From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> 
> Document the compatible string for the Truly Semiconductors Limited
> TFT320240-229-E 3.5" QVGA (320 x 240) parallel RGB TFT LCD panel, which
> is driven by the panel-simple driver.
> 
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> ---
>  .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel
  2026-09-17 11:05 [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel A. Sverdlin
  2026-09-17 11:05 ` [PATCH 1/2] dt-bindings: display: " A. Sverdlin
  2026-09-17 11:05 ` [PATCH 2/2] drm/panel: simple: Add support for " A. Sverdlin
@ 2026-09-24 13:59 ` Neil Armstrong
  2 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2026-09-24 13:59 UTC (permalink / raw)
  To: dri-devel, devicetree, A. Sverdlin
  Cc: Jessica Zhang, David Airlie, Simona Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg,
	linux-kernel

Hi,

On Thu, 17 Sep 2026 13:05:13 +0200, A. Sverdlin wrote:
> From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> 
> Add Truly TFT320240-229-E panel support into panel-simple driver along with
> the required DT bindings documentation.
> 
> Alexander Sverdlin (1):
>   dt-bindings: display: simple: Add Truly TFT320240-229-E panel
> 
> [...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/2] dt-bindings: display: simple: Add Truly TFT320240-229-E panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/001a7baa873891b7558f6b91e36136bb8fc66fc3
[2/2] drm/panel: simple: Add support for Truly TFT320240-229-E panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/45b46cd3c477a2e5ed547450a15dc80f0593f418

-- 
Neil


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-24 13:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17 11:05 [PATCH 0/2] drm/panel: simple: Add Truly TFT320240-229-E panel A. Sverdlin
2026-09-17 11:05 ` [PATCH 1/2] dt-bindings: display: " A. Sverdlin
2026-09-20 11:05   ` Krzysztof Kozlowski
2026-09-17 11:05 ` [PATCH 2/2] drm/panel: simple: Add support for " A. Sverdlin
2026-09-18 12:21   ` Neil Armstrong
2026-09-24 13:59 ` [PATCH 0/2] drm/panel: simple: Add " Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox