diff mbox

Drivers: video: Add modes for Devkit8000 displays

Message ID 1294673672-30924-1-git-send-email-weber@corscience.de (mailing list archive)
State Rejected
Headers show

Commit Message

Thomas Weber Jan. 10, 2011, 3:34 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c
index de450c1..7b2581c 100644
--- a/drivers/video/modedb.c
+++ b/drivers/video/modedb.c
@@ -274,7 +274,19 @@  static const struct fb_videomode modedb[] = {
        /* 800x520i @ 50 Hz, 15.625 kHz hsync (PAL RGB) */
        NULL, 50, 800, 520, 58823, 144, 64, 72, 28, 80, 5,
        0, FB_VMODE_INTERLACED
-    },
+    }, {
+       /* 480x272 @ 60 Hz */
+       NULL, 60, 480, 272, KHZ2PICOS(10164), 2, 2, 2, 2, 41, 10,
+       0, FB_VMODE_NONINTERLACED
+    }, {
+       /* 640x480 @ 60 Hz */
+       NULL, 60, 640, 480, KHZ2PICOS(25000), 16, 134, 32, 11, 10, 2,
+       0, FB_VMODE_NONINTERLACED
+    }, {
+       /* 800x480 @ 60 Hz */
+       NULL, 60, 800, 480, KHZ2PICOS(30000), 40, 40, 13, 29, 48, 3,
+       0, FB_VMODE_NONINTERLACED
+    }
 };
 
 #ifdef CONFIG_FB_MODE_HELPERS