clockevents: ARM sp804: obtain sp804 timer rate via clks
commit23828a7a976eb8dbe3b5f4e83584c3fe814b295b
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 May 2011 14:45:16 +0000 (12 15:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 May 2011 17:04:53 +0000 (23 18:04 +0100)
tree451a5429fd9fc76cb9714895736db464051ef9c2
parent57cc4f7de2b896ca79185e337eaf7ff9906c4656
clockevents: ARM sp804: obtain sp804 timer rate via clks

This allows platforms to specify the rate of the SP804 clockevent 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-vexpress/ct-ca9x4.c
arch/arm/mach-vexpress/v2m.c