summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-01-22 09:55:59 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-01-29 07:56:32 (GMT)
commit3fb1b6ad0679ad671bd496712b2a088550ee86b2 (patch)
treec8cbdb83a2ee6f3d1b9078d7b87e92e7dc1d9764 /arch/sh
parent07821d3310996746a2cf1e9c705ffe64223d1112 (diff)
downloadlinux-fsl-qoriq-3fb1b6ad0679ad671bd496712b2a088550ee86b2.tar.xz
sh: CMT clockevent platform driver
SuperH CMT clockevent driver. Both 16-bit and 32-bit CMT versions are supported, but only 32-bit is tested. This driver contains support for both clockevents and clocksources, but no unregistration is supported at this point. Works fine as clock source and/or event in periodic or oneshot mode. Tested on sh7722 and sh7723, but should work with any cpu/architecture. This version is lacking clocksource and early platform driver support for now - this to minimize the amount of dependencies. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index ebabe51..5407e12 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -397,6 +397,14 @@ source "arch/sh/boards/Kconfig"
menu "Timer and clock configuration"
+config SH_TIMER_CMT
+ def_bool n
+ prompt "CMT support"
+ select GENERIC_TIME
+ select GENERIC_CLOCKEVENTS
+ help
+ This enables build of the CMT system timer driver.
+
config SH_TMU
def_bool y
prompt "TMU timer support"