Files
linux/arch/arm/include/asm
Colin Cross 128f79c82d [ARM] twd: Allow twd rescaling to match cpu frequency
The clock to the ARM TWD local timer scales with the cpu
frequency.  To allow the cpu frequency to change while
maintaining a constant TWD frequency, pick a lower target
frequency for the TWD and use the prescaler to divide down
to the closest lower frequency.

This patch provides a new initialization function that takes
a target TWD frequency and the relation between the cpu
clock and the TWD clock, required to be an integer divider
>= 2 by the ARM spec.  It also provides a function to be
called from cpufreq drivers to set the prescaler whenever
the cpu frequency changes.

Also fixes a typo in the printk of the calibrated frequency.

Change-Id: I3fa8ef718ff5518170f1b2bab29efe960741853e
Signed-off-by: Colin Cross <ccross@google.com>
2010-10-06 16:27:39 -07:00
..
2009-02-01 11:01:22 +05:30
2009-10-11 16:25:06 +01:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2010-08-10 13:47:39 -07:00
2010-08-14 22:26:51 +02:00
2010-06-09 11:12:36 +02:00
2010-07-31 14:20:02 +01:00
2010-04-22 21:38:11 +01:00
2009-08-17 20:02:06 +01:00
2009-12-18 16:07:53 +00:00
2010-07-16 10:57:35 +01:00
2009-12-14 14:54:28 +00:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2010-10-03 23:08:57 -07:00
2008-09-06 12:10:45 +01:00