mfd: db8500: Update BML clock register for db8580
authorPhilippe Begnic <philippe.begnic@st.com>
Mon, 27 May 2013 12:41:31 +0000 (14:41 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 7 Jun 2013 01:17:16 +0000 (18:17 -0700)
BML clock register address in DB8580 has changed.Defined a new address
under different name for DB8580.

Signed-off-by: Philippe Begnic <philippe.begnic@st.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/mfd/db8500-prcmu.c
drivers/mfd/dbx500-prcmu-regs.h
include/linux/mfd/dbx500-prcmu.h

index 66f80973596bd8833557d13c1bfc5426a6b1290d..a292a1deff9aa4d03d401e0925901f892748429d 100644 (file)
@@ -480,6 +480,7 @@ struct clk_mgt clk_mgt[PRCMU_NUM_REG_CLOCKS] = {
        CLK_MGT_ENTRY(PER6CLK, PLL_DIV, true),
        CLK_MGT_ENTRY(PER7CLK, PLL_DIV, true),
        CLK_MGT_ENTRY(LCDCLK, PLL_FIX, true),
+       CLK_MGT_ENTRY(BML8580CLK, PLL_DIV, true),
        CLK_MGT_ENTRY(BMLCLK, PLL_DIV, true),
        CLK_MGT_ENTRY(HSITXCLK, PLL_DIV, true),
        CLK_MGT_ENTRY(HSIRXCLK, PLL_DIV, true),
index d14836ed2114590ee4ad4b5b4c1971bb8d022cfc..ca355dd423a653445ac4247c10b4c181e29a9ff8 100644 (file)
@@ -32,6 +32,7 @@
 #define PRCM_PER7CLK_MGT       (0x040)
 #define PRCM_LCDCLK_MGT                (0x044)
 #define PRCM_BMLCLK_MGT                (0x04C)
+#define PRCM_BML8580CLK_MGT    (0x108)
 #define PRCM_HSITXCLK_MGT      (0x050)
 #define PRCM_HSIRXCLK_MGT      (0x054)
 #define PRCM_HDMICLK_MGT       (0x058)
index d0ba355cc55f181ebb2f89954c22bddac129930b..ca0790fba2f5d60abbe975fa3547c363c525f443 100644 (file)
@@ -138,6 +138,7 @@ enum prcmu_clock {
        PRCMU_G1CLK, /* Ux540 only */
        PRCMU_SDMMCHCLK,
        PRCMU_CAMCLK,
+       PRCMU_BML8580CLK,
        PRCMU_NUM_REG_CLOCKS,
        PRCMU_SYSCLK = PRCMU_NUM_REG_CLOCKS,
        PRCMU_CDCLK,