public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Peter Rosin <peda@axentia.se>
Cc: "Mark Rutland" <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	"Gustaf Lindström" <gl@axentia.se>,
	"Rob Herring" <robh+dt@kernel.org>
Subject: Re: [PATCH v4 2/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels
Date: Wed, 19 Oct 2016 14:27:50 +0200	[thread overview]
Message-ID: <20161019122750.GA16158@ulmo.ba.sec> (raw)
In-Reply-To: <1475594961-5713-3-git-send-email-peda@axentia.se>


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

On Tue, Oct 04, 2016 at 05:29:21PM +0200, Peter Rosin wrote:
> From: Gustaf Lindström <gl@axentia.se>
> 
> The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel.
> 
> The simple-panel driver is used to get support for essential
> functionality of the panel.
> 
> Signed-off-by: Gustaf Lindström <gl@axentia.se>
> Signed-off-by: Peter Rosin <peda@axentia.se>
> ---
>  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 85143d1b9b31..58cfe0a7a9d6 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1386,6 +1386,30 @@ static const struct panel_desc sharp_lq123p1jx31 = {
>  	},
>  };
>  
> +static const struct drm_display_mode sharp_lq150x1lg11_mode = {
> +	.clock = 71100,
> +	.hdisplay = 1024,
> +	.hsync_start = 1024 + 168,
> +	.hsync_end = 1024 + 168 + 64,
> +	.htotal = 1024 + 168 + 64 + 88,
> +	.vdisplay = 768,
> +	.vsync_start = 768 + 37,
> +	.vsync_end = 768 + 37 + 2,
> +	.vtotal = 768 + 37 + 2 + 8,
> +	.vrefresh = 60,
> +};
> +
> +static const struct panel_desc sharp_lq150x1lg11 = {
> +	.modes = &sharp_lq150x1lg11_mode,
> +	.num_modes = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 304,
> +		.height = 228,
> +	},
> +	.bus_format = MEDIA_BUS_FMT_RGB565_1X16,

This doesn't match the .bpc = 8 above. You'd usually use a .bpc = 6 for
RGB565 panels.

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

  reply	other threads:[~2016-10-19 12:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 15:29 [PATCH v4 0/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels Peter Rosin
2016-10-04 15:29 ` [PATCH v4 1/2] dt-bindings: display: Add Sharp LQ150X1LG11 panel binding Peter Rosin
2016-10-09  1:29   ` Rob Herring
     [not found] ` <1475594961-5713-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>
2016-10-04 15:29   ` [PATCH v4 2/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels Peter Rosin
2016-10-19 12:27     ` Thierry Reding [this message]
2016-10-19 12:31       ` Thierry Reding
     [not found]         ` <20161019123153.GB16158-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-10-28 12:18           ` Peter Rosin

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=20161019122750.GA16158@ulmo.ba.sec \
    --to=thierry.reding@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gl@axentia.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=peda@axentia.se \
    --cc=robh+dt@kernel.org \
    /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