diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-01-11 14:46:43 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-01-13 01:40:31 +0100 |
commit | 4e64350f42e2ce153bdffd9fe1741333f5a41e57 (patch) | |
tree | 7555c295152c00518628739745a3baea7ac906f6 /drivers/rtc/Kconfig | |
parent | dt-bindings: document the STM32 RTC bindings (diff) | |
download | linux-4e64350f42e2ce153bdffd9fe1741333f5a41e57.tar.xz linux-4e64350f42e2ce153bdffd9fe1741333f5a41e57.zip |
rtc: add STM32 RTC driver
This patch adds support for the STM32 RTC.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index c93c5a8fba32..6d4ee1481867 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1716,6 +1716,17 @@ config RTC_DRV_R7301 This driver can also be built as a module. If so, the module will be called rtc-r7301. +config RTC_DRV_STM32 + tristate "STM32 RTC" + select REGMAP_MMIO + depends on ARCH_STM32 || COMPILE_TEST + help + If you say yes here you get support for the STM32 On-Chip + Real Time Clock. + + This driver can also be built as a module, if so, the module + will be called "rtc-stm32". + comment "HID Sensor RTC drivers" config RTC_DRV_HID_SENSOR_TIME |