summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-11-17 03:37:27 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-11-17 03:37:27 +0100
commitbbc452c42cc05fad1c79dcac8d4f929f28f6ebe6 (patch)
treed57855dce40d4d397a23eb52135cff40b836993e /drivers
parent936f114e0df6c417e8a40d42fa952f5c4a506b56 (diff)
colibri_vf50: mvf_dcu: use 16 bpp by default
Use 16 bpp colour mode by default to relieve memory bandwidth. While at it don't use hard-coded LCD enable pin.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mvf_dcu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c
index 68d3b09d19ae..11399d15404a 100644
--- a/drivers/video/mvf_dcu.c
+++ b/drivers/video/mvf_dcu.c
@@ -1063,9 +1063,11 @@ static int __devinit mvf_dcu_probe(struct platform_device *pdev)
goto failed_get_resource;
}
+#if !defined(CONFIG_MACH_COLIBRI_VF50)
gpio_request_one(DCU_LCD_ENABLE_PIN, GPIOF_OUT_INIT_LOW, "DCU");
msleep(2);
gpio_set_value(DCU_LCD_ENABLE_PIN, 1);
+#endif
writel(0x20000000, MVF_IO_ADDRESS(MVF_TCON0_BASE_ADDR));