summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-11-17 03:10:25 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-11-17 03:10:25 +0100
commita2a63d88109ba83d47de91da091c5ce1aa039159 (patch)
tree020cdb9522b516eea871b8ee3422a250dec9eded /drivers
parent1b6fd354bcd0676cb1f7ca00bcd0ccd9612d15a7 (diff)
colibri_vf50: fix vesa vga display timing
Fix VESA VGA display timing.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mvf_dcu.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c
index ac30b50364a4..b3f6836d7fb3 100644
--- a/drivers/video/mvf_dcu.c
+++ b/drivers/video/mvf_dcu.c
@@ -47,7 +47,7 @@ static struct fb_videomode __devinitdata mvf_dcu_default_mode = {
.lower_margin = 1,
.hsync_len = 41,
.vsync_len = 2,
- .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
.vmode = FB_VMODE_NONINTERLACED,
#else /* !CONFIG_MACH_COLIBRI_VF50 */
// .refresh = 60,
@@ -56,12 +56,12 @@ static struct fb_videomode __devinitdata mvf_dcu_default_mode = {
/* pixel clock period in picoseconds (25.18 MHz) */
.pixclock = 38000,
.left_margin = 48,
- .right_margin = 48,
- .upper_margin = 37,
- .lower_margin = 17,
- .hsync_len = 64,
+ .right_margin = 16,
+ .upper_margin = 31,
+ .lower_margin = 11,
+ .hsync_len = 96,
.vsync_len = 2,
- .sync = FB_SYNC_VERT_HIGH_ACT,
+ .sync = 0,
.vmode = FB_VMODE_NONINTERLACED,
// .flag = 0,
#endif /* !CONFIG_MACH_COLIBRI_VF50 */
@@ -79,7 +79,7 @@ static struct fb_videomode __devinitdata mvf_dcu_mode_db[] = {
.lower_margin = 1,
.hsync_len = 41,
.vsync_len = 2,
- .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
.vmode = FB_VMODE_NONINTERLACED,
},
#else /* !CONFIG_MACH_COLIBRI_VF50 */
@@ -91,12 +91,12 @@ static struct fb_videomode __devinitdata mvf_dcu_mode_db[] = {
/* pixel clock period in picoseconds (25.18 MHz) */
.pixclock = 38000,
.left_margin = 48,
- .right_margin = 48,
- .upper_margin = 37,
- .lower_margin = 17,
- .hsync_len = 64,
+ .right_margin = 16,
+ .upper_margin = 31,
+ .lower_margin = 11,
+ .hsync_len = 96,
.vsync_len = 2,
- .sync = FB_SYNC_VERT_HIGH_ACT,
+ .sync = 0,
.vmode = FB_VMODE_NONINTERLACED,
// .flag = 0,
},