clocksource: ARM sp804: obtain sp804 timer rate via clks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 May 2011 12:31:48 +0000 (13:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 May 2011 17:04:53 +0000 (18:04 +0100)
commit7ff550de99141cbd3be0129d563cc4554fdde9f6
tree21381e1dcdbd69b461cefc696a1a1fd80f38ce8e
parentfb593cf38fc426331275d761fefe13096070f56a
clocksource: ARM sp804: obtain sp804 timer rate via clks

This allows platforms to specify the rate of the SP804 clocksource via
the clk subsystem.  While ARM boards clock these at 1MHz, BCMRing also
has SP804 timers but are clocked at different rates.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/timer-sp.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-realview/core.c
arch/arm/mach-versatile/core.c
arch/arm/mach-vexpress/ct-ca9x4.c
arch/arm/mach-vexpress/v2m.c