Skip to contentSkip to conversation

dt-bindings: Add vendor prefix for Displaytech

PATCH In review Marek Vasut 2 participants 5 messages Jan 30, 2021 – Feb 9, 2021

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

PATCH 1/3 dt-bindings: Add vendor prefix for Displaytech

The Displaytech Ltd. is an LCD panel manufacturer.

To: [email protected]
Cc: Eric Anholt <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[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 2735be1a8470..866295dcb730 100644
@@ -279,6 +279,8 @@ patternProperties:
     description: Diglent, Inc.
   "^dioo,.*":
     description: Dioo Microcircuit Co., Ltd
+  "^displaytech,.*":
+    description: Displaytech Ltd.
   "^dlc,.*":
     description: DLC Display Co., Ltd.
   "^dlg,.*":
Signature · 1 line
2.29.2
#1 lore raw

PATCH 2/3 dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS

Add DT bindings for Displaytech DT050TFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI.

To: [email protected]
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[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 edb53ab0d9eb..a341a30952f9 100644
@@ -101,6 +101,8 @@ properties:
       - chunghwa,claa101wb03
         # DataImage, Inc. 7" WVGA (800x480) TFT LCD panel with 24-bit parallel interface.
       - dataimage,scf0700c48ggu18
+        # Displaytech Ltd. DT050TFT-PTS 5.0" 800 RGB x 480 TFT LCD panel
+      - displaytech,dt050tft-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.29.2
maintainer Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS

Quoted 12 lines · Marek Vasut

Add DT bindings for Displaytech DT050TFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI.

To: [email protected]
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: [email protected]

---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

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

In reply to Marek Vasut

Add support for the Displaytech DT050TFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI.

Timings are taken from the datasheet Rev 0.0.

---
 drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +33 -0
index 204674fccd64..4e31fe04fe49 100644
@@ -1625,6 +1625,36 @@ static const struct panel_desc dataimage_scf0700c48ggu18 = {
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
 };
 
+static const struct display_timing displaytech_dt050tft_pts_timing = {
+	.pixelclock = { 30000000, 40000000, 50000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 1, 40, 255 },
+	.hback_porch = { 88, 88, 88 },
+	.hsync_len = { 1, 48, 255 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 1, 13, 255 },
+	.vback_porch = { 32, 32, 32 },
+	.vsync_len = { 3, 3, 255 },
+	.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_dt050tft_pts = {
+	.timings = &displaytech_dt050tft_pts_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 121,
+		.height = 76,
+	},
+	.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 },
@@ -4015,6 +4045,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "dataimage,scf0700c48ggu18",
 		.data = &dataimage_scf0700c48ggu18,
+	}, {
+		.compatible = "displaytech,dt050tft-pts",
+		.data = &displaytech_dt050tft_pts,
 	}, {
 		.compatible = "dlc,dlc0700yzg-1",
 		.data = &dlc_dlc0700yzg_1,
Signature · 1 line
2.29.2
maintainer Acked-by on v1 1/3
#4 lore raw
In reply to Marek Vasut
Quoted 12 lines · Marek Vasut

The Displaytech Ltd. is an LCD panel manufacturer.

To: [email protected]
Cc: Eric Anholt <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: [email protected]

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel