From: Lubomir Rintel <lkundrak@v3.sk> To: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel <lkundrak@v3.sk> Subject: [PATCH 2/2] drm/panel: simple: Add support for Innolux LS075AT011 Date: Wed, 19 Aug 2020 12:12:06 +0200 [thread overview] Message-ID: <20200819101206.633253-3-lkundrak@v3.sk> (raw) In-Reply-To: <20200819101206.633253-1-lkundrak@v3.sk> This adds support for the Innolux LS075AT011 7.5" 1200x900 panel. There's no public data sheet for the panel -- the values have been taken from Open Firmware and the documentation for the display controller that drives the panel and tested on the OLPC laptop. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index cb6550d37e858..dfc69457ed2d4 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2121,6 +2121,30 @@ static const struct panel_desc innolux_g121x1_l03 = { }, }; +static const struct display_timing innolux_ls075at011_timing = { + .pixelclock = { 56000000, 57000000, 58000000 }, + .hactive = { 1200, 1200, 1200 }, + .hfront_porch = { 26, 26, 26 }, + .hback_porch = { 24, 24, 24 }, + .hsync_len = { 6, 6, 6 }, + .vactive = { 900, 900, 900 }, + .vfront_porch = { 4, 4, 4 }, + .vback_porch = { 5, 5, 5 }, + .vsync_len = { 3, 3, 3 }, + .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW, +}; + +static const struct panel_desc innolux_ls075at011 = { + .timings = &innolux_ls075at011_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 152, + .height = 115, + }, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + /* * Datasheet specifies that at 60 Hz refresh rate: * - total horizontal time: { 1506, 1592, 1716 } @@ -3907,6 +3931,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g121x1-l03", .data = &innolux_g121x1_l03, + }, { + .compatible = "innolux,ls075at011", + .data = &innolux_ls075at011, }, { .compatible = "innolux,n116bge", .data = &innolux_n116bge, -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: Lubomir Rintel <lkundrak@v3.sk> To: Thierry Reding <thierry.reding@gmail.com> Cc: devicetree@vger.kernel.org, David Airlie <airlied@linux.ie>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Lubomir Rintel <lkundrak@v3.sk>, Rob Herring <robh+dt@kernel.org>, Sam Ravnborg <sam@ravnborg.org> Subject: [PATCH 2/2] drm/panel: simple: Add support for Innolux LS075AT011 Date: Wed, 19 Aug 2020 12:12:06 +0200 [thread overview] Message-ID: <20200819101206.633253-3-lkundrak@v3.sk> (raw) In-Reply-To: <20200819101206.633253-1-lkundrak@v3.sk> This adds support for the Innolux LS075AT011 7.5" 1200x900 panel. There's no public data sheet for the panel -- the values have been taken from Open Firmware and the documentation for the display controller that drives the panel and tested on the OLPC laptop. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index cb6550d37e858..dfc69457ed2d4 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2121,6 +2121,30 @@ static const struct panel_desc innolux_g121x1_l03 = { }, }; +static const struct display_timing innolux_ls075at011_timing = { + .pixelclock = { 56000000, 57000000, 58000000 }, + .hactive = { 1200, 1200, 1200 }, + .hfront_porch = { 26, 26, 26 }, + .hback_porch = { 24, 24, 24 }, + .hsync_len = { 6, 6, 6 }, + .vactive = { 900, 900, 900 }, + .vfront_porch = { 4, 4, 4 }, + .vback_porch = { 5, 5, 5 }, + .vsync_len = { 3, 3, 3 }, + .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW, +}; + +static const struct panel_desc innolux_ls075at011 = { + .timings = &innolux_ls075at011_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 152, + .height = 115, + }, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + /* * Datasheet specifies that at 60 Hz refresh rate: * - total horizontal time: { 1506, 1592, 1716 } @@ -3907,6 +3931,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g121x1-l03", .data = &innolux_g121x1_l03, + }, { + .compatible = "innolux,ls075at011", + .data = &innolux_ls075at011, }, { .compatible = "innolux,n116bge", .data = &innolux_n116bge, -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-08-19 10:12 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-19 10:12 [PATCH 0/2] drm/panel: Add support for Innolux LS075AT011 Lubomir Rintel 2020-08-19 10:12 ` Lubomir Rintel 2020-08-19 10:12 ` [PATCH 1/2] dt-bindings: display: simple: add " Lubomir Rintel 2020-08-19 10:12 ` Lubomir Rintel 2020-08-25 21:53 ` Rob Herring 2020-08-25 21:53 ` Rob Herring 2020-08-19 10:12 ` Lubomir Rintel [this message] 2020-08-19 10:12 ` [PATCH 2/2] drm/panel: simple: Add support for " Lubomir Rintel 2020-10-17 8:07 ` Sam Ravnborg 2020-10-17 8:07 ` Sam Ravnborg
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200819101206.633253-3-lkundrak@v3.sk \ --to=lkundrak@v3.sk \ --cc=airlied@linux.ie \ --cc=daniel@ffwll.ch \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=sam@ravnborg.org \ --cc=thierry.reding@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.