diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2012-10-31 13:40:52 (GMT) |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-15 19:04:32 (GMT) |
commit | 44d6453a8793e5a39c861718f62f91e832694435 (patch) | |
tree | 4035de2457a463849693c2e5c4fd7998eed93f51 /drivers/clk | |
parent | 4a0ae7befc92765c05b4bdd79e931a2058ea9fb7 (diff) | |
download | linux-44d6453a8793e5a39c861718f62f91e832694435.tar.xz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c index 4ec6f60..87d625b 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"); } |