All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: display: simple: Add AM-1280800W8TZQW-T00H
@ 2026-05-15  8:22 Dario Binacchi
  2026-05-15  8:22 ` [PATCH v2 2/2] drm/panel: " Dario Binacchi
  2026-05-15 17:34 ` [PATCH v2 1/2] dt-bindings: display: " Conor Dooley
  0 siblings, 2 replies; 3+ messages in thread
From: Dario Binacchi @ 2026-05-15  8:22 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dario Binacchi, Conor Dooley, David Airlie, Jessica Zhang,
	Krzysztof Kozlowski, Maarten Lankhorst, Maxime Ripard,
	Neil Armstrong, Rob Herring, Sam Ravnborg, Simona Vetter,
	Thierry Reding, Thomas Zimmermann, devicetree, dri-devel

Add dt-bindings for 10.1" TFT LCD module from Ampire Co. Ltd.
as part of panel-simple.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

Changes in v2:
- Insert the new compatible string in alphabetical order in
  Documentation/devicetree/bindings/display/panel/panel-simple.yaml
- Replace WQVGA with WXGA.

 .../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 3e41ed0ef5d5..617cf9d64627 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -31,6 +31,8 @@ properties:
 
         # Ampire AM-1280800N3TZQW-T00H 10.1" WQVGA TFT LCD panel
       - ampire,am-1280800n3tzqw-t00h
+        # Ampire AM-1280800W8TZQW-T00H 10.1" WXGA TFT LCD panel
+      - ampire,am-1280800w8tzqw-t00h
         # Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel
       - ampire,am-480272h3tmqw-t01h
         # Ampire AM-800480L1TMQW-T00H 5" WVGA TFT LCD panel
-- 
2.43.0

base-commit: 70eda68668d1476b459b64e69b8f36659fa9dfa8
branch: am-1280800N3tzqw-to00h

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

* [PATCH v2 2/2] drm/panel: simple: Add AM-1280800W8TZQW-T00H
  2026-05-15  8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add AM-1280800W8TZQW-T00H Dario Binacchi
@ 2026-05-15  8:22 ` Dario Binacchi
  2026-05-15 17:34 ` [PATCH v2 1/2] dt-bindings: display: " Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Dario Binacchi @ 2026-05-15  8:22 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dario Binacchi, Michael Trimarchi, David Airlie, Jessica Zhang,
	Maarten Lankhorst, Maxime Ripard, Neil Armstrong, Simona Vetter,
	Thomas Zimmermann, dri-devel

Add Ampire, AM-1280800W8TZQW-T00H 10.1" TFT LCD panel timings.

Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

Changes in v2:
- Insert the new data in alphabetical order in
  drivers/gpu/drm/panel/panel-simple.c.

 drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 236bd56208cc..1bf21cd836c1 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -820,6 +820,31 @@ static const struct panel_desc ampire_am_1280800n3tzqw_t00h = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct drm_display_mode ampire_am_1280800w8tzqw_t00h_mode = {
+	.clock = 72400,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 40,
+	.hsync_end = 1280 + 40 + 80,
+	.htotal = 1280 + 40 + 80 + 40,
+	.vdisplay = 800,
+	.vsync_start = 800 + 10,
+	.vsync_end = 800 + 10 + 18,
+	.vtotal = 800 + 10 + 18 + 10,
+};
+
+static const struct panel_desc ampire_am_1280800w8tzqw_t00h = {
+	.modes = &ampire_am_1280800w8tzqw_t00h_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct drm_display_mode ampire_am_480272h3tmqw_t01h_mode = {
 	.clock = 9000,
 	.hdisplay = 480,
@@ -5193,6 +5218,9 @@ static const struct of_device_id platform_of_match[] = {
 	{
 		.compatible = "ampire,am-1280800n3tzqw-t00h",
 		.data = &ampire_am_1280800n3tzqw_t00h,
+	}, {
+		.compatible = "ampire,am-1280800w8tzqw-t00h",
+		.data = &ampire_am_1280800w8tzqw_t00h,
 	}, {
 		.compatible = "ampire,am-480272h3tmqw-t01h",
 		.data = &ampire_am_480272h3tmqw_t01h,
-- 
2.43.0

base-commit: 70eda68668d1476b459b64e69b8f36659fa9dfa8
branch: am-1280800N3tzqw-to00h

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

* Re: [PATCH v2 1/2] dt-bindings: display: simple: Add AM-1280800W8TZQW-T00H
  2026-05-15  8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add AM-1280800W8TZQW-T00H Dario Binacchi
  2026-05-15  8:22 ` [PATCH v2 2/2] drm/panel: " Dario Binacchi
@ 2026-05-15 17:34 ` Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-05-15 17:34 UTC (permalink / raw)
  To: Dario Binacchi
  Cc: linux-kernel, Conor Dooley, David Airlie, Jessica Zhang,
	Krzysztof Kozlowski, Maarten Lankhorst, Maxime Ripard,
	Neil Armstrong, Rob Herring, Sam Ravnborg, Simona Vetter,
	Thierry Reding, Thomas Zimmermann, devicetree, dri-devel

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-05-15 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15  8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add AM-1280800W8TZQW-T00H Dario Binacchi
2026-05-15  8:22 ` [PATCH v2 2/2] drm/panel: " Dario Binacchi
2026-05-15 17:34 ` [PATCH v2 1/2] dt-bindings: display: " Conor Dooley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.