From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: OMAP2+ Add Primview dispalys to panel-generic
Date: Thu, 04 Aug 2011 12:18:59 +0000 [thread overview]
Message-ID: <1312460339.2143.23.camel@deskari> (raw)
In-Reply-To: <1310122034-6561-1-git-send-email-j.weitzel@phytec.de>
Hi,
On Fri, 2011-07-08 at 12:47 +0200, Jan Weitzel wrote:
> Add displays to panel-generic-dpi.c
> Prime View PD035VL1 (640 x 480)
> Prime View PD050VL1 (640 x 480)
> Prime View PD104SLF (800 x 600)
> Prime View PM070WL4 (800 x 480)
Did you copy the acb and power_on/off_delay values from the sharp panel?
acbi and acb are not needed at all, and you should check if
power_on/off_delay are needed and if they are, what they should be.
Also, the first two panels look identical. While there's nothing wrong
with that, I wonder if could be a more generic "family" name for the
panels, and there would be need to define the timings only once.
Tomi
> Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
> ---
> drivers/video/omap2/displays/panel-generic-dpi.c | 100 ++++++++++++++++++++++
> 1 files changed, 100 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
> index 9c90f75..87d9ba1 100644
> --- a/drivers/video/omap2/displays/panel-generic-dpi.c
> +++ b/drivers/video/omap2/displays/panel-generic-dpi.c
> @@ -232,6 +232,106 @@ static struct panel_config generic_dpi_panels[] = {
> .power_off_delay = 0,
> .name = "powertip_ph480272t",
> },
> +
> + /* Prime-View PD035VL1 */
> + {
> + {
> + .x_res = 640,
> + .y_res = 480,
> +
> + .pixel_clock = 25000,
> +
> + .hsw = 96,
> + .hfp = 18,
> + .hbp = 46,
> +
> + .vsw = 2,
> + .vfp = 10,
> + .vbp = 33,
> + },
> + .acbi = 0x0,
> + .acb = 0x28,
> + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
> + OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
> + .power_on_delay = 50,
> + .power_off_delay = 100,
> + .name = "pd035vl1",
> + },
> +
> + /* Prime-View PD050VL1 */
> + {
> + {
> + .x_res = 640,
> + .y_res = 480,
> +
> + .pixel_clock = 25000,
> +
> + .hsw = 96,
> + .hfp = 18,
> + .hbp = 46,
> +
> + .vsw = 2,
> + .vfp = 10,
> + .vbp = 33,
> + },
> + .acbi = 0x0,
> + .acb = 0x28,
> + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
> + OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
> + .power_on_delay = 50,
> + .power_off_delay = 100,
> + .name = "pd050vl1",
> + },
> +
> + /* Prime-View PM070WL4 */
> + {
> + {
> + .x_res = 800,
> + .y_res = 480,
> +
> + .pixel_clock = 32000,
> +
> + .hsw = 128,
> + .hfp = 42,
> + .hbp = 86,
> +
> + .vsw = 2,
> + .vfp = 10,
> + .vbp = 33,
> + },
> + .acbi = 0x0,
> + .acb = 0x28,
> + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
> + OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
> + .power_on_delay = 50,
> + .power_off_delay = 100,
> + .name = "pm070wl4",
> + },
> +
> + /* Prime-View PD104SLF */
> + {
> + {
> + .x_res = 800,
> + .y_res = 600,
> +
> + .pixel_clock = 40000,
> +
> + .hsw = 128,
> + .hfp = 42,
> + .hbp = 86,
> +
> + .vsw = 4,
> + .vfp = 1,
> + .vbp = 23,
> + },
> + .acbi = 0x0,
> + .acb = 0x28,
> + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
> + OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
> + .power_on_delay = 50,
> + .power_off_delay = 100,
> + .name = "pd104slf",
> + },
> };
>
> struct panel_drv_data {
prev parent reply other threads:[~2011-08-04 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 10:47 [PATCH] ARM: OMAP2+ Add Primview dispalys to panel-generic Jan Weitzel
2011-08-04 12:18 ` Tomi Valkeinen [this message]
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=1312460339.2143.23.camel@deskari \
--to=tomi.valkeinen@ti.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).