Skip to contentSkip to conversation

dt-bindings: display: simple: Add Innolux G150XGE-L05 panel

PATCH Applied Fabio Estevam 3 participants 5 messages Jan 2 – Jan 13

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: display: simple: Add Innolux G150XGE-L05 panel

From: Fabio Estevam <[email protected]>

Add Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel compatible string.

---
Changes since v1:
- Keep the entries sorted. (Krzysztof)

 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index fc244fbb5a54..2a1c616aac9b 100644
@@ -178,6 +178,8 @@ properties:
       - innolux,g121x1-l03
         # Innolux Corporation 12.1" G121XCE-L01 XGA (1024x768) TFT LCD panel
       - innolux,g121xce-l01
+        # InnoLux 15.0" G150XGE-L05 XGA (1024x768) TFT LCD panel
+      - innolux,g150xge-l05
         # InnoLux 15.6" FHD (1920x1080) TFT LCD panel
       - innolux,g156hce-l01
         # InnoLux 13.3" FHD (1920x1080) TFT LCD panel
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 2/2 drm/panel: simple: Add Innolux G150XGE-L05 panel entry

From: Fabio Estevam <[email protected]>

Add support for the Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel.

---
Changes since v1:
- None.

 drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +29 -0
index 3acc9f3dac16..c606e5932ca7 100644
@@ -2836,6 +2836,32 @@ static const struct panel_desc innolux_g121xce_l01 = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct display_timing innolux_g150xge_l05_timing = {
+	.pixelclock   = { 53350000, 65000000, 80000000 },
+	.hactive      = { 1024, 1024, 1024 },
+	.hfront_porch = { 58, 160, 288 },
+	.hback_porch  = { 58, 160, 288 },
+	.hsync_len    = { 1, 1, 1 },
+	.vactive      = { 768, 768, 768 },
+	.vfront_porch = { 6, 19, 216 },
+	.vback_porch  = { 6, 19, 216 },
+	.vsync_len    = { 1, 1, 1 },
+	.flags        = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g150xge_l05 = {
+	.timings = &innolux_g150xge_l05_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width  = 304,
+		.height = 228,
+	},
+	.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 innolux_g156hce_l01_timings = {
 	.pixelclock = { 120000000, 141860000, 150000000 },
 	.hactive = { 1920, 1920, 1920 },
@@ -5314,6 +5340,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "innolux,g121xce-l01",
 		.data = &innolux_g121xce_l01,
+	}, {
+		.compatible = "innolux,g150xge-l05",
+		.data = &innolux_g150xge_l05,
 	}, {
 		.compatible = "innolux,g156hce-l01",
 		.data = &innolux_g156hce_l01,
Signature · 1 line
2.34.1
maintainer Reviewed-by on v2 2/2
#2 lore raw

Re: [PATCH v2 2/2] drm/panel: simple: Add Innolux G150XGE-L05 panel entry

Quoted 50 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add support for the Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel.

---
Changes since v1:
- None.

  drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
  1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +26 -0
index 3acc9f3dac16..c606e5932ca7 100644
@@ -2836,6 +2836,32 @@ static const struct panel_desc innolux_g121xce_l01 = {
  	.connector_type = DRM_MODE_CONNECTOR_LVDS,
  };
 
+static const struct display_timing innolux_g150xge_l05_timing = {
+	.pixelclock   = { 53350000, 65000000, 80000000 },
+	.hactive      = { 1024, 1024, 1024 },
+	.hfront_porch = { 58, 160, 288 },
+	.hback_porch  = { 58, 160, 288 },
+	.hsync_len    = { 1, 1, 1 },
+	.vactive      = { 768, 768, 768 },
+	.vfront_porch = { 6, 19, 216 },
+	.vback_porch  = { 6, 19, 216 },
+	.vsync_len    = { 1, 1, 1 },
+	.flags        = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g150xge_l05 = {
+	.timings = &innolux_g150xge_l05_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width  = 304,
+		.height = 228,
+	},
+	.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 innolux_g156hce_l01_timings = {
  	.pixelclock = { 120000000, 141860000, 150000000 },
  	.hactive = { 1920, 1920, 1920 },

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 5348

Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3 -0
@@ -5314,6 +5340,9 @@ static const struct of_device_id platform_of_match[] = {
  	}, {
  		.compatible = "innolux,g121xce-l01",
  		.data = &innolux_g121xce_l01,
+	}, {
+		.compatible = "innolux,g150xge-l05",
+		.data = &innolux_g150xge_l05,
  	}, {
  		.compatible = "innolux,g156hce-l01",
  		.data = &innolux_g156hce_l01,

Thanks,
Neil

maintainer Applied
#4 lore raw
In reply to Fabio Estevam

Hi,

Quoted 3 lines · Fabio Estevam

Add Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel compatible string.

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

[1/2] dt-bindings: display: simple: Add Innolux G150XGE-L05 panel

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/e7ec00be22d6563430f8e7bc44117cbcbf0fc1ee
[2/2] drm/panel: simple: Add Innolux G150XGE-L05 panel entry
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/ed7417e5b889769ef7f66edfd0f836fa812655bc
Signature · 1 line
Neil