diff options
author | Biwen Li <biwen.li@nxp.com> | 2019-08-13 05:01:56 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-23 16:20:50 +0200 |
commit | 7b0b551dbc1e0acb2a3a6a7fbebc3ab9cf68a050 (patch) | |
tree | 5edb848c1a40ac8c84a97e61eeb6f47f6fa839c1 /drivers/rtc/Kconfig | |
parent | dt-bindings: rtc: add bindings for FlexTimer Module (diff) | |
download | linux-7b0b551dbc1e0acb2a3a6a7fbebc3ab9cf68a050.tar.xz linux-7b0b551dbc1e0acb2a3a6a7fbebc3ab9cf68a050.zip |
rtc: fsl-ftm-alarm: add FTM alarm driver
For the platforms including LS1012A, LS1021A, LS1028A, LS1043A,
LS1046A, LS1088A, LS208xA that has the FlexTimer
module, implementing alarm functions within RTC subsystem
to wakeup the system when system going to sleep (work with RCPM driver).
Signed-off-by: Biwen Li <biwen.li@nxp.com>
Link: https://lore.kernel.org/r/20190813030157.48590-1-biwen.li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 59fbf8b761b9..63bd72a96210 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1328,6 +1328,21 @@ config RTC_DRV_IMXDI This driver can also be built as a module, if so, the module will be called "rtc-imxdi". +config RTC_DRV_FSL_FTM_ALARM + tristate "Freescale FlexTimer alarm timer" + depends on ARCH_LAYERSCAPE || SOC_LS1021A + select FSL_RCPM + default y + help + For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A, + LS1088A, LS208xA, we can use FTM as the wakeup source. + + Say y here to enable FTM alarm support. The FTM alarm provides + alarm functions for wakeup system from deep sleep. + + This driver can also be built as a module, if so, the module + will be called "rtc-fsl-ftm-alarm". + config RTC_DRV_MESON tristate "Amlogic Meson RTC" depends on (ARM && ARCH_MESON) || COMPILE_TEST |