On Wed, 2011-11-09 at 01:12 +0100, Ilya Yanok wrote: > Add data for the FocalTech ETM070003DH6 display to the generic_dpi_panel > display driver. > > Signed-off-by: Ilya Yanok <yanok@xxxxxxxxxxx> > --- > drivers/video/omap2/displays/panel-generic-dpi.c | 24 ++++++++++++++++++++++ > 1 files changed, 24 insertions(+), 0 deletions(-) > > diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c > index 519c47d..42bfe47 100644 > --- a/drivers/video/omap2/displays/panel-generic-dpi.c > +++ b/drivers/video/omap2/displays/panel-generic-dpi.c > @@ -297,6 +297,30 @@ static struct panel_config generic_dpi_panels[] = { > > .name = "apollon", > }, > + /* FocalTech ETM070003DH6 */ > + { > + { > + .x_res = 800, > + .y_res = 480, > + > + .pixel_clock = 28000, > + > + .hsw = 48, > + .hfp = 40, > + .hbp = 40, > + > + .vsw = 3, > + .vfp = 13, > + .vbp = 29, > + }, > + .acbi = 0x0, > + .acb = 0x28, You could just remove .acbi and .acb, I don't think they are needed. > + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | > + OMAP_DSS_LCD_IHS, > + .power_on_delay = 50, > + .power_off_delay = 100, Did you check from the panel spec if any delays are needed? These look like just copied from the Sharp panel data. Tomi
Attachment:
signature.asc
Description: This is a digitally signed message part