diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-05-26 14:39:43 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-07-23 18:07:00 +0200 |
commit | 70bef01c0f1c9a55b54b625be3f82ff7ee1e8c05 (patch) | |
tree | df51afc42cd2cf358f1d1a15ab86fe3691190147 /drivers/clocksource/Kconfig | |
parent | mfd: dt-bindings: Provide human readable define for Clocksource mode (diff) | |
download | linux-70bef01c0f1c9a55b54b625be3f82ff7ee1e8c05.tar.xz linux-70bef01c0f1c9a55b54b625be3f82ff7ee1e8c05.zip |
clocksource: sti: Provide support for the ST LPC Clocksource IP
This IP is shared with Watchdog and RTC functionality. All 3 of
these devices are mutually exclusive from one another i.e. Only 1
IP can be used at any given time. We use the device-driver model
combined with a DT 'mode' property to enforce this.
The ST LPC Clocksource IP can be used as the system (tick) timer.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r-- | drivers/clocksource/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 4e57730e0be4..ae3ec9da0d15 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -293,4 +293,12 @@ config CLKSRC_IMX_GPT depends on ARM && CLKDEV_LOOKUP select CLKSRC_MMIO +config CLKSRC_ST_LPC + bool + depends on ARCH_STI + select CLKSRC_OF if OF + help + Enable this option to use the Low Power controller timer + as clocksource. + endmenu |