summaryrefslogtreecommitdiff
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-09-19 10:55:17 -0700
committerNeeraj Upadhyay <neeraju@codeaurora.org>2018-01-05 16:03:53 +0530
commit3851c63407176bbdab64accf4903873ff005f1f6 (patch)
tree9b4172270e89af734e9f33ce9ade7cf72da76160 /drivers/clocksource/Kconfig
parent022df8a55a6696c38a7442299292fd0d4d22d39f (diff)
clocksource: arch_timer: make virtual counter access configurable
Change-Id: Ibdb1fd768b748002b90bfc165612c12c8311f8a2 Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8bf3355e95db..64b8158675b5 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -167,6 +167,14 @@ config MSM_TIMER_LEAP
counter rollover. On every counter read if least significant
32 bits are set, reread counter.
+config ARM_ARCH_TIMER_VCT_ACCESS
+ bool "Support for ARM architected timer virtual counter access in userspace"
+ default !ARM64
+ depends on ARM_ARCH_TIMER
+ help
+ This option enables support for reading the ARM architected timer's
+ virtual counter in userspace.
+
config ARM_GLOBAL_TIMER
bool
select CLKSRC_OF if OF