From 574724fbbb1bd2f78ee1a626dfa18cf707c741ab Mon Sep 17 00:00:00 2001 From: Dan Johansson Date: Thu, 1 Jul 2010 15:11:24 +0200 Subject: MCDE: V-sync on main and sub display using DSI BTA * V-sync support for both primary and secondary display. * V-sync is disabled by default. It is enabled in menuconfig (System Type -> Display selection -> Enable v-sync for primary / secondary display). * DSI HS clock is set to 840 MHz, DSI esq clock 19.2 MHz. * Enables VAUX1 if startup graphics is enabled. ST Ericsson Change-Id: WP264234 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2154 Tested-by: Dan JOHANSSON Reviewed-by: Jonas ABERG Signed-off-by: Mian Yousaf Kaukab Change-Id: I47f72cb9449e08f089f6bdb25988bd9958644899 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2809 --- arch/arm/mach-ux500/Kconfig-arch | 14 +++++++ arch/arm/mach-ux500/board-mop500-mcde.c | 68 +++++++++++++++++++++++++++------ arch/arm/mach-ux500/prcmu-fw.c | 8 ++-- 3 files changed, 75 insertions(+), 15 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-ux500/Kconfig-arch b/arch/arm/mach-ux500/Kconfig-arch index cbfdd4d3758..3e6d35c5c46 100755 --- a/arch/arm/mach-ux500/Kconfig-arch +++ b/arch/arm/mach-ux500/Kconfig-arch @@ -48,6 +48,13 @@ config DISPLAY_GENERIC_DSI_PRIMARY help Say yes here if main display exists +config DISPLAY_GENERIC_DSI_PRIMARY_VSYNC + bool "Enable v-sync for primary display" + depends on DISPLAY_GENERIC_DSI_PRIMARY + default n + help + Say yes to enable v-sync for primary display + config DISPLAY_GENERIC_DSI_SECONDARY bool "Sub display support" depends on MACH_U8500_MOP && FB_MCDE @@ -56,6 +63,13 @@ config DISPLAY_GENERIC_DSI_SECONDARY help Say yes here if sub display exists +config DISPLAY_GENERIC_DSI_SECONDARY_VSYNC + bool "Enable v-sync for secondary display" + depends on DISPLAY_GENERIC_DSI_SECONDARY + default n + help + Say yes to enable v-sync for secondary display + config DISPLAY_AB8500_TERTIARY bool "AB8500 TVout display support" depends on MACH_U8500_MOP && !AV8100_SDTV && FB_MCDE diff --git a/arch/arm/mach-ux500/board-mop500-mcde.c b/arch/arm/mach-ux500/board-mop500-mcde.c index 7fbb35caf22..ef1a7274161 100644 --- a/arch/arm/mach-ux500/board-mop500-mcde.c +++ b/arch/arm/mach-ux500/board-mop500-mcde.c @@ -17,12 +17,12 @@ #include