All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01
@ 2018-06-04 11:16 Christoph Fritz
  2018-06-12 20:59 ` Rob Herring
  2018-07-10 10:16 ` Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Fritz @ 2018-06-04 11:16 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: David Airlie, devicetree, dri-devel

This patch adds support for Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD
panel.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 .../bindings/display/panel/innolux,g070y2-l01.txt  | 12 +++++++
 drivers/gpu/drm/panel/panel-simple.c               | 37 ++++++++++++++++++++--
 2 files changed, 47 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.txt

diff --git a/Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.txt b/Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.txt
new file mode 100644
index 0000000..7c234cf
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.txt
@@ -0,0 +1,12 @@
+Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel
+
+Required properties:
+- compatible: should be "innolux,g070y2-l01"
+- power-supply: as specified in the base binding
+
+Optional properties:
+- backlight: as specified in the base binding
+- enable-gpios: as specified in the base binding
+
+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 cbf1ab4..c030ab2 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1086,6 +1086,36 @@ static const struct panel_desc innolux_at070tn92 = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 };
 
+static const struct display_timing innolux_g070y2_l01_timing = {
+	.pixelclock = { 28000000, 29500000, 32000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 61, 91, 141 },
+	.hback_porch = { 60, 90, 140 },
+	.hsync_len = { 12, 12, 12 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 4, 9, 30 },
+	.vback_porch = { 4, 8, 28 },
+	.vsync_len = { 2, 2, 2 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g070y2_l01 = {
+	.timings = &innolux_g070y2_l01_timing,
+	.num_timings = 1,
+	.bpc = 6,
+	.size = {
+		.width = 152,
+		.height = 91,
+	},
+	.delay = {
+		.prepare = 10,
+		.enable = 100,
+		.disable = 100,
+		.unprepare = 800,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+};
+
 static const struct display_timing innolux_g101ice_l01_timing = {
 	.pixelclock = { 60400000, 71100000, 74700000 },
 	.hactive = { 1280, 1280, 1280 },
@@ -2155,10 +2185,13 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "innolux,at070tn92",
 		.data = &innolux_at070tn92,
 	}, {
-		.compatible ="innolux,g101ice-l01",
+		.compatible = "innolux,g070y2-l01",
+		.data = &innolux_g070y2_l01,
+	}, {
+		.compatible = "innolux,g101ice-l01",
 		.data = &innolux_g101ice_l01
 	}, {
-		.compatible ="innolux,g121i1-l01",
+		.compatible = "innolux,g121i1-l01",
 		.data = &innolux_g121i1_l01
 	}, {
 		.compatible = "innolux,g121x1-l03",
-- 
2.1.4

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

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

* Re: [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01
  2018-06-04 11:16 [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01 Christoph Fritz
@ 2018-06-12 20:59 ` Rob Herring
  2018-06-23 19:24   ` Christoph Fritz
  2018-07-10 10:16 ` Thierry Reding
  1 sibling, 1 reply; 4+ messages in thread
From: Rob Herring @ 2018-06-12 20:59 UTC (permalink / raw)
  To: Christoph Fritz; +Cc: David Airlie, devicetree, Thierry Reding, dri-devel

On Mon, Jun 04, 2018 at 01:16:48PM +0200, Christoph Fritz wrote:
> This patch adds support for Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD
> panel.
> 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
>  .../bindings/display/panel/innolux,g070y2-l01.txt  | 12 +++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 37 ++++++++++++++++++++--
>  2 files changed, 47 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.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] 4+ messages in thread

* Re: [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01
  2018-06-12 20:59 ` Rob Herring
@ 2018-06-23 19:24   ` Christoph Fritz
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Fritz @ 2018-06-23 19:24 UTC (permalink / raw)
  To: Thierry Reding; +Cc: David Airlie, devicetree, dri-devel

Hi Thierry

On Tue, 2018-06-12 at 14:59 -0600, Rob Herring wrote:
> On Mon, Jun 04, 2018 at 01:16:48PM +0200, Christoph Fritz wrote:
> > This patch adds support for Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD
> > panel.
> > 
> > Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> > ---
> >  .../bindings/display/panel/innolux,g070y2-l01.txt  | 12 +++++++
> >  drivers/gpu/drm/panel/panel-simple.c               | 37 ++++++++++++++++++++--
> >  2 files changed, 47 insertions(+), 2 deletions(-)
> >  create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.txt
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

any chance to get this patch queued?

Thanks
 -- Christoph

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

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

* Re: [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01
  2018-06-04 11:16 [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01 Christoph Fritz
  2018-06-12 20:59 ` Rob Herring
@ 2018-07-10 10:16 ` Thierry Reding
  1 sibling, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2018-07-10 10:16 UTC (permalink / raw)
  To: Christoph Fritz; +Cc: David Airlie, dri-devel, devicetree


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

On Mon, Jun 04, 2018 at 01:16:48PM +0200, Christoph Fritz wrote:
> This patch adds support for Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD
> panel.
> 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
>  .../bindings/display/panel/innolux,g070y2-l01.txt  | 12 +++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 37 ++++++++++++++++++++--
>  2 files changed, 47 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g070y2-l01.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] 4+ messages in thread

end of thread, other threads:[~2018-07-10 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 11:16 [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01 Christoph Fritz
2018-06-12 20:59 ` Rob Herring
2018-06-23 19:24   ` Christoph Fritz
2018-07-10 10:16 ` 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.