From: Sam Ravnborg <sam@ravnborg.org>
To: Tobias Schramm <t.schramm@manjaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [RESEND 1/1] drm/panel: Add support for BOE NV140FHM-N49 panel to panel-simple
Date: Thu, 9 Jan 2020 17:00:25 +0100 [thread overview]
Message-ID: <20200109160025.GA17071@ravnborg.org> (raw)
In-Reply-To: <20200109112952.2620-2-t.schramm@manjaro.org>
Hi Tobias.
On Thu, Jan 09, 2020 at 12:29:52PM +0100, Tobias Schramm wrote:
> This patch adds support for the BOE NV140FHM-N49 panel to the panel-simple
> driver. The panel is used by the pine64 Pinebook Pro.
>
> Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Applied to drm-misc-next togher with the bindings patch.
Thanks for the quick r-b.
Sam
> ---
> 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 5d487686d25c..6320df9765f3 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1036,6 +1036,38 @@ static const struct panel_desc boe_nv101wxmn51 = {
> },
> };
>
> +static const struct drm_display_mode boe_nv140fhmn49_modes[] = {
> + {
> + .clock = 148500,
> + .hdisplay = 1920,
> + .hsync_start = 1920 + 48,
> + .hsync_end = 1920 + 48 + 32,
> + .htotal = 2200,
> + .vdisplay = 1080,
> + .vsync_start = 1080 + 3,
> + .vsync_end = 1080 + 3 + 5,
> + .vtotal = 1125,
> + .vrefresh = 60,
> + },
> +};
> +
> +static const struct panel_desc boe_nv140fhmn49 = {
> + .modes = boe_nv140fhmn49_modes,
> + .num_modes = ARRAY_SIZE(boe_nv140fhmn49_modes),
> + .bpc = 6,
> + .size = {
> + .width = 309,
> + .height = 174,
> + },
> + .delay = {
> + .prepare = 210,
> + .enable = 50,
> + .unprepare = 160,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
> + .connector_type = DRM_MODE_CONNECTOR_eDP,
> +};
> +
> static const struct drm_display_mode cdtech_s043wq26h_ct7_mode = {
> .clock = 9000,
> .hdisplay = 480,
> @@ -3161,6 +3193,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "boe,nv101wxmn51",
> .data = &boe_nv101wxmn51,
> + }, {
> + .compatible = "boe,nv140fhmn49",
> + .data = &boe_nv140fhmn49,
> }, {
> .compatible = "cdtech,s043wq26h-ct7",
> .data = &cdtech_s043wq26h_ct7,
> --
> 2.24.1
next prev parent reply other threads:[~2020-01-09 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 11:29 [RESEND 0/1] Add support for BOE NV140FHM-N49 panel to panel-simple Tobias Schramm
2020-01-09 11:29 ` [RESEND 1/1] drm/panel: " Tobias Schramm
2020-01-09 16:00 ` Sam Ravnborg [this message]
2020-01-09 14:07 ` [RESEND 0/1] " Sam Ravnborg
2020-01-09 15:27 ` Tobias Schramm
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=20200109160025.GA17071@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=t.schramm@manjaro.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox