summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayarami Reddy <jayarami.reddy@stericsson.com>2011-10-10 18:03:24 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:19 +0200
commit75d8608338d7c94303ed8a0d02ee3ef0e027b29d (patch)
treeb563c4f636701240ba9ebbe8d50dee6cd8a3f9ab
parent8e69563d817deba3f25de6b437e9943072eec952 (diff)
arm: ux500: Configure the dsi clock for u5500
Set the DSI clock to 420Mhz for u5500 same as u8500 ST-Ericsson ID: 375123 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2a8de551b7ba6f69c2d6e8bea443762d5d92abc3 Signed-off-by: Jayarami Reddy <jayarami.reddy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33466 Reviewed-by: QATOOLS Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
-rw-r--r--drivers/mfd/db5500-prcmu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mfd/db5500-prcmu.c b/drivers/mfd/db5500-prcmu.c
index 452084f6858..4ab200498c5 100644
--- a/drivers/mfd/db5500-prcmu.c
+++ b/drivers/mfd/db5500-prcmu.c
@@ -261,11 +261,12 @@ enum db5500_ap_pwr_state {
#define PRCMU_RESET_DSIPLL 0x00004000
#define PRCMU_UNCLAMP_DSIPLL 0x00400800
-/* HDMI CLK MGT PLLSW=001 (PLLSOC0), PLLDIV=0x8, = 50 Mhz*/
-#define PRCMU_DSI_CLOCK_SETTING 0x00000128
+/* HDMI CLK MGT PLLSW=001 (PLLSOC0), PLLDIV=0xC, = 33.33 Mhz*/
+#define PRCMU_DSI_CLOCK_SETTING 0x0000012C
/* TVCLK_MGT PLLSW=001 (PLLSOC0) PLLDIV=0x13, = 19.05 MHZ */
#define PRCMU_DSI_LP_CLOCK_SETTING 0x00000135
-#define PRCMU_PLLDSI_FREQ_SETTING 0x00020121
+/* PRCM_PLLDSI_FREQ R=4, N=1, D= 0x65 */
+#define PRCMU_PLLDSI_FREQ_SETTING 0x00040165
#define PRCMU_DSI_PLLOUT_SEL_SETTING 0x00000002
#define PRCMU_ENABLE_ESCAPE_CLOCK_DIV 0x03000201
#define PRCMU_DISABLE_ESCAPE_CLOCK_DIV 0x00000101