Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays.

Signed-off-by: Raphael Assenat <[email protected]>

--- a/drivers/video/omap2/displays/panel-generic-dpi.c
+++ b/drivers/video/omap2/displays/panel-generic-dpi.c
@@ -486,6 +486,80 @@ static struct panel_config generic_dpi_panels[] = {
                                          OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
                .name                   = "primeview_pd104slf",
        },
+
+       /* ChiMei G121S1-L01 */
+       {
+               {
+                       .x_res          = 800,
+                       .y_res          = 600,
+
+                       .pixel_clock    = 39700,
+
+                       .hfp            = 128,
+                       .hsw            = 1,
+                       .hbp            = 128,
+
+                       .vfp            = 28,
+                       .vsw            = 1,
+                       .vbp            = 28
+               },
+               .acbi                   = 0x0,
+               .acb                    = 0x0,
+               .config                 = OMAP_DSS_LCD_TFT,
+               .power_on_delay         = 0,
+               .power_off_delay        = 0,
+               .name                   = "chimei_g121s1-l01",
+       },
+
+       /* ChiMei G121S1-L02 */
+       {
+               {
+                       .x_res          = 800,
+                       .y_res          = 600,
+
+                       .pixel_clock    = 40000,
+
+                       .hfp            = 1,
+                       .hsw            = 256,
+                       .hbp            = 1,
+
+                       .vfp            = 1,
+                       .vsw            = 28,
+                       .vbp            = 1
+               },
+               .acbi                   = 0x0,
+               .acb                    = 0x0,
+               .config                 = OMAP_DSS_LCD_TFT,
+               .power_on_delay         = 0,
+               .power_off_delay        = 0,
+               .name                   = "chimei_g121s1-l02",
+       },
+
+
+       /* ChiMei G121X1-L01 */
+       {
+               {
+                       .x_res          = 1024,
+                       .y_res          = 768,
+
+                       .pixel_clock    = 64900,
+
+                       .hfp            = 160,
+                       .hsw            = 1,
+                       .hbp            = 160,
+
+                       .vfp            = 38,
+                       .vsw            = 1,
+                       .vbp            = 38
+               },
+               .acbi                   = 0x0,
+               .acb                    = 0x0,
+               .config                 = OMAP_DSS_LCD_TFT,
+               .power_on_delay         = 0,
+               .power_off_delay        = 0,
+               .name                   = "chimei_g121x1-l01",
+       },
+
 };
 
 struct panel_drv_data {
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to