Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel
@ 2026-12-03 21:05 Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Goworld Alessandro Zini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alessandro Zini @ 2026-12-03 21:05 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	thierry.reding, sam, dri-devel, devicetree, Wang Yang,
	Alessandro Zini

Add Goworld ILI6150H6 panel support into panel-simple driver along with
the required DT bindings documentation, including the vendor prefix.

Changes in v2:
- Set .bus_flags = DRM_BUS_FLAG_DE_HIGH to match the timing flags.
- Limit hsync_len max to 140 clocks, as in the datasheet.
- Link to v1: https://lore.kernel.org/r/20261125102700.126248-1-alessandro.zini@siemens.com

Alessandro Zini (2):
  dt-bindings: vendor-prefixes: Add Goworld
  dt-bindings: display: simple: Add Goworld ILI6150H6 panel

Wang Yang (1):
  drm/panel: simple: Add support for Goworld ILI6150H6 panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 ++
 drivers/gpu/drm/panel/panel-simple.c          | 33 +++++++++++++++++++
 3 files changed, 37 insertions(+)


base-commit: adcad7f4e6332cff3d6d7165f41584899f598534
-- 
2.56.1


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

* [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Goworld
  2026-12-03 21:05 [PATCH v2 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel Alessandro Zini
@ 2026-12-03 21:05 ` Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 2/3] dt-bindings: display: simple: Add Goworld ILI6150H6 panel Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 3/3] drm/panel: simple: Add support for " Alessandro Zini
  2 siblings, 0 replies; 5+ messages in thread
From: Alessandro Zini @ 2026-12-03 21:05 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	thierry.reding, sam, dri-devel, devicetree, Wang Yang,
	Alessandro Zini

Add the vendor prefix for Shantou Goworld Display Technology Co., Ltd.,
the manufacturer of the ILI6150H6 LVDS panel.

Signed-off-by: Alessandro Zini <alessandro.zini@siemens.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index a846ae023584e..c3515feddad22 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -708,6 +708,8 @@ patternProperties:
     description: Google, Inc.
   "^goramo,.*":
     description: Goramo Gorecki
+  "^goworld,.*":
+    description: Shantou Goworld Display Technology Co., Ltd.
   "^gplus,.*":
     description: GPLUS
   "^graperain,.*":
-- 
2.56.1


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

* [PATCH v2 2/3] dt-bindings: display: simple: Add Goworld ILI6150H6 panel
  2026-12-03 21:05 [PATCH v2 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Goworld Alessandro Zini
@ 2026-12-03 21:05 ` Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 3/3] drm/panel: simple: Add support for " Alessandro Zini
  2 siblings, 0 replies; 5+ messages in thread
From: Alessandro Zini @ 2026-12-03 21:05 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	thierry.reding, sam, dri-devel, devicetree, Wang Yang,
	Alessandro Zini

Document the compatible string for the Shantou Goworld Display
Technology Co., Ltd. ILI6150H6 7.0" 1024x600 single-channel 24-bit LVDS
(SPWG) TFT LCD panel, which is driven by the panel-simple driver.

Signed-off-by: Alessandro Zini <alessandro.zini@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 11d4a8275ecde..3c664175b528b 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -154,6 +154,8 @@ properties:
       - giantplus,gpg48273qs5
         # GiantPlus GPM940B0 3.0" QVGA TFT LCD panel
       - giantplus,gpm940b0
+        # Shantou Goworld Display Technology Co., Ltd. ILI6150H6 7.0" 1024x600 LVDS TFT LCD panel
+      - goworld,ili6150h6
         # HannStar Display Corp. HSD070PWW1 7.0" WXGA TFT LCD panel
       - hannstar,hsd070pww1
         # HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel
-- 
2.56.1


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

* [PATCH v2 3/3] drm/panel: simple: Add support for Goworld ILI6150H6 panel
  2026-12-03 21:05 [PATCH v2 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Goworld Alessandro Zini
  2026-12-03 21:05 ` [PATCH v2 2/3] dt-bindings: display: simple: Add Goworld ILI6150H6 panel Alessandro Zini
@ 2026-12-03 21:05 ` Alessandro Zini
  2026-12-03 21:16   ` sashiko-bot
  2 siblings, 1 reply; 5+ messages in thread
From: Alessandro Zini @ 2026-12-03 21:05 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	thierry.reding, sam, dri-devel, devicetree, Wang Yang,
	Alessandro Zini

From: Wang Yang <yang.wang-wy@siemens.com>

Add display timing and panel descriptor for the Goworld ILI6150H6 LCD
panel.
Register the panel in the of_device_id table with the compatible string
"goworld,ili6150h6".

Signed-off-by: Wang Yang <yang.wang-wy@siemens.com>
Signed-off-by: Alessandro Zini <alessandro.zini@siemens.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 33d954f3ee289..6d8c166d1150f 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2543,6 +2543,36 @@ static const struct panel_desc giantplus_gpm940b0 = {
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
 };
 
+static const struct display_timing goworld_ili6150h6_timing = {
+	.pixelclock = { 44900000, 51200000, 63000000 },
+	.hactive = { 1024, 1024, 1024 },
+	.hfront_porch = { 16, 160, 216 },
+	.hback_porch = { 160, 160, 160 },
+	.hsync_len = { 1, 1, 140 },
+	.vactive = { 600, 600, 600 },
+	.vfront_porch = { 1, 12, 127 },
+	.vback_porch = { 23, 23, 23 },
+	.vsync_len = { 1, 3, 20 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc goworld_ili6150h6 = {
+	.timings = &goworld_ili6150h6_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 154,
+		.height = 85,
+	},
+	.delay = {
+		.enable = 25,
+		.disable = 25,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct display_timing hannstar_hsd070pww1_timing = {
 	.pixelclock = { 64300000, 71100000, 82000000 },
 	.hactive = { 1280, 1280, 1280 },
@@ -5921,6 +5951,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "giantplus,gpm940b0",
 		.data = &giantplus_gpm940b0,
+	}, {
+		.compatible = "goworld,ili6150h6",
+		.data = &goworld_ili6150h6,
 	}, {
 		.compatible = "hannstar,hsd070pww1",
 		.data = &hannstar_hsd070pww1,
-- 
2.56.1


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

* Re: [PATCH v2 3/3] drm/panel: simple: Add support for Goworld ILI6150H6 panel
  2026-12-03 21:05 ` [PATCH v2 3/3] drm/panel: simple: Add support for " Alessandro Zini
@ 2026-12-03 21:16   ` sashiko-bot
  0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-12-03 21:16 UTC (permalink / raw)
  To: Alessandro Zini; +Cc: dri-devel, devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/panel: simple: double-counted sync lengths in
  goworld_ili6150h6_timing
--

commit 4246759ab6fe7c38b14e403e8515ce3d98a02e1c
Author: Wang Yang <yang.wang-wy@siemens.com>

drm/panel: simple: Add support for Goworld ILI6150H6 panel

This commit adds display timing and panel descriptor entries for the
Goworld ILI6150H6 LVDS panel to panel-simple and registers the
"goworld,ili6150h6" compatible string.

> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 33d954f3ee289..6d8c166d1150f 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2543,6 +2543,36 @@ static const struct panel_desc giantplus_gpm940b0 = {
>  	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
>  };
>  
> +static const struct display_timing goworld_ili6150h6_timing = {
> +	.pixelclock = { 44900000, 51200000, 63000000 },
> +	.hactive = { 1024, 1024, 1024 },
> +	.hfront_porch = { 16, 160, 216 },
> +	.hback_porch = { 160, 160, 160 },
> +	.hsync_len = { 1, 1, 140 },
> +	.vactive = { 600, 600, 600 },
> +	.vfront_porch = { 1, 12, 127 },
> +	.vback_porch = { 23, 23, 23 },
> +	.vsync_len = { 1, 3, 20 },
> +	.flags = DISPLAY_FLAGS_DE_HIGH,
> +};

[Severity: Medium]
Do hback_porch and vback_porch double-count hsync_len and vsync_len here?

drm_display_mode_from_videomode() adds sync length and back porch separately
when computing htotal and vtotal, while the 44.9/51.2/63.0 MHz pixelclock
bounds match 60 Hz only for 1200x624, 1344x635, and 1400x750 (meaning 160
and 23 already include hsync_len and vsync_len).

As written, the default mode gets an odd htotal of 1345 and a vtotal of 638
(59.67 Hz instead of 60 Hz), shifting sync-to-active spacing by +1 pixel and
+3 lines.

Fixing hback_porch at 160 and vback_porch at 23 also causes
panel_simple_parse_panel_timing_node() to reject valid devicetree
panel-timing overrides with sync-exclusive back porches, while allowing
out-of-spec totals up to 1540x770.

Subtracting hsync_len from 160 (e.g., { 20, 159, 159 }) and vsync_len from
23 (e.g., { 3, 20, 22 }) would give the expected 1344x635 mode and accept
valid overrides.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203210545.668975-1-alessandro.zini@siemens.com?part=3

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

end of thread, other threads:[~2026-12-03 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 21:05 [PATCH v2 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel Alessandro Zini
2026-12-03 21:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Goworld Alessandro Zini
2026-12-03 21:05 ` [PATCH v2 2/3] dt-bindings: display: simple: Add Goworld ILI6150H6 panel Alessandro Zini
2026-12-03 21:05 ` [PATCH v2 3/3] drm/panel: simple: Add support for " Alessandro Zini
2026-12-03 21:16   ` sashiko-bot

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