From 06922aae13fd1c660712d85c7c237e00b10c4ddd Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 16 Sep 2013 07:30:37 +0200 Subject: colibri_vf50: DCU: 30 MHz VESA VGA pixel clock For now use a divider of 5 in order to get a pixel clock of 30 MHz required for VESA VGA. --- drivers/video/mvf_dcu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c index 44d93d6534e0..ac30b50364a4 100644 --- a/drivers/video/mvf_dcu.c +++ b/drivers/video/mvf_dcu.c @@ -454,7 +454,11 @@ static void update_lcdc(struct fb_info *info) writel(DCU_MODE_BLEND_ITER(3) | DCU_MODE_RASTER_EN(1), dcu->base + DCU_DCU_MODE); +#if defined(CONFIG_MACH_COLIBRI_VF50) + writel(5, dcu->base + DCU_DIV_RATIO); +#else writel(9, dcu->base + DCU_DIV_RATIO); +#endif writel(DCU_SYN_POL_INV_PXCK(0) | DCU_SYN_POL_NEG(0) | DCU_SYN_POL_INV_VS(1) | DCU_SYN_POL_INV_HS(1), -- cgit v1.2.3