diff options
author | Hans J. Koch <hjk@linutronix.de> | 2010-09-17 18:17:42 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-09-17 21:55:08 +0200 |
commit | 3de7b517dfacf1deb0690dbac28f917643e49975 (patch) | |
tree | 77548d323cef82e380f354f98132dc779aee0919 /arch/arm/mach-tcc8k/common.h | |
parent | ARM: Introduce plat-tcc irq framework (diff) | |
download | linux-3de7b517dfacf1deb0690dbac28f917643e49975.tar.xz linux-3de7b517dfacf1deb0690dbac28f917643e49975.zip |
ARM: Add TCC8xxx system timer
Add the system timer using clockevents with the internal TC32 timer.
This also adds a clocksource using the same timer.
Signed-off-by: "Hans J. Koch" <hjk@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-tcc8k/common.h')
-rw-r--r-- | arch/arm/mach-tcc8k/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tcc8k/common.h b/arch/arm/mach-tcc8k/common.h index e539548e58d2..858210ecd67a 100644 --- a/arch/arm/mach-tcc8k/common.h +++ b/arch/arm/mach-tcc8k/common.h @@ -1,7 +1,10 @@ #ifndef MACH_TCC8K_COMMON_H #define MACH_TCC8K_COMMON_H +struct clk; + extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq); +extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq); extern void tcc8k_init_irq(void); #endif |