aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2016-04-25 04:45:44 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-04-28 09:09:06 -0400
commit0302637f1860400cfe0895e4355a5fecb89e0347 (patch)
treeedd6e38ec63fd5b042759d857e6c43b735edfc90 /drivers/clocksource/Kconfig
parent96669fa43ccaf4131183d4a3b0f159ce9ecaf2ff (diff)
clockevents/driversi/mps2: add MPS2 Timer driver
MPS2 platform has simple 32 bits general purpose countdown timers. The driver uses the first detected timer as a clocksource and the rest of the timers as a clockevent Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index c346be650892..6ff327abc555 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -186,6 +186,12 @@ config CLKSRC_STM32
186 depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 186 depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
187 select CLKSRC_MMIO 187 select CLKSRC_MMIO
188 188
189config CLKSRC_MPS2
190 bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
191 depends on GENERIC_SCHED_CLOCK
192 select CLKSRC_MMIO
193 select CLKSRC_OF
194
189config ARM_ARCH_TIMER 195config ARM_ARCH_TIMER
190 bool 196 bool
191 select CLKSRC_OF if OF 197 select CLKSRC_OF if OF