[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGS+omAvxNFaVkKJs2e4fWF-xeuMHrYSHFFeJZtdPETx+o4LFw@mail.gmail.com>
Date: Fri, 16 Jan 2015 11:14:37 +0800
From: Daniel Kurtz <djkurtz@...omium.org>
To: huang lin <hl@...k-chips.com>
Cc: Douglas Anderson <dianders@...omium.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
Thierry Reding <thierry.reding@...il.com>,
David Airlie <airlied@...ux.ie>,
dri-devel <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] drm/panel: Add support for AUO b101ean01 panel
On Fri, Jan 16, 2015 at 10:36 AM, huang lin <hl@...k-chips.com> wrote:
> The AUO b101ean01 panel is a 10.1" 1280x800 panel,
> which can be supported by the simple panel driver.
>
> Signed-off-by: huang lin <hl@...k-chips.com>
Reviewed-by: Daniel Kurtz <djkurtz@...omium.org>
>
> ---
>
> Changes in v3:
> - changed moving auo_b101ean01 definitions under auo_b101aw03
>
> drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index e95385b..24828e0 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -345,6 +345,29 @@ static const struct panel_desc auo_b101aw03 = {
> },
> };
>
> +static const struct drm_display_mode auo_b101ean01_mode = {
> + .clock = 72500,
> + .hdisplay = 1280,
> + .hsync_start = 1280 + 147,
> + .hsync_end = 1280 + 147 + 32,
> + .htotal = 1280 + 147 + 32 + 21,
> + .vdisplay = 800,
> + .vsync_start = 800 + 4,
> + .vsync_end = 800 + 4 + 4,
> + .vtotal = 800 + 4 + 4 + 8,
> + .vrefresh = 60,
> +};
> +
> +static const struct panel_desc auo_b101ean01 = {
> + .modes = &auo_b101ean01_mode,
> + .num_modes = 1,
> + .bpc = 6,
> + .size = {
> + .width = 217,
> + .height = 136,
> + },
> +};
> +
> static const struct drm_display_mode auo_b101xtn01_mode = {
> .clock = 72000,
> .hdisplay = 1366,
> @@ -727,6 +750,9 @@ static const struct of_device_id platform_of_match[] = {
> .compatible = "auo,b101aw03",
> .data = &auo_b101aw03,
> }, {
> + .compatible = "auo,b101ean01",
> + .data = &auo_b101ean01,
> + }, {
> .compatible = "auo,b101xtn01",
> .data = &auo_b101xtn01,
> }, {
> --
> 1.9.1
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists