aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorMagnus Damm <magnus.damm@gmail.com>2012-05-25 16:03:44 +0900
committerThomas Gleixner <tglx@linutronix.de>2012-05-25 11:32:06 +0200
commitb9dbf9517784084ee9496f9f17f9754c1d021a9e (patch)
tree9b51e9d9becd1d9ed40ffaf34e960bc22970fae8 /arch/arm/mach-shmobile
parentclockevents: Make clockevents_config() a global symbol (diff)
downloadlinux-dev-b9dbf9517784084ee9496f9f17f9754c1d021a9e.tar.xz
linux-dev-b9dbf9517784084ee9496f9f17f9754c1d021a9e.zip
clocksource: em_sti: Emma Mobile STI driver
The STI hardware is based on a single 48-bit 32kHz counter that together with two individual compare registers can generate interrupts. There are no timer operating modes selectable which means that the timer can not clear on match. This driver is providing clocksource support for the 48-bit counter. Clockevents are also supported using the same timer in oneshot mode. Signed-off-by: Magnus Damm <damm@opensource.se> Cc: horms@verge.net.au Cc: arnd@arndb.de Cc: johnstul@us.ibm.com Cc: rjw@sisk.pl Cc: lethal@linux-sh.org Cc: gregkh@linuxfoundation.org Cc: olof@lixom.net Link: http://lkml.kernel.org/r/20120525070344.23443.69756.sendpatchset@w520 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index f31383c32f9c..df33909205e2 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -186,6 +186,12 @@ config SH_TIMER_TMU
help
This enables build of the TMU timer driver.
+config EM_TIMER_STI
+ bool "STI timer driver"
+ default y
+ help
+ This enables build of the STI timer driver.
+
endmenu
config SH_CLK_CPG