[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4f1a3bcb-31b0-4688-b6e5-92a940cf2881@quicinc.com>
Date: Fri, 12 Jul 2024 14:03:17 -0700
From: Jessica Zhang <quic_jesszhan@...cinc.com>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>,
Neil Armstrong
<neil.armstrong@...aro.org>,
Sam Ravnborg <sam@...nborg.org>,
Maarten
Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard
<mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie
<airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>
CC: <dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel@...gutronix.de>
Subject: Re: [PATCH 2/2] drm/panel: simple: add Innolux G070ACE-LH3 LVDS
display support
On 7/12/2024 4:05 AM, Steffen Trumtrar wrote:
> The G070ACE-LH3 is a 7" TFT Color LCD module with WLED backlight.
>
> https://www.data-modul.com/sites/default/files/products/G070ACE-LH3-specification-12058417.pdf
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@...gutronix.de>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index dcb6d0b6ced06..d3ce78643fd86 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2509,6 +2509,38 @@ static const struct panel_desc innolux_g070y2_l01 = {
> .connector_type = DRM_MODE_CONNECTOR_LVDS,
> };
>
> +static const struct display_timing innolux_g070ace_lh3_timing = {
> + .pixelclock = { 25200000, 25400000, 35700000 },
> + .hactive = { 800, 800, 800 },
> + .hfront_porch = { 32, 32, 32 },
> + .hback_porch = { 31, 31, 31 },
> + .hsync_len = { 1, 1, 1 },
Hi Steffen,
The min/max horizontal and vertical porches here don't seem to add up to
the min/max [HV]blanks specified in the datasheet linked in the commit
msg. Any reason for that?
Thanks,
Jessica Zhang
> + .vactive = { 480, 480, 480 },
> + .vfront_porch = { 5, 5, 5 },
> + .vback_porch = { 4, 4, 4 },
> + .vsync_len = { 1, 1, 1 },
> + .flags = DISPLAY_FLAGS_DE_HIGH,
> +};
> +
> +static const struct panel_desc innolux_g070ace_lh3 = {
> + .timings = &innolux_g070ace_lh3_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 152,
> + .height = 91,
> + },
> + .delay = {
> + .prepare = 10,
> + .enable = 450,
> + .disable = 200,
> + .unprepare = 510,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> + .bus_flags = DRM_BUS_FLAG_DE_HIGH,
> + .connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};
> +
> static const struct drm_display_mode innolux_g070y2_t02_mode = {
> .clock = 33333,
> .hdisplay = 800,
> @@ -4599,6 +4631,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "innolux,g070ace-l01",
> .data = &innolux_g070ace_l01,
> + }, {
> + .compatible = "innolux,g070ace-lh3",
> + .data = &innolux_g070ace_lh3,
> }, {
> .compatible = "innolux,g070y2-l01",
> .data = &innolux_g070y2_l01,
>
> --
> 2.45.1
>
Powered by blists - more mailing lists