video: mxc: ldb: add support for NL12880BC20 and VGA timings (used on Ka-Ro MB7 baseb...
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Feb 2015 11:25:19 +0000 (12:25 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 27 Feb 2015 08:25:02 +0000 (09:25 +0100)
drivers/video/mxc/ldb.c

index dc109fc..48381d3 100644 (file)
@@ -140,29 +140,50 @@ static int g_ldb_mode;
 
 static struct fb_videomode ldb_modedb[] = {
        {
-        "LDB-WXGA", 60, 1280, 800, 14065,
-        40, 40,
-        10, 3,
-        80, 10,
-        0,
-        FB_VMODE_NONINTERLACED,
-        FB_MODE_IS_DETAILED,},
+               "LDB-WXGA", 60, 1280, 800, 14065,
+               40, 40,
+               10, 3,
+               80, 10,
+               0,
+               FB_VMODE_NONINTERLACED,
+               FB_MODE_IS_DETAILED,
+       },
+       {
+               "LDB-XGA", 60, 1024, 768, 15385,
+               220, 40,
+               21, 7,
+               60, 10,
+               0,
+               FB_VMODE_NONINTERLACED,
+               FB_MODE_IS_DETAILED,
+       },
        {
-        "LDB-XGA", 60, 1024, 768, 15385,
-        220, 40,
-        21, 7,
-        60, 10,
-        0,
-        FB_VMODE_NONINTERLACED,
-        FB_MODE_IS_DETAILED,},
+               "LDB-1080P60", 60, 1920, 1080, 7692,
+               100, 40,
+               30, 3,
+               10, 2,
+               0,
+               FB_VMODE_NONINTERLACED,
+               FB_MODE_IS_DETAILED,
+       },
        {
-        "LDB-1080P60", 60, 1920, 1080, 7692,
-        100, 40,
-        30, 3,
-        10, 2,
-        0,
-        FB_VMODE_NONINTERLACED,
-        FB_MODE_IS_DETAILED,},
+               "LDB-NL12880BC20", 60, 1280, 800, KHZ2PICOS(71000),
+               50, 50,
+               5, 5,
+               60, 13,
+               0,
+               FB_VMODE_NONINTERLACED,
+               FB_MODE_IS_DETAILED,
+       },
+       {
+               "LDB-VGA", 60, 640, 480, KHZ2PICOS(25200),
+               48, 16,
+               31, 12,
+               96, 2,
+               0,
+               FB_VMODE_NONINTERLACED,
+               FB_MODE_IS_DETAILED,
+       },
 };
 static int ldb_modedb_sz = ARRAY_SIZE(ldb_modedb);