* [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel
@ 2016-08-15 12:32 Lucas Stach
2016-09-16 9:23 ` Lucas Stach
2016-09-16 15:07 ` Thierry Reding
0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2016-08-15 12:32 UTC (permalink / raw)
To: Thierry Reding; +Cc: kernel, dri-devel, patchwork-lst
From: Michael Olbrich <m.olbrich@pengutronix.de>
This patch adds support for Innolux Corporation 10.1" G101ICE-L01 WXGA
(1280x800) LVDS panel to the simple-panel driver.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
.../bindings/display/panel/innolux,g101ice-l01.txt | 7 +++++
drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
diff --git a/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt b/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
new file mode 100644
index 000000000000..9e7590465227
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
@@ -0,0 +1,7 @@
+Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel
+
+Required properties:
+- compatible: should be "innolux,g101ice-l01"
+
+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 85143d1b9b31..fb52fee28f6c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -849,6 +849,34 @@ static const struct panel_desc innolux_at070tn92 = {
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
};
+static const struct display_timing innolux_g101ice_l01_timing = {
+ .pixelclock = { 60400000, 71100000, 74700000 },
+ .hactive = { 1280, 1280, 1280 },
+ .hfront_porch = { 41, 80, 100 },
+ .hback_porch = { 40, 79, 99 },
+ .hsync_len = { 1, 1, 1 },
+ .vactive = { 800, 800, 800 },
+ .vfront_porch = { 5, 11, 14 },
+ .vback_porch = { 4, 11, 14 },
+ .vsync_len = { 1, 1, 1 },
+ .flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g101ice_l01 = {
+ .timings = &innolux_g101ice_l01_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 217,
+ .height = 135,
+ },
+ .delay = {
+ .enable = 200,
+ .disable = 200,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+};
+
static const struct drm_display_mode innolux_g121i1_l01_mode = {
.clock = 71000,
.hdisplay = 1280,
@@ -1575,6 +1603,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "innolux,at070tn92",
.data = &innolux_at070tn92,
}, {
+ .compatible ="innolux,g101ice-l01",
+ .data = &innolux_g101ice_l01
+ }, {
.compatible ="innolux,g121i1-l01",
.data = &innolux_g121i1_l01
}, {
--
2.8.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel
2016-08-15 12:32 [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel Lucas Stach
@ 2016-09-16 9:23 ` Lucas Stach
2016-09-16 15:07 ` Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2016-09-16 9:23 UTC (permalink / raw)
To: Thierry Reding; +Cc: dri-devel, kernel, patchwork-lst
Hi Thierry,
could you please take a look at this? I think it's fine to go in.
Thanks,
Lucas
Am Montag, den 15.08.2016, 14:32 +0200 schrieb Lucas Stach:
> From: Michael Olbrich <m.olbrich@pengutronix.de>
>
> This patch adds support for Innolux Corporation 10.1" G101ICE-L01 WXGA
> (1280x800) LVDS panel to the simple-panel driver.
>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> .../bindings/display/panel/innolux,g101ice-l01.txt | 7 +++++
> drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++
> 2 files changed, 38 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
>
> diff --git a/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt b/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
> new file mode 100644
> index 000000000000..9e7590465227
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
> @@ -0,0 +1,7 @@
> +Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel
> +
> +Required properties:
> +- compatible: should be "innolux,g101ice-l01"
> +
> +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 85143d1b9b31..fb52fee28f6c 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -849,6 +849,34 @@ static const struct panel_desc innolux_at070tn92 = {
> .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> };
>
> +static const struct display_timing innolux_g101ice_l01_timing = {
> + .pixelclock = { 60400000, 71100000, 74700000 },
> + .hactive = { 1280, 1280, 1280 },
> + .hfront_porch = { 41, 80, 100 },
> + .hback_porch = { 40, 79, 99 },
> + .hsync_len = { 1, 1, 1 },
> + .vactive = { 800, 800, 800 },
> + .vfront_porch = { 5, 11, 14 },
> + .vback_porch = { 4, 11, 14 },
> + .vsync_len = { 1, 1, 1 },
> + .flags = DISPLAY_FLAGS_DE_HIGH,
> +};
> +
> +static const struct panel_desc innolux_g101ice_l01 = {
> + .timings = &innolux_g101ice_l01_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 217,
> + .height = 135,
> + },
> + .delay = {
> + .enable = 200,
> + .disable = 200,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> +};
> +
> static const struct drm_display_mode innolux_g121i1_l01_mode = {
> .clock = 71000,
> .hdisplay = 1280,
> @@ -1575,6 +1603,9 @@ static const struct of_device_id platform_of_match[] = {
> .compatible = "innolux,at070tn92",
> .data = &innolux_at070tn92,
> }, {
> + .compatible ="innolux,g101ice-l01",
> + .data = &innolux_g101ice_l01
> + }, {
> .compatible ="innolux,g121i1-l01",
> .data = &innolux_g121i1_l01
> }, {
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel
2016-08-15 12:32 [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel Lucas Stach
2016-09-16 9:23 ` Lucas Stach
@ 2016-09-16 15:07 ` Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2016-09-16 15:07 UTC (permalink / raw)
To: Lucas Stach; +Cc: kernel, dri-devel, patchwork-lst
[-- Attachment #1.1: Type: text/plain, Size: 909 bytes --]
On Mon, Aug 15, 2016 at 02:32:02PM +0200, Lucas Stach wrote:
> From: Michael Olbrich <m.olbrich@pengutronix.de>
>
> This patch adds support for Innolux Corporation 10.1" G101ICE-L01 WXGA
> (1280x800) LVDS panel to the simple-panel driver.
>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> .../bindings/display/panel/innolux,g101ice-l01.txt | 7 +++++
> drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++
> 2 files changed, 38 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,g101ice-l01.txt
It would've been good to get an Acked-by on the bindings from Rob, but
you hadn't included the devicetree mailing list, so they probably missed
this.
No biggie, though, this is very standard, so I just went ahead and
applied.
Thanks,
Thierry
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 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] 3+ messages in thread
end of thread, other threads:[~2016-09-16 15:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 12:32 [PATCH] drm/panel: simple: Add Innolux G101ICE-L01 panel Lucas Stach
2016-09-16 9:23 ` Lucas Stach
2016-09-16 15:07 ` 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.