diff options
author | Torben Hohn <torbenh@linutronix.de> | 2012-12-21 09:06:15 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-02-04 22:19:46 -0500 |
commit | 2fb318ff75d7c4d5ccc418ab4dcce19aa40fc059 (patch) | |
tree | 16db81ddeeedae652d70bda0ac1d86d4b56accb8 /drivers/clk | |
parent | 77d168a99877bd045f02e4845a7f392762f182fb (diff) |
ARM: mxs: use apbx bus clock to drive the timers on timrotv2
timer resolution of ~32us is pretty low.
v2 has 32bits resolution, so we have quite some headroom, and
can use the 24MHz clock.
v1 has only 16bits, so we only increase v2.
So we just exchange the timrot clock in imx28.
On imx23 we have timrotv1 and everything stays the same.
Signed-off-by: Torben Hohn <torbenh@linutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/mxs/clk-imx28.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c index db3af0874121..0174270abfe7 100644 --- a/drivers/clk/mxs/clk-imx28.c +++ b/drivers/clk/mxs/clk-imx28.c | |||
@@ -238,7 +238,7 @@ int __init mx28_clocks_init(void) | |||
238 | of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); | 238 | of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); |
239 | } | 239 | } |
240 | 240 | ||
241 | clk_register_clkdev(clks[clk32k], NULL, "timrot"); | 241 | clk_register_clkdev(clks[xbus], NULL, "timrot"); |
242 | clk_register_clkdev(clks[enet_out], NULL, "enet_out"); | 242 | clk_register_clkdev(clks[enet_out], NULL, "enet_out"); |
243 | 243 | ||
244 | for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) | 244 | for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) |