summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2012-10-31 14:40:52 +0100
committerMike Turquette <mturquette@linaro.org>2012-11-15 11:04:32 -0800
commit44d6453a8793e5a39c861718f62f91e832694435 (patch)
tree4035de2457a463849693c2e5c4fd7998eed93f51 /drivers/clk
parent4a0ae7befc92765c05b4bdd79e931a2058ea9fb7 (diff)
downloadlinux-3.10-44d6453a8793e5a39c861718f62f91e832694435.tar.gz
linux-3.10-44d6453a8793e5a39c861718f62f91e832694435.tar.bz2
linux-3.10-44d6453a8793e5a39c861718f62f91e832694435.zip
clk: ux500: Register rng clock lookups for u8500
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')
-rw-r--r--drivers/clk/ux500/u8500_clk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c
index 4ec6f60e372..87d625b08fa 100644
--- a/drivers/clk/ux500/u8500_clk.c
+++ b/drivers/clk/ux500/u8500_clk.c
@@ -378,6 +378,7 @@ void u8500_clk_init(void)
clk = clk_reg_prcc_pclk("p6_pclk0", "per6clk", U8500_CLKRST6_BASE,
BIT(0), 0);
+ clk_register_clkdev(clk, "apb_pclk", "rng");
clk = clk_reg_prcc_pclk("p6_pclk1", "per6clk", U8500_CLKRST6_BASE,
BIT(1), 0);
@@ -518,5 +519,5 @@ void u8500_clk_init(void)
/* Periph6 */
clk = clk_reg_prcc_kclk("p3_rng_kclk", "rngclk",
U8500_CLKRST6_BASE, BIT(0), CLK_SET_RATE_GATE);
-
+ clk_register_clkdev(clk, NULL, "rng");
}