]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
clk: pxa25x: OSTIMER0 clocks from the main oscillator
authorRussell King - ARM Linux <linux@armlinux.org.uk>
Mon, 19 Sep 2016 19:12:12 +0000 (21:12 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 18 Oct 2016 07:12:36 +0000 (09:12 +0200)
The OSTIMER0 clock ticks at the main oscillator rate, not the 32kHz
oscillator rate.  Ensure that it is parented to the main oscillator.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
drivers/clk/pxa/clk-pxa25x.c

index a98b98e2a9e4404047d5f965924a660464a13ec6..56b0a6027e38df90fcaf1db502778cb6173c6947 100644 (file)
@@ -230,7 +230,7 @@ static struct dummy_clk dummy_clks[] __initdata = {
        DUMMY_CLK("GPIO11_CLK", NULL, "osc_3_6864mhz"),
        DUMMY_CLK("GPIO12_CLK", NULL, "osc_32_768khz"),
        DUMMY_CLK(NULL, "sa1100-rtc", "osc_32_768khz"),
-       DUMMY_CLK("OSTIMER0", NULL, "osc_32_768khz"),
+       DUMMY_CLK("OSTIMER0", NULL, "osc_3_6864mhz"),
        DUMMY_CLK("UARTCLK", "pxa2xx-ir", "STUART"),
 };