summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRussell Robinson Jr <rrobinson@phytec.com>2013-07-24 16:34:41 -0700
committerAnthony Felice <tony.felice@timesys.com>2013-08-28 18:26:23 -0400
commitf55b7be24bf255c248d2a488f3404f1d908d03a6 (patch)
tree09f40d558a90210d7fe9f8ce83fb29664b931185 /drivers
parent31db7f98d7ad0c223cdcb6633dd9a409fbf5ca64 (diff)
pcm052: dcu: fix LCD clock frequency issues
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mvf_dcu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c
index 063003750052..71c271278bce 100644
--- a/drivers/video/mvf_dcu.c
+++ b/drivers/video/mvf_dcu.c
@@ -37,7 +37,6 @@
#define DRIVER_NAME "mvf-dcu"
static struct fb_videomode __devinitdata mvf_dcu_default_mode = {
- .pixclock = 31250,
.xres = 800,
.yres = 480,
.left_margin = 42,
@@ -67,7 +66,6 @@ static struct fb_videomode __devinitdata mvf_dcu_mode_db[] = {
},
{
.name = "pm070wl4",
- .pixclock = 31250,
.xres = 800,
.yres = 480,
.left_margin = 42,
@@ -434,7 +432,7 @@ static void update_lcdc(struct fb_info *info)
writel(DCU_MODE_BLEND_ITER(3) | DCU_MODE_RASTER_EN(1),
dcu->base + DCU_DCU_MODE);
- writel(9, dcu->base + DCU_DIV_RATIO);
+ writel(2, dcu->base + DCU_DIV_RATIO);
writel(DCU_SYN_POL_INV_PXCK(0) | DCU_SYN_POL_NEG(0) |
DCU_SYN_POL_INV_VS(1) | DCU_SYN_POL_INV_HS(1),