diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-05-01 06:51:00 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:41:15 +0900 |
commit | 9570ef20423b549757aa484ad388f9a7d5bdc4d9 (patch) | |
tree | 900abba67f478327554307cb74e2683b632f3289 /arch/sh/Kconfig | |
parent | 3280c8865e1b738604bacdea54738acef31e8c12 (diff) | |
download | kernel_samsung_crespo-9570ef20423b549757aa484ad388f9a7d5bdc4d9.zip kernel_samsung_crespo-9570ef20423b549757aa484ad388f9a7d5bdc4d9.tar.gz kernel_samsung_crespo-9570ef20423b549757aa484ad388f9a7d5bdc4d9.tar.bz2 |
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 bda3dc1..1f74737 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 |