aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/ux500
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2012-08-31 08:21:31 -0400
committerMike Turquette <mturquette@linaro.org>2012-09-06 21:00:42 -0400
commit09b9b2b204751fc23d245d57d420f4973db22a67 (patch)
tree67b1bde175ede62d95afacb7173636b8dd870d45 /drivers/clk/ux500
parent20aee5b6d7738206bfd37b352a97c75627d6fa6d (diff)
clk: ux500: Define smp_twd clock for u8500
The smp_twd clock is based upon a prcmu_rate clock type for the PRCMU_ARMSS clock. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/ux500')
-rw-r--r--drivers/clk/ux500/u8500_clk.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c
index 5c1fca1f28de..ca4a25ed844c 100644
--- a/drivers/clk/ux500/u8500_clk.c
+++ b/drivers/clk/ux500/u8500_clk.c
@@ -205,12 +205,16 @@ void u8500_clk_init(void)
205 clk_register_clkdev(clk, "dsilp2", "dsilink.2"); 205 clk_register_clkdev(clk, "dsilp2", "dsilink.2");
206 clk_register_clkdev(clk, "dsilp2", "mcde"); 206 clk_register_clkdev(clk, "dsilp2", "mcde");
207 207
208 clk = clk_reg_prcmu_rate("smp_twd", NULL, PRCMU_ARMSS,
209 CLK_IS_ROOT|CLK_GET_RATE_NOCACHE|
210 CLK_IGNORE_UNUSED);
211 clk_register_clkdev(clk, NULL, "smp_twd");
212
208 /* 213 /*
209 * FIXME: Add special handled PRCMU clocks here: 214 * FIXME: Add special handled PRCMU clocks here:
210 * 1. smp_twd, use PRCMU_ARMSS. 215 * 1. clk_arm, use PRCMU_ARMCLK.
211 * 2. clk_arm, use PRCMU_ARMCLK. 216 * 2. clkout0yuv, use PRCMU as parent + need regulator + pinctrl.
212 * 3. clkout0yuv, use PRCMU as parent + need regulator + pinctrl. 217 * 3. ab9540_clkout1yuv, see clkout0yuv
213 * 4. ab9540_clkout1yuv, see clkout0yuv
214 */ 218 */
215 219
216 /* PRCC P-clocks */ 220 /* PRCC P-clocks */