Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Add Displaytech Ltd.

PATCH Applied Marek Vasut 3 participants 9 messages Apr 22 – Jun 5

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

PATCH 1/3 dt-bindings: vendor-prefixes: Add Displaytech Ltd.

Add "displaytech" vendor prefix for Displaytech Ltd. .

---
Cc: "Kael D'Alcamo" <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 28784d66ae7ba..11c55b5df0e4c 100644
@@ -437,6 +437,8 @@ patternProperties:
     description: Diodes, Inc.
   "^dioo,.*":
     description: Dioo Microcircuit Co., Ltd
+  "^displaytech,.*":
+    description: Displaytech Ltd.
   "^djn,.*":
     description: Shenzhen DJN Optronics Technology Co., Ltd
   "^dlc,.*":
Signature · 1 line
2.53.0
#1 lore raw

PATCH 2/3 dt-bindings: display: simple: Document Displaytech DT050BTFT-PTS panel

Document the Displaytech DT050BTFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. The datasheet from 16 Nov 2023 is available from Seacomp:

https://www.seacomp.com/sites/default/files/datasheets/DT050BTFT-Displaytech-Spec.pdf

---
Cc: "Kael D'Alcamo" <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index 3e41ed0ef5d51..9c2faeb47b812 100644
@@ -97,6 +97,8 @@ properties:
       - dataimage,fg1001l0dsswmg01
         # DataImage, Inc. 7" WVGA (800x480) TFT LCD panel with 24-bit parallel interface.
       - dataimage,scf0700c48ggu18
+        # Displaytech DT050BTFT-PTS 5.0" 800x480 TFT LCD Panel
+      - displaytech,dt050btft-pts
         # DLC Display Co. DLC1010GIG 10.1" WXGA TFT LCD Panel
       - dlc,dlc1010gig
         # Emerging Display Technology Corp. 3.5" QVGA TFT LCD panel
Signature · 1 line
2.53.0
Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] dt-bindings: display: simple: Document Displaytech DT050BTFT-PTS panel

Quoted 7 lines · Marek Vasut

Document the Displaytech DT050BTFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. The datasheet from 16 Nov 2023 is available from Seacomp:

https://www.seacomp.com/sites/default/files/datasheets/DT050BTFT-Displaytech-Spec.pdf

Best regards,
Krzysztof

#3 lore raw

PATCH 3/3 drm/panel: simple: Add Displaytech DT050BTFT-PTS panel

In reply to Marek Vasut

Add support for the Displaytech DT050BTFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. Timings are taken from the datasheet from 16 Nov 2023 is available from Seacomp:

https://www.seacomp.com/sites/default/files/datasheets/DT050BTFT-Displaytech-Spec.pdf

---
Cc: "Kael D'Alcamo" <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 drivers/gpu/drm/panel/panel-simple.c | 36 ++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +36 -0
index 236bd56208ccf..9f4c907ae044e 100644
@@ -1902,6 +1902,39 @@ static const struct panel_desc dataimage_scf0700c48ggu18 = {
 	.connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
+static const struct display_timing displaytech_dt050btft_pts_timing = {
+	/* The TYP pixel clock are recalculated from tV * tH * 60 Hz */
+	.pixelclock = { 30000000, 33264000, 50000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	/* Datasheet Figure 3 indicates, that tHPW is part of tHBP */
+	.hback_porch = { 41, 26, 6 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	/* Datasheet Figure 2 indicates, that tVPW is part of tVBP */
+	.vback_porch = { 22, 13, 3 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc displaytech_dt050btft_pts = {
+	.timings = &displaytech_dt050btft_pts_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 108,
+		.height = 65,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
 static const struct display_timing dlc_dlc0700yzg_1_timing = {
 	.pixelclock = { 45000000, 51200000, 57000000 },
 	.hactive = { 1024, 1024, 1024 },
@@ -5319,6 +5352,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "dataimage,scf0700c48ggu18",
 		.data = &dataimage_scf0700c48ggu18,
+	}, {
+		.compatible = "displaytech,dt050btft-pts",
+		.data = &displaytech_dt050btft_pts,
 	}, {
 		.compatible = "dlc,dlc0700yzg-1",
 		.data = &dlc_dlc0700yzg_1,
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 3/3
#4 lore raw

Re: [PATCH 3/3] drm/panel: simple: Add Displaytech DT050BTFT-PTS panel

Quoted 75 lines · Marek Vasut

Add support for the Displaytech DT050BTFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. Timings are taken from the datasheet from 16 Nov 2023 is available from Seacomp:

https://www.seacomp.com/sites/default/files/datasheets/DT050BTFT-Displaytech-Spec.pdf

---
Cc: "Kael D'Alcamo" <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
  drivers/gpu/drm/panel/panel-simple.c | 36 ++++++++++++++++++++++++++++
  1 file changed, 36 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +33 -0
index 236bd56208ccf..9f4c907ae044e 100644
@@ -1902,6 +1902,39 @@ static const struct panel_desc dataimage_scf0700c48ggu18 = {
  	.connector_type = DRM_MODE_CONNECTOR_DPI,
  };
 
+static const struct display_timing displaytech_dt050btft_pts_timing = {
+	/* The TYP pixel clock are recalculated from tV * tH * 60 Hz */
+	.pixelclock = { 30000000, 33264000, 50000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	/* Datasheet Figure 3 indicates, that tHPW is part of tHBP */
+	.hback_porch = { 41, 26, 6 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	/* Datasheet Figure 2 indicates, that tVPW is part of tVBP */
+	.vback_porch = { 22, 13, 3 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc displaytech_dt050btft_pts = {
+	.timings = &displaytech_dt050btft_pts_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 108,
+		.height = 65,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
  static const struct display_timing dlc_dlc0700yzg_1_timing = {
  	.pixelclock = { 45000000, 51200000, 57000000 },
  	.hactive = { 1024, 1024, 1024 },

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

Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3 -0
@@ -5319,6 +5352,9 @@ static const struct of_device_id platform_of_match[] = {
  	}, {
  		.compatible = "dataimage,scf0700c48ggu18",
  		.data = &dataimage_scf0700c48ggu18,
+	}, {
+		.compatible = "displaytech,dt050btft-pts",
+		.data = &displaytech_dt050btft_pts,
  	}, {
  		.compatible = "dlc,dlc0700yzg-1",
  		.data = &dlc_dlc0700yzg_1,

Thanks,
Neil

#5 lore raw

Re: [PATCH 3/3] drm/panel: simple: Add Displaytech DT050BTFT-PTS panel

Quoted 80 lines · Neil Armstrong
Quoted 79 lines · Marek Vasut

Add support for the Displaytech DT050BTFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. Timings are taken from the datasheet from 16 Nov 2023 is available from Seacomp:

https://www.seacomp.com/sites/default/files/datasheets/DT050BTFT- Displaytech-Spec.pdf

---
Cc: "Kael D'Alcamo" <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
  drivers/gpu/drm/panel/panel-simple.c | 36 ++++++++++++++++++++++++++++

  1 file changed, 36 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +33 -0
index 236bd56208ccf..9f4c907ae044e 100644
@@ -1902,6 +1902,39 @@ static const struct panel_desc 
 dataimage_scf0700c48ggu18 = {
       .connector_type = DRM_MODE_CONNECTOR_DPI,
   };
+static const struct display_timing displaytech_dt050btft_pts_timing = {
+    /* The TYP pixel clock are recalculated from tV * tH * 60 Hz */
+    .pixelclock = { 30000000, 33264000, 50000000 },
+    .hactive = { 800, 800, 800 },
+    .hfront_porch = { 16, 210, 354 },
+    /* Datasheet Figure 3 indicates, that tHPW is part of tHBP */
+    .hback_porch = { 41, 26, 6 },
+    .hsync_len = { 1, 20, 40 },
+    .vactive = { 480, 480, 480 },
+    .vfront_porch = { 7, 22, 147 },
+    /* Datasheet Figure 2 indicates, that tVPW is part of tVBP */
+    .vback_porch = { 22, 13, 3 },
+    .vsync_len = { 1, 10, 20 },
+    .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+         DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+         DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc displaytech_dt050btft_pts = {
+    .timings = &displaytech_dt050btft_pts_timing,
+    .num_timings = 1,
+    .bpc = 8,
+    .size = {
+        .width = 108,
+        .height = 65,
+    },
+    .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+    .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+             DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+             DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+    .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
   static const struct display_timing dlc_dlc0700yzg_1_timing = {
       .pixelclock = { 45000000, 51200000, 57000000 },
       .hactive = { 1024, 1024, 1024 },
@@ -5319,6 +5352,9 @@ static const struct of_device_id 
 platform_of_match[] = {
       }, {
           .compatible = "dataimage,scf0700c48ggu18",
           .data = &dataimage_scf0700c48ggu18,
Quoted 8 lines
Quoted 6 lines
drivers/gpu/drm/panel/panel-simple.c +3 -0
+    }, {
+        .compatible = "displaytech,dt050btft-pts",
+        .data = &displaytech_dt050btft_pts,
       }, {
           .compatible = "dlc,dlc0700yzg-1",

          .data = &dlc_dlc0700yzg_1,

Is it OK to apply those patches now ?

Thank you

maintainer Applied
#7 lore raw
In reply to Marek Vasut

Hi,

Quoted 1 line · Marek Vasut

Add "displaytech" vendor prefix for Displaytech Ltd. .

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

[1/3] dt-bindings: vendor-prefixes: Add Displaytech Ltd.

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/42112cff8cb78ff6120983ba71bd14d52ce9dccd
[2/3] dt-bindings: display: simple: Document Displaytech DT050BTFT-PTS panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/852345e0a9f3b5fd9b1ff59dc5bafc14c81283e5
[3/3] drm/panel: simple: Add Displaytech DT050BTFT-PTS panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/b70c6922072f20898d5d0ec7931afd2384e567e5
Signature · 1 line
Neil
maintainer Applied
#8 lore raw
In reply to Marek Vasut

Hi,

Quoted 1 line · Marek Vasut

Add "displaytech" vendor prefix for Displaytech Ltd. .

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

[1/3] dt-bindings: vendor-prefixes: Add Displaytech Ltd.

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f917fc75dc63b4994c913a379929b0a8c242f4e9
[2/3] dt-bindings: display: simple: Document Displaytech DT050BTFT-PTS panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f917fc75dc63b4994c913a379929b0a8c242f4e9
[3/3] drm/panel: simple: Add Displaytech DT050BTFT-PTS panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f917fc75dc63b4994c913a379929b0a8c242f4e9
Signature · 1 line
Neil