diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-05-01 08:51:00 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 10:41:15 +0200 |
commit | 9570ef20423b549757aa484ad388f9a7d5bdc4d9 (patch) | |
tree | 900abba67f478327554307cb74e2683b632f3289 /arch/sh/Kconfig | |
parent | sh: remove old MTU2 driver (diff) | |
download | linux-9570ef20423b549757aa484ad388f9a7d5bdc4d9.tar.xz linux-9570ef20423b549757aa484ad388f9a7d5bdc4d9.zip |
clocksource: SuperH TMU Timer driver
This patch adds a TMU driver for the SuperH architecture.
The TMU driver is a platform driver with early platform
support to allow using a TMU channel as clockevent or
clocksource during system bootup or later.
Clocksource or clockevent can be selected.
Both periodic and oneshot clockevents are supported.
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 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index bda3dc1b0c26..1f74737c4f20 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -116,6 +116,9 @@ config SYS_SUPPORTS_CMT config SYS_SUPPORTS_MTU2 bool +config SYS_SUPPORTS_TMU + bool + config STACKTRACE_SUPPORT def_bool y @@ -470,6 +473,15 @@ config SH_TMU help This enables the use of the TMU as the system timer. +config SH_TIMER_TMU + bool "TMU timer driver" + depends on !SH_TMU && SYS_SUPPORTS_TMU + default y + select GENERIC_TIME + select GENERIC_CLOCKEVENTS + help + This enables the build of the TMU timer driver. + config SH_TIMER_CMT bool "CMT timer driver" depends on SYS_SUPPORTS_CMT |