summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-04-16 13:22:59 -0400
committerPawel Moll <pawel.moll@arm.com>2014-05-15 12:02:20 -0400
commit220e2a8d22cd57d5ec8111465923c6c25691394d (patch)
treeec0f82e350f4add4dddb542a9a76a14ab9d026fc /drivers/clocksource/Kconfig
parent5ee2b877793d89f1d73338d08af12f73fbbfed4a (diff)
clocksource: Sched clock source for Versatile Express
This patch adds a trival sched clock source using free running, 24MHz clocked counter present in the ARM Ltd. reference platforms (Versatile, RealView, Versatile Express) System Registers block. This code replaces the call in the VE machine code. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 96918e1f26a3..2c27b02f0860 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -191,3 +191,14 @@ config EM_TIMER_STI
191 191
192config CLKSRC_QCOM 192config CLKSRC_QCOM
193 bool 193 bool
194
195config CLKSRC_VERSATILE
196 bool "ARM Versatile (Express) reference platforms clock source"
197 depends on GENERIC_SCHED_CLOCK
198 select CLKSRC_OF
199 default y if MFD_VEXPRESS_SYSREG
200 help
201 This option enables clock source based on free running
202 counter available in the "System Registers" block of
203 ARM Versatile, RealView and Versatile Express reference
204 platforms.