summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2008-02-27 11:50:03 -0500
committerJustin Waters <justin.waters@timesys.com>2008-05-16 09:19:20 -0400
commitbb336515fd6b443a7532f1a7f7643d0b5b3c1811 (patch)
tree55b604d7ef080a26a499fdef45f2a39a7fb42254
parentc710c5342cc9240f7b17877aee9f65a9a1192953 (diff)
MX27Litekit: Add basic display support
The patches did not contain the board specific information to initialize the display. This patch will add support for the Sharp VGA display from LogicPD. We would eventually like to add support for other displays as well. This patch is based on work by the user fszczerba on the LogicPD forums. Signed-off-by: Justin Waters <justin.waters@timesys.com>
-rw-r--r--drivers/video/mxc/mxcfb_modedb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxcfb_modedb.c b/drivers/video/mxc/mxcfb_modedb.c
index 1eca0a526f04..03f5d5b802da 100644
--- a/drivers/video/mxc/mxcfb_modedb.c
+++ b/drivers/video/mxc/mxcfb_modedb.c
@@ -58,6 +58,22 @@ struct fb_videomode mxcfb_modedb[] = {
"TV-VGA", 60, 640, 480, 40574, 35, 45, 9, 1, 46, 5,
0, FB_VMODE_NONINTERLACED, 0,
},
+ {
+ /* 640x480 @ 60 Hz */
+ "Sharp-VGA",
+ 60, 640, 480, // 60 Hz, 640x480
+ 35285, // 35.285 ns clock period
+ 128, 128, // left & right margin
+ 34, 10, // upper & lower margin
+ 2, 2, // hsync & vsync len
+ 0
+ //| FB_SYNC_CLK_IDLE_EN
+ | FB_SYNC_OE_ACT_HIGH
+ //| FB_SYNC_HOR_HIGH_ACT
+ ,
+ FB_VMODE_NONINTERLACED,
+ 0,
+ },
};
int mxcfb_modedb_sz = ARRAY_SIZE(mxcfb_modedb);