diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-12 10:45:16 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 13:04:53 -0400 |
commit | 23828a7a976eb8dbe3b5f4e83584c3fe814b295b (patch) | |
tree | 451a5429fd9fc76cb9714895736db464051ef9c2 /arch/arm/mach-vexpress/ct-ca9x4.c | |
parent | 57cc4f7de2b896ca79185e337eaf7ff9906c4656 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-vexpress/ct-ca9x4.c')
-rw-r--r-- | arch/arm/mach-vexpress/ct-ca9x4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/ct-ca9x4.c b/arch/arm/mach-vexpress/ct-ca9x4.c index 271213384203..2023a9e5211c 100644 --- a/arch/arm/mach-vexpress/ct-ca9x4.c +++ b/arch/arm/mach-vexpress/ct-ca9x4.c | |||
@@ -152,6 +152,10 @@ static struct clk_lookup lookups[] = { | |||
152 | .clk = &osc1_clk, | 152 | .clk = &osc1_clk, |
153 | }, { /* SP804 timers */ | 153 | }, { /* SP804 timers */ |
154 | .dev_id = "sp804", | 154 | .dev_id = "sp804", |
155 | .con_id = "ct-timer0", | ||
156 | .clk = &ct_sp804_clk, | ||
157 | }, { /* SP804 timers */ | ||
158 | .dev_id = "sp804", | ||
155 | .con_id = "ct-timer1", | 159 | .con_id = "ct-timer1", |
156 | .clk = &ct_sp804_clk, | 160 | .clk = &ct_sp804_clk, |
157 | }, | 161 | }, |