dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/panel: simple: Add support for Evervision VGG804821
@ 2019-04-16 10:06 Marco Felsch
  2019-04-16 10:06 ` [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics Marco Felsch
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Marco Felsch @ 2019-04-16 10:06 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland, sam; +Cc: devicetree, kernel, dri-devel

Hi,

This small series adds the support for the Evervision VGG804821 panels.
The patches are rebased ontop of the current drm_misc/drm-misc-next.


Marco Felsch (3):
  dt-bindings: add vendor prefix for Evervision Electronics
  dt-bindings: drm/panel: simple: add Evervision VGG804821
  drm/panel: simple: Add Evervision VGG804821 panel support

 .../display/panel/evervision,vgg804821.txt    | 12 ++++++++
 .../devicetree/bindings/vendor-prefixes.txt   |  1 +
 drivers/gpu/drm/panel/panel-simple.c          | 30 +++++++++++++++++++
 3 files changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt

-- 
2.20.1

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

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

* [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics
  2019-04-16 10:06 [PATCH v2 0/3] drm/panel: simple: Add support for Evervision VGG804821 Marco Felsch
@ 2019-04-16 10:06 ` Marco Felsch
  2019-04-23 12:26   ` Thierry Reding
  2019-04-16 10:06 ` [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821 Marco Felsch
  2019-04-16 10:06 ` [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support Marco Felsch
  2 siblings, 1 reply; 9+ messages in thread
From: Marco Felsch @ 2019-04-16 10:06 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland, sam; +Cc: devicetree, kernel, dri-devel

Evervision Electronics is a panel manufacturer from Taipei.
http://www.evervisionlcd.com/index.php?lang=en

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 9506140167d6..a45a3c758cae 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -132,6 +132,7 @@ ettus	NI Ettus Research
 eukrea  Eukréa Electromatique
 everest	Everest Semiconductor Co. Ltd.
 everspin	Everspin Technologies, Inc.
+evervision	Evervision Electronics Co. Ltd.
 exar	Exar Corporation
 excito	Excito
 ezchip	EZchip Semiconductor
-- 
2.20.1

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

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

* [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821
  2019-04-16 10:06 [PATCH v2 0/3] drm/panel: simple: Add support for Evervision VGG804821 Marco Felsch
  2019-04-16 10:06 ` [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics Marco Felsch
@ 2019-04-16 10:06 ` Marco Felsch
  2019-04-23 12:25   ` Thierry Reding
  2019-04-16 10:06 ` [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support Marco Felsch
  2 siblings, 1 reply; 9+ messages in thread
From: Marco Felsch @ 2019-04-16 10:06 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland, sam; +Cc: devicetree, kernel, dri-devel

Add support for the Evervision VG804821 800x480 5.0" LCD TFT parallel
panel to DRM simple panel driver.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 .../bindings/display/panel/evervision,vgg804821.txt  | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt

diff --git a/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt b/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt
new file mode 100644
index 000000000000..82d22e191ac3
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt
@@ -0,0 +1,12 @@
+Evervision Electronics Co. Ltd. VGG804821 5.0" WVGA TFT LCD Panel
+
+Required properties:
+- compatible: should be "evervision,vgg804821"
+- power-supply: See simple-panel.txt
+
+Optional properties:
+- backlight: See simple-panel.txt
+- enable-gpios: See simple-panel.txt
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
-- 
2.20.1

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

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

* [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support
  2019-04-16 10:06 [PATCH v2 0/3] drm/panel: simple: Add support for Evervision VGG804821 Marco Felsch
  2019-04-16 10:06 ` [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics Marco Felsch
  2019-04-16 10:06 ` [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821 Marco Felsch
@ 2019-04-16 10:06 ` Marco Felsch
  2019-04-23 12:26   ` Thierry Reding
  2 siblings, 1 reply; 9+ messages in thread
From: Marco Felsch @ 2019-04-16 10:06 UTC (permalink / raw)
  To: thierry.reding, robh+dt, mark.rutland, sam; +Cc: devicetree, kernel, dri-devel

Add support the Evervision VGG804821 800x480 5.0" WVGA TFT panel.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
v2:
- pixel data should be driven on neg. edge since the panel applies
  the data on positiv edge.

 drivers/gpu/drm/panel/panel-simple.c | 30 ++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 8fee7a8b29d9..1a65b78f8bb8 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1160,6 +1160,33 @@ static const struct panel_desc edt_etm0700g0bdh6 = {
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
 };
 
+static const struct display_timing evervision_vgg804821_timing = {
+	.pixelclock = { 27600000, 33300000, 50000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 40, 66, 70 },
+	.hback_porch = { 40, 67, 70 },
+	.hsync_len = { 40, 67, 70 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 6, 10, 10 },
+	.vback_porch = { 7, 11, 11 },
+	.vsync_len = { 7, 11, 11 },
+	.flags = DISPLAY_FLAGS_HSYNC_HIGH | DISPLAY_FLAGS_VSYNC_HIGH |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_NEGEDGE |
+		 DISPLAY_FLAGS_SYNC_NEGEDGE,
+};
+
+static const struct panel_desc evervision_vgg804821 = {
+	.timings = &evervision_vgg804821_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 108,
+		.height = 64,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_NEGEDGE,
+};
+
 static const struct drm_display_mode foxlink_fl500wvr00_a0t_mode = {
 	.clock = 32260,
 	.hdisplay = 800,
@@ -2660,6 +2687,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "edt,etm0700g0edh6",
 		.data = &edt_etm0700g0bdh6,
+	}, {
+		.compatible = "evervision,vgg804821",
+		.data = &evervision_vgg804821,
 	}, {
 		.compatible = "foxlink,fl500wvr00-a0t",
 		.data = &foxlink_fl500wvr00_a0t,
-- 
2.20.1

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

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

* Re: [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821
  2019-04-16 10:06 ` [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821 Marco Felsch
@ 2019-04-23 12:25   ` Thierry Reding
  0 siblings, 0 replies; 9+ messages in thread
From: Thierry Reding @ 2019-04-23 12:25 UTC (permalink / raw)
  To: Marco Felsch; +Cc: mark.rutland, devicetree, dri-devel, robh+dt, kernel, sam


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

On Tue, Apr 16, 2019 at 12:06:44PM +0200, Marco Felsch wrote:
> Add support for the Evervision VG804821 800x480 5.0" LCD TFT parallel
> panel to DRM simple panel driver.
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/display/panel/evervision,vgg804821.txt  | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt

Applied, and fixed up the commit message because that's no longer
accurate.

Thierry

> 
> diff --git a/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt b/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt
> new file mode 100644
> index 000000000000..82d22e191ac3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/evervision,vgg804821.txt
> @@ -0,0 +1,12 @@
> +Evervision Electronics Co. Ltd. VGG804821 5.0" WVGA TFT LCD Panel
> +
> +Required properties:
> +- compatible: should be "evervision,vgg804821"
> +- power-supply: See simple-panel.txt
> +
> +Optional properties:
> +- backlight: See simple-panel.txt
> +- enable-gpios: See simple-panel.txt
> +
> +This binding is compatible with the simple-panel binding, which is specified
> +in simple-panel.txt in this directory.
> -- 
> 2.20.1
> 

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

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

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

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

* Re: [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics
  2019-04-16 10:06 ` [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics Marco Felsch
@ 2019-04-23 12:26   ` Thierry Reding
  2019-05-17  2:38     ` Rob Herring
  0 siblings, 1 reply; 9+ messages in thread
From: Thierry Reding @ 2019-04-23 12:26 UTC (permalink / raw)
  To: Marco Felsch; +Cc: mark.rutland, devicetree, dri-devel, robh+dt, kernel, sam


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

On Tue, Apr 16, 2019 at 12:06:43PM +0200, Marco Felsch wrote:
> Evervision Electronics is a panel manufacturer from Taipei.
> http://www.evervisionlcd.com/index.php?lang=en
> 
> 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(+)

Applied, thanks.

Thierry

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

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

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

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

* Re: [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support
  2019-04-16 10:06 ` [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support Marco Felsch
@ 2019-04-23 12:26   ` Thierry Reding
  0 siblings, 0 replies; 9+ messages in thread
From: Thierry Reding @ 2019-04-23 12:26 UTC (permalink / raw)
  To: Marco Felsch; +Cc: mark.rutland, devicetree, dri-devel, robh+dt, kernel, sam


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

On Tue, Apr 16, 2019 at 12:06:45PM +0200, Marco Felsch wrote:
> Add support the Evervision VGG804821 800x480 5.0" WVGA TFT panel.
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> v2:
> - pixel data should be driven on neg. edge since the panel applies
>   the data on positiv edge.
> 
>  drivers/gpu/drm/panel/panel-simple.c | 30 ++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Applied, thanks.

Thierry

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

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

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

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

* Re: [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics
  2019-04-23 12:26   ` Thierry Reding
@ 2019-05-17  2:38     ` Rob Herring
  2019-05-17  8:37       ` Marco Felsch
  0 siblings, 1 reply; 9+ messages in thread
From: Rob Herring @ 2019-05-17  2:38 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Mark Rutland, devicetree, Marco Felsch, dri-devel, Sascha Hauer,
	Sam Ravnborg

On Tue, Apr 23, 2019 at 7:26 AM Thierry Reding <thierry.reding@gmail.com> wrote:
>
> On Tue, Apr 16, 2019 at 12:06:43PM +0200, Marco Felsch wrote:
> > Evervision Electronics is a panel manufacturer from Taipei.
> > http://www.evervisionlcd.com/index.php?lang=en
> >
> > 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(+)
>
> Applied, thanks.

I've converted this file to json-schema as of v5.2-rc1. See commit
8122de54602e. Applied, but doesn't seem to be in linux-next?

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

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

* Re: [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics
  2019-05-17  2:38     ` Rob Herring
@ 2019-05-17  8:37       ` Marco Felsch
  0 siblings, 0 replies; 9+ messages in thread
From: Marco Felsch @ 2019-05-17  8:37 UTC (permalink / raw)
  To: Rob Herring
  Cc: Mark Rutland, devicetree, dri-devel, Thierry Reding,
	Sascha Hauer, Sam Ravnborg

On 19-05-16 21:38, Rob Herring wrote:
> On Tue, Apr 23, 2019 at 7:26 AM Thierry Reding <thierry.reding@gmail.com> wrote:
> >
> > On Tue, Apr 16, 2019 at 12:06:43PM +0200, Marco Felsch wrote:
> > > Evervision Electronics is a panel manufacturer from Taipei.
> > > http://www.evervisionlcd.com/index.php?lang=en
> > >
> > > 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(+)
> >
> > Applied, thanks.
> 
> I've converted this file to json-schema as of v5.2-rc1. See commit
> 8122de54602e. Applied, but doesn't seem to be in linux-next?
> 
> Rob

I tought this patch was already applied?

Regards,
  Marco

-- 
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] 9+ messages in thread

end of thread, other threads:[~2019-05-17  8:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 10:06 [PATCH v2 0/3] drm/panel: simple: Add support for Evervision VGG804821 Marco Felsch
2019-04-16 10:06 ` [PATCH v2 1/3] dt-bindings: add vendor prefix for Evervision Electronics Marco Felsch
2019-04-23 12:26   ` Thierry Reding
2019-05-17  2:38     ` Rob Herring
2019-05-17  8:37       ` Marco Felsch
2019-04-16 10:06 ` [PATCH v2 2/3] dt-bindings: drm/panel: simple: add Evervision VGG804821 Marco Felsch
2019-04-23 12:25   ` Thierry Reding
2019-04-16 10:06 ` [PATCH v2 3/3] drm/panel: simple: Add Evervision VGG804821 panel support Marco Felsch
2019-04-23 12:26   ` Thierry Reding

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).