summaryrefslogtreecommitdiff
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-01-27 15:02:15 -0500
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-02-07 20:58:30 +0100
commitfb6002a8268c493435d0e6d0d6ad17873919a7f6 (patch)
tree43086e43f80a6a243546bb23be52cda795cf46ee /drivers/clocksource/Kconfig
parenta1966cd29d5fee2fada47b82dcb73126eb65dfd4 (diff)
clocksource/drivers/ostm: Add renesas-ostm timer driver
This patch adds a OSTM driver for the Renesas architecture. The OS Timer (OSTM) has independent channels that can be used as a freerun or interval times. This driver uses the first probed device as a clocksource and then any additional devices as clock events. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index afef0e8b3985..4002d6d8d195 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -484,6 +484,13 @@ config SH_TIMER_MTU2
Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
This hardware comes with 16 bit-timer registers.
+config RENESAS_OSTM
+ bool "Renesas OSTM timer driver" if COMPILE_TEST
+ depends on GENERIC_CLOCKEVENTS
+ select CLKSRC_MMIO
+ help
+ Enables the support for the Renesas OSTM.
+
config SH_TIMER_TMU
bool "Renesas TMU timer driver" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS