diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-01-22 04:55:59 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-29 02:56:32 -0500 |
commit | 3fb1b6ad0679ad671bd496712b2a088550ee86b2 (patch) | |
tree | c8cbdb83a2ee6f3d1b9078d7b87e92e7dc1d9764 /arch/sh/Kconfig | |
parent | 07821d3310996746a2cf1e9c705ffe64223d1112 (diff) |
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/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index ebabe518e729..5407e1295e51 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -397,6 +397,14 @@ source "arch/sh/boards/Kconfig" | |||
397 | 397 | ||
398 | menu "Timer and clock configuration" | 398 | menu "Timer and clock configuration" |
399 | 399 | ||
400 | config SH_TIMER_CMT | ||
401 | def_bool n | ||
402 | prompt "CMT support" | ||
403 | select GENERIC_TIME | ||
404 | select GENERIC_CLOCKEVENTS | ||
405 | help | ||
406 | This enables build of the CMT system timer driver. | ||
407 | |||
400 | config SH_TMU | 408 | config SH_TMU |
401 | def_bool y | 409 | def_bool y |
402 | prompt "TMU timer support" | 410 | prompt "TMU timer support" |