All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support
@ 2018-05-23  9:25 Marco Felsch
  2018-05-23  9:25 ` [PATCH v3 1/2] dt-bindings: Add vendor prefix for DLC Display Co., Ltd Marco Felsch
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Marco Felsch @ 2018-05-23  9:25 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland; +Cc: devicetree, kernel, dri-devel

This serie adds support for the DLC Display Co. DLC0700YZG-1 7.0" WSVGA
TFT LCD panel. The customer isn't listed as vendor so we have to add the
vendor prefix too.

Philipp Zabel (2):
  dt-bindings: Add vendor prefix for DLC Display Co., Ltd.
  gpu: drm/panel: Add DLC DLC0700YZG-1 panel

 .../display/panel/dlc,dlc0700yzg-1.txt        |  7 ++++
 .../devicetree/bindings/vendor-prefixes.txt   |  1 +
 drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt

-- 
2.17.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add vendor prefix for DLC Display Co., Ltd.
  2018-05-23  9:25 [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
@ 2018-05-23  9:25 ` Marco Felsch
  2018-05-23  9:25 ` [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel Marco Felsch
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Marco Felsch @ 2018-05-23  9:25 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland; +Cc: devicetree, kernel, dri-devel

From: Philipp Zabel <p.zabel@pengutronix.de>

DLC provides a wide range of display solutions.
Website: http://www.dlcdisplay.com/

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index b5f978a4cac6..52de5eed11bf 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -89,6 +89,7 @@ dh	DH electronics GmbH
 digi	Digi International Inc.
 digilent	Diglent, Inc.
 dioo	Dioo Microcircuit Co., Ltd
+dlc	DLC Display Co., Ltd.
 dlg	Dialog Semiconductor
 dlink	D-Link Corporation
 dmo	Data Modul AG
-- 
2.17.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel
  2018-05-23  9:25 [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
  2018-05-23  9:25 ` [PATCH v3 1/2] dt-bindings: Add vendor prefix for DLC Display Co., Ltd Marco Felsch
@ 2018-05-23  9:25 ` Marco Felsch
  2018-05-23 16:24   ` Rob Herring
  2018-06-06 17:38   ` Eric Anholt
  2018-07-06  8:34 ` [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
  2018-07-09 17:29 ` Thierry Reding
  3 siblings, 2 replies; 7+ messages in thread
From: Marco Felsch @ 2018-05-23  9:25 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland; +Cc: devicetree, kernel, dri-devel

From: Philipp Zabel <p.zabel@pengutronix.de>

This patch adds support for DLC DLC0700YZG-1 1024x600 LVDS panels
to the simple-panel driver.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[m.felsch@pengutronix.de: fix typo in compatible dt-binding]
[m.felsch@pengutronix.de: add property bindings]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 .../display/panel/dlc,dlc0700yzg-1.txt        | 13 ++++++++
 drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt

diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt
new file mode 100644
index 000000000000..bf06bb025b08
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt
@@ -0,0 +1,13 @@
+DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel
+
+Required properties:
+- compatible: should be "dlc,dlc0700yzg-1"
+- power-supply: See simple-panel.txt
+
+Optional properties:
+- reset-gpios: See panel-common.txt
+- enable-gpios: See simple-panel.txt
+- backlight: See simple-panel.txt
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index cbf1ab404ee7..a916754b2afa 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -857,6 +857,35 @@ static const struct panel_desc chunghwa_claa101wb01 = {
 	},
 };
 
+static const struct display_timing dlc_dlc0700yzg_1_timing = {
+	.pixelclock = { 45000000, 51200000, 57000000 },
+	.hactive = { 1024, 1024, 1024 },
+	.hfront_porch = { 100, 106, 113 },
+	.hback_porch = { 100, 106, 113 },
+	.hsync_len = { 100, 108, 114 },
+	.vactive = { 600, 600, 600 },
+	.vfront_porch = { 8, 11, 15 },
+	.vback_porch = { 8, 11, 15 },
+	.vsync_len = { 9, 13, 15 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc dlc_dlc0700yzg_1 = {
+	.timings = &dlc_dlc0700yzg_1_timing,
+	.num_timings = 1,
+	.bpc = 6,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.delay = {
+		.prepare = 30,
+		.enable = 200,
+		.disable = 200,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
+};
+
 static const struct drm_display_mode edt_et057090dhu_mode = {
 	.clock = 25175,
 	.hdisplay = 640,
@@ -2124,6 +2153,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "chunghwa,claa101wb01",
 		.data = &chunghwa_claa101wb01
+	}, {
+		.compatible = "dlc,dlc0700yzg-1",
+		.data = &dlc_dlc0700yzg_1,
 	}, {
 		.compatible = "edt,et057090dhu",
 		.data = &edt_et057090dhu,
-- 
2.17.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel
  2018-05-23  9:25 ` [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel Marco Felsch
@ 2018-05-23 16:24   ` Rob Herring
  2018-06-06 17:38   ` Eric Anholt
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring @ 2018-05-23 16:24 UTC (permalink / raw)
  To: Marco Felsch; +Cc: mark.rutland, devicetree, thierry.reding, kernel, dri-devel

On Wed, May 23, 2018 at 11:25:04AM +0200, Marco Felsch wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
> 
> This patch adds support for DLC DLC0700YZG-1 1024x600 LVDS panels
> to the simple-panel driver.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> [m.felsch@pengutronix.de: fix typo in compatible dt-binding]
> [m.felsch@pengutronix.de: add property bindings]
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  .../display/panel/dlc,dlc0700yzg-1.txt        | 13 ++++++++
>  drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
>  2 files changed, 45 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt

Reviewed-by: Rob Herring <robh@kernel.org>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel
  2018-05-23  9:25 ` [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel Marco Felsch
  2018-05-23 16:24   ` Rob Herring
@ 2018-06-06 17:38   ` Eric Anholt
  1 sibling, 0 replies; 7+ messages in thread
From: Eric Anholt @ 2018-06-06 17:38 UTC (permalink / raw)
  To: Marco Felsch, thierry.reding, robh+dt, mark.rutland
  Cc: devicetree, dri-devel, kernel


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

Marco Felsch <m.felsch@pengutronix.de> writes:

> From: Philipp Zabel <p.zabel@pengutronix.de>
>
> This patch adds support for DLC DLC0700YZG-1 1024x600 LVDS panels
> to the simple-panel driver.

Reviewed-by: Eric Anholt <eric@anholt.net>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support
  2018-05-23  9:25 [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
  2018-05-23  9:25 ` [PATCH v3 1/2] dt-bindings: Add vendor prefix for DLC Display Co., Ltd Marco Felsch
  2018-05-23  9:25 ` [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel Marco Felsch
@ 2018-07-06  8:34 ` Marco Felsch
  2018-07-09 17:29 ` Thierry Reding
  3 siblings, 0 replies; 7+ messages in thread
From: Marco Felsch @ 2018-07-06  8:34 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland; +Cc: devicetree, dri-devel, kernel

Hi Thierry,

maybe these two patches got lost. Please, can you have a look on?

Regards,
Marco

On 18-05-23 11:25, Marco Felsch wrote:
> This serie adds support for the DLC Display Co. DLC0700YZG-1 7.0" WSVGA
> TFT LCD panel. The customer isn't listed as vendor so we have to add the
> vendor prefix too.
> 
> Philipp Zabel (2):
>   dt-bindings: Add vendor prefix for DLC Display Co., Ltd.
>   gpu: drm/panel: Add DLC DLC0700YZG-1 panel
> 
>  .../display/panel/dlc,dlc0700yzg-1.txt        |  7 ++++
>  .../devicetree/bindings/vendor-prefixes.txt   |  1 +
>  drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
>  3 files changed, 40 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt
> 
> -- 
> 2.17.0
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support
  2018-05-23  9:25 [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
                   ` (2 preceding siblings ...)
  2018-07-06  8:34 ` [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
@ 2018-07-09 17:29 ` Thierry Reding
  3 siblings, 0 replies; 7+ messages in thread
From: Thierry Reding @ 2018-07-09 17:29 UTC (permalink / raw)
  To: Marco Felsch; +Cc: mark.rutland, devicetree, robh+dt, kernel, dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 729 bytes --]

On Wed, May 23, 2018 at 11:25:02AM +0200, Marco Felsch wrote:
> This serie adds support for the DLC Display Co. DLC0700YZG-1 7.0" WSVGA
> TFT LCD panel. The customer isn't listed as vendor so we have to add the
> vendor prefix too.
> 
> Philipp Zabel (2):
>   dt-bindings: Add vendor prefix for DLC Display Co., Ltd.
>   gpu: drm/panel: Add DLC DLC0700YZG-1 panel
> 
>  .../display/panel/dlc,dlc0700yzg-1.txt        |  7 ++++
>  .../devicetree/bindings/vendor-prefixes.txt   |  1 +
>  drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
>  3 files changed, 40 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt

Applied, thanks.

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-09 17:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23  9:25 [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
2018-05-23  9:25 ` [PATCH v3 1/2] dt-bindings: Add vendor prefix for DLC Display Co., Ltd Marco Felsch
2018-05-23  9:25 ` [PATCH v3 2/2] gpu: drm/panel: Add DLC DLC0700YZG-1 panel Marco Felsch
2018-05-23 16:24   ` Rob Herring
2018-06-06 17:38   ` Eric Anholt
2018-07-06  8:34 ` [PATCH v3 0/2] gpu: drm/panel: Add DLC DLC0700YZG-1 support Marco Felsch
2018-07-09 17:29 ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.