diff options
-rw-r--r-- | drivers/clk/ux500/u8500_clk.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c index 7bebf1f62c65..955110db2440 100644 --- a/drivers/clk/ux500/u8500_clk.c +++ b/drivers/clk/ux500/u8500_clk.c | |||
@@ -206,16 +206,18 @@ void u8500_clk_init(void) | |||
206 | clk_register_clkdev(clk, "dsilp2", "dsilink.2"); | 206 | clk_register_clkdev(clk, "dsilp2", "dsilink.2"); |
207 | clk_register_clkdev(clk, "dsilp2", "mcde"); | 207 | clk_register_clkdev(clk, "dsilp2", "mcde"); |
208 | 208 | ||
209 | clk = clk_reg_prcmu_rate("smp_twd", NULL, PRCMU_ARMSS, | 209 | clk = clk_reg_prcmu_scalable_rate("armss", NULL, |
210 | CLK_IS_ROOT|CLK_GET_RATE_NOCACHE| | 210 | PRCMU_ARMSS, 0, CLK_IS_ROOT|CLK_IGNORE_UNUSED); |
211 | CLK_IGNORE_UNUSED); | 211 | clk_register_clkdev(clk, "armss", NULL); |
212 | |||
213 | clk = clk_register_fixed_factor(NULL, "smp_twd", "armss", | ||
214 | CLK_IGNORE_UNUSED, 1, 2); | ||
212 | clk_register_clkdev(clk, NULL, "smp_twd"); | 215 | clk_register_clkdev(clk, NULL, "smp_twd"); |
213 | 216 | ||
214 | /* | 217 | /* |
215 | * FIXME: Add special handled PRCMU clocks here: | 218 | * FIXME: Add special handled PRCMU clocks here: |
216 | * 1. clk_arm, use PRCMU_ARMCLK. | 219 | * 1. clkout0yuv, use PRCMU as parent + need regulator + pinctrl. |
217 | * 2. clkout0yuv, use PRCMU as parent + need regulator + pinctrl. | 220 | * 2. ab9540_clkout1yuv, see clkout0yuv |
218 | * 3. ab9540_clkout1yuv, see clkout0yuv | ||
219 | */ | 221 | */ |
220 | 222 | ||
221 | /* PRCC P-clocks */ | 223 | /* PRCC P-clocks */ |