clk: ux500: Provide a look-up for the ARMSS clock
authorLee Jones <lee.jones@linaro.org>
Wed, 18 Sep 2013 15:09:38 +0000 (16:09 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Sep 2013 09:09:29 +0000 (11:09 +0200)
The ARMSS clock is used by the newly DT enabled CPUFreq driver.

Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/clk/ux500/u8500_of_clk.c

index 0769db85e7724003f2713c79feb9b39750c566a9..b768b507c95c8c200b1a8b07e6718708d771948b 100644 (file)
@@ -233,6 +233,7 @@ void u8500_of_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base,
 
        clk = clk_reg_prcmu_scalable_rate("armss", NULL,
                                PRCMU_ARMSS, 0, CLK_IS_ROOT|CLK_IGNORE_UNUSED);
+       prcmu_clk[PRCMU_ARMSS] = clk;
 
        twd_clk = clk_register_fixed_factor(NULL, "smp_twd", "armss",
                                CLK_IGNORE_UNUSED, 1, 2);