]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/clocksource/mxs_timer.c
ARM: mxs: use apbx bus clock to drive the timers on timrotv2
authorTorben Hohn <torbenh@linutronix.de>
Fri, 21 Dec 2012 14:06:15 +0000 (15:06 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 5 Feb 2013 03:19:46 +0000 (11:19 +0800)
commit2fb318ff75d7c4d5ccc418ab4dcce19aa40fc059
tree16db81ddeeedae652d70bda0ac1d86d4b56accb8
parent77d168a99877bd045f02e4845a7f392762f182fb
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>
arch/arm/mach-mxs/timer.c
drivers/clk/mxs/clk-imx28.c