diff options
author | Chris Brandt | 2017-01-27 21:02:15 +0100 |
---|---|---|
committer | Daniel Lezcano | 2017-02-07 20:58:30 +0100 |
commit | fb6002a8268c493435d0e6d0d6ad17873919a7f6 (patch) | |
tree | 43086e43f80a6a243546bb23be52cda795cf46ee /drivers/clocksource/Kconfig | |
parent | clocksource/drivers/ostm: Document renesas-ostm timer DT bindings (diff) | |
download | kernel-qcow2-linux-fb6002a8268c493435d0e6d0d6ad17873919a7f6.tar.gz kernel-qcow2-linux-fb6002a8268c493435d0e6d0d6ad17873919a7f6.tar.xz kernel-qcow2-linux-fb6002a8268c493435d0e6d0d6ad17873919a7f6.zip |
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/Kconfig | 7 |
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 |