[PATCH] arm: Configure reference clock for Versatile Express timers

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jan 18 12:44:28 EST 2011


On Tue, Jan 18, 2011 at 04:39:33PM +0000, Pawel Moll wrote:
> Timers on Versatile Express mainboard are used as system clock/event
> sources. Driver assumes that they are clocked with 1MHz signal.
> Old V2M firmware apparently configured it by default, but on newer
> boards one can observe that "sleep 1" command takes over 30 seconds
> to finish, as the timers are fed with 32kHz instead...
> 
> This patch performs required magic and also removes code clearing
> timer's control registers, as exactly the same operations are
> performed by the timer driver few jiffies later.

It would be nice if these registers were documented...



More information about the linux-arm-kernel mailing list