mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
clk: ux500: Register rng clock lookups for u8500
Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Mike Turquette <[email protected]>
This commit is contained in:
parent
4a0ae7befc
commit
44d6453a87
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue