* [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech
@ 2021-01-30 18:11 Marek Vasut
2021-01-30 18:11 ` [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS Marek Vasut
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Marek Vasut @ 2021-01-30 18:11 UTC (permalink / raw)
To: dri-devel; +Cc: Marek Vasut, Eric Anholt, Rob Herring, Sam Ravnborg, devicetree
The Displaytech Ltd. is an LCD panel manufacturer.
Signed-off-by: Marek Vasut <marex@denx.de>
To: dri-devel@lists.freedesktop.org
Cc: Eric Anholt <eric@anholt.net>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: devicetree@vger.kernel.org
---
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 2735be1a8470..866295dcb730 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -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,.*":
--
2.29.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS 2021-01-30 18:11 [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Marek Vasut @ 2021-01-30 18:11 ` Marek Vasut 2021-02-09 20:36 ` Rob Herring 2021-01-30 18:11 ` [PATCH 3/3] drm/panel: simple: Add Displaytech DT050TFT-PTS panel Marek Vasut 2021-02-09 20:36 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Rob Herring 2 siblings, 1 reply; 5+ messages in thread From: Marek Vasut @ 2021-01-30 18:11 UTC (permalink / raw) To: dri-devel; +Cc: Marek Vasut, Rob Herring, Sam Ravnborg, devicetree Add DT bindings for Displaytech DT050TFT-PTS 5.0" (800x480) color TFT LCD panel, connected over DPI. Signed-off-by: Marek Vasut <marex@denx.de> To: dri-devel@lists.freedesktop.org Cc: Rob Herring <robh+dt@kernel.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: devicetree@vger.kernel.org --- .../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 edb53ab0d9eb..a341a30952f9 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -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 -- 2.29.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS 2021-01-30 18:11 ` [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS Marek Vasut @ 2021-02-09 20:36 ` Rob Herring 0 siblings, 0 replies; 5+ messages in thread From: Rob Herring @ 2021-02-09 20:36 UTC (permalink / raw) To: Marek Vasut; +Cc: dri-devel, Rob Herring, devicetree, Sam Ravnborg On Sat, 30 Jan 2021 19:11:13 +0100, Marek Vasut wrote: > Add DT bindings for Displaytech DT050TFT-PTS 5.0" (800x480) > color TFT LCD panel, connected over DPI. > > Signed-off-by: Marek Vasut <marex@denx.de> > To: dri-devel@lists.freedesktop.org > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: devicetree@vger.kernel.org > --- > .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/3] drm/panel: simple: Add Displaytech DT050TFT-PTS panel 2021-01-30 18:11 [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Marek Vasut 2021-01-30 18:11 ` [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS Marek Vasut @ 2021-01-30 18:11 ` Marek Vasut 2021-02-09 20:36 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Rob Herring 2 siblings, 0 replies; 5+ messages in thread From: Marek Vasut @ 2021-01-30 18:11 UTC (permalink / raw) To: dri-devel; +Cc: Marek Vasut, Rob Herring, Sam Ravnborg, devicetree 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. Signed-off-by: Marek Vasut <marex@denx.de> Cc: dri-devel@lists.freedesktop.org Cc: Rob Herring <robh+dt@kernel.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: devicetree@vger.kernel.org --- 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 204674fccd64..4e31fe04fe49 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -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, -- 2.29.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech 2021-01-30 18:11 [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Marek Vasut 2021-01-30 18:11 ` [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS Marek Vasut 2021-01-30 18:11 ` [PATCH 3/3] drm/panel: simple: Add Displaytech DT050TFT-PTS panel Marek Vasut @ 2021-02-09 20:36 ` Rob Herring 2 siblings, 0 replies; 5+ messages in thread From: Rob Herring @ 2021-02-09 20:36 UTC (permalink / raw) To: Marek Vasut; +Cc: Sam Ravnborg, dri-devel, devicetree, Eric Anholt, Rob Herring On Sat, 30 Jan 2021 19:11:12 +0100, Marek Vasut wrote: > The Displaytech Ltd. is an LCD panel manufacturer. > > Signed-off-by: Marek Vasut <marex@denx.de> > To: dri-devel@lists.freedesktop.org > Cc: Eric Anholt <eric@anholt.net> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: devicetree@vger.kernel.org > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-09 20:44 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-01-30 18:11 [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Marek Vasut 2021-01-30 18:11 ` [PATCH 2/3] dt-bindings: Add DT bindings for Displaytech DT050TFT-PTS Marek Vasut 2021-02-09 20:36 ` Rob Herring 2021-01-30 18:11 ` [PATCH 3/3] drm/panel: simple: Add Displaytech DT050TFT-PTS panel Marek Vasut 2021-02-09 20:36 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Displaytech Rob Herring
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).