Skip to contentSkip to conversation

drm/panel: simple: Add Startek KD070HDFLD092 LVDS panel support

PATCH Applied Stefan Kerkmann 3 participants 6 messages Apr 7 – May 5

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

cover drm/panel: simple: Add Startek KD070HDFLD092 LVDS panel support

The Startek KD070HDFLD092 is a 7" WSVGA LVDS panel.

---
Stefan Kerkmann (2):
dt-bindings: display: simple: Add Startek KD070HDFLD092 panel drm/panel: simple: Add Startek KD070HDFLD092 LVDS panel support

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

---
base-commit: bfe62a454542cfad3379f6ef5680b125f41e20f4
change-id: 20260407-panel-simple-startek-upstream-7eddd07166c1

Best regards,

Signature · 1 line
Stefan Kerkmann <[email protected]>
#1 lore raw

PATCH 1/2 dt-bindings: display: simple: Add Startek KD070HDFLD092 panel

Add Startek KD070HDFLD092 7" WSVGA LVDS panel compatible.

---
 Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index 868edb04989a5..2a6a41349e5f7 100644
@@ -302,6 +302,8 @@ properties:
       - shelly,sca07010-bfn-lnn
         # Starry KR070PE2T 7" WVGA TFT LCD panel
       - starry,kr070pe2t
+        # Startek KD070HDFLD092 7" WSVGA TFT LCD panel
+      - startek,kd070hdfld092
         # Startek KD070WVFPA043-C069A 7" TFT LCD panel
       - startek,kd070wvfpa
         # Team Source Display Technology TST043015CMHX 4.3" WQVGA TFT LCD panel
Signature · 1 line
2.47.3
#3 lore raw

PATCH 2/2 drm/panel: simple: Add Startek KD070HDFLD092 LVDS panel support

In reply to Stefan Kerkmann

The Startek KD070HDFLD092 is a 7" WSVGA LVDS panel.

---
 drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +29 -0
index 91ab280869bac..737a1014f8112 100644
@@ -4540,6 +4540,32 @@ static const struct panel_desc starry_kr070pe2t = {
 	.connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
+static const struct display_timing startek_kd070hdfld092_timing = {
+	.pixelclock = { 40800000, 51200000, 67200000 },
+	.hactive = { 1024, 1024, 1024 },
+	.hfront_porch = { 40, 160, 216 },
+	.hback_porch = { 30, 140, 140 },
+	.hsync_len = { 20, 20, 20 },
+	.vactive = { 600, 600, 600 },
+	.vfront_porch = { 2, 12, 177 },
+	.vback_porch = { 5, 20, 20 },
+	.vsync_len = { 3, 3, 3 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc startek_kd070hdfld092 = {
+	.timings = &startek_kd070hdfld092_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.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 startek_kd070wvfpa_mode = {
 	.pixelclock = { 25200000, 27200000, 30500000 },
 	.hactive = { 800, 800, 800 },
@@ -5532,6 +5558,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "starry,kr070pe2t",
 		.data = &starry_kr070pe2t,
+	}, {
+		.compatible = "startek,kd070hdfld092",
+		.data = &startek_kd070hdfld092,
 	}, {
 		.compatible = "startek,kd070wvfpa",
 		.data = &startek_kd070wvfpa,
Signature · 1 line
2.47.3
maintainer Reviewed-by on v1 2/2
#4 lore raw
Quoted 46 lines · Stefan Kerkmann

The Startek KD070HDFLD092 is a 7" WSVGA LVDS panel.

---
  drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++++++++++++++++++++
  1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +26 -0
index 91ab280869bac..737a1014f8112 100644
@@ -4540,6 +4540,32 @@ static const struct panel_desc starry_kr070pe2t = {
  	.connector_type = DRM_MODE_CONNECTOR_DPI,
  };
 
+static const struct display_timing startek_kd070hdfld092_timing = {
+	.pixelclock = { 40800000, 51200000, 67200000 },
+	.hactive = { 1024, 1024, 1024 },
+	.hfront_porch = { 40, 160, 216 },
+	.hback_porch = { 30, 140, 140 },
+	.hsync_len = { 20, 20, 20 },
+	.vactive = { 600, 600, 600 },
+	.vfront_porch = { 2, 12, 177 },
+	.vback_porch = { 5, 20, 20 },
+	.vsync_len = { 3, 3, 3 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc startek_kd070hdfld092 = {
+	.timings = &startek_kd070hdfld092_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.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 startek_kd070wvfpa_mode = {
  	.pixelclock = { 25200000, 27200000, 30500000 },
  	.hactive = { 800, 800, 800 },

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

Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3 -0
@@ -5532,6 +5558,9 @@ static const struct of_device_id platform_of_match[] = {
  	}, {
  		.compatible = "starry,kr070pe2t",
  		.data = &starry_kr070pe2t,
+	}, {
+		.compatible = "startek,kd070hdfld092",
+		.data = &startek_kd070hdfld092,
  	}, {
  		.compatible = "startek,kd070wvfpa",
  		.data = &startek_kd070wvfpa,

Thanks,
Neil

maintainer Applied
#5 lore raw
In reply to Stefan Kerkmann

Hi,

Quoted 1 line · Stefan Kerkmann

The Startek KD070HDFLD092 is a 7" WSVGA LVDS panel.

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

[1/2] dt-bindings: display: simple: Add Startek KD070HDFLD092 panel

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/9252742eeb74853cdcb7972eb2aa39fa6385752c
[2/2] drm/panel: simple: Add Startek KD070HDFLD092 LVDS panel support
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/247e7480c13e77079b71e783c478fc7027974161
Signature · 1 line
Neil