Skip to content

Commit

Permalink
clk: ux500: Register rng clock lookups for u8500
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson authored and Mike Turquette committed Nov 15, 2012
1 parent 4a0ae7b commit 44d6453
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clk/ux500/u8500_clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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");
}

0 comments on commit 44d6453

Please sign in to comment.