diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-06-27 22:41:23 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-07-06 23:52:57 +0300 |
commit | fc20654389364a55eeab837244b24f8da75009f6 (patch) | |
tree | a8ca51fda011e3f3d4417b5de2ef4821b569b519 /drivers/clk/pxa/clk-pxa25x.c | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-fc20654389364a55eeab837244b24f8da75009f6.tar.xz |
clk: pxa: export 32kHz PLL
This clock is especially used by the RTC driver, so export it so that
devicetree users can use it.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/pxa/clk-pxa25x.c')
-rw-r--r-- | drivers/clk/pxa/clk-pxa25x.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/pxa/clk-pxa25x.c b/drivers/clk/pxa/clk-pxa25x.c index 6416c1f8e632..e88f8e01fe3a 100644 --- a/drivers/clk/pxa/clk-pxa25x.c +++ b/drivers/clk/pxa/clk-pxa25x.c @@ -292,8 +292,10 @@ static void __init pxa25x_register_plls(void) { clk_register_fixed_rate(NULL, "osc_3_6864mhz", NULL, CLK_GET_RATE_NOCACHE, 3686400); - clk_register_fixed_rate(NULL, "osc_32_768khz", NULL, - CLK_GET_RATE_NOCACHE, 32768); + clkdev_pxa_register(CLK_OSC32k768, "osc_32_768khz", NULL, + clk_register_fixed_rate(NULL, "osc_32_768khz", NULL, + CLK_GET_RATE_NOCACHE, + 32768)); clk_register_fixed_rate(NULL, "clk_dummy", NULL, 0, 0); clk_register_fixed_factor(NULL, "ppll_95_85mhz", "osc_3_6864mhz", 0, 26, 1); |