summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorMaxime Coquelin2015-05-09 09:53:46 +0200
committerDaniel Lezcano2015-06-02 12:10:14 +0200
commit4958ebb3d027886c46b936453745dba59b09c578 (patch)
tree803c91e5c84850baecf869d77f5152aca2cdd1d1 /drivers/clocksource/Kconfig
parentdt-bindings: Document the ARM System timer bindings (diff)
downloadkernel-qcow2-linux-4958ebb3d027886c46b936453745dba59b09c578.tar.gz
kernel-qcow2-linux-4958ebb3d027886c46b936453745dba59b09c578.tar.xz
kernel-qcow2-linux-4958ebb3d027886c46b936453745dba59b09c578.zip
clocksource/drivers/armv7m_systick: Add ARM System timer driver
This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Tested-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.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 47f9f22cd516..2c67ca94ed3b 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -144,6 +144,13 @@ config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
help
Use ARM global timer clock source as sched_clock
+config ARMV7M_SYSTICK
+ bool
+ select CLKSRC_OF if OF
+ select CLKSRC_MMIO
+ help
+ This options enables support for the ARMv7M system timer unit
+
config ATMEL_PIT
select CLKSRC_OF if OF
def_bool SOC_AT91SAM9 || SOC_SAMA5