summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-01-11 14:46:43 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-01-13 01:40:31 +0100
commit4e64350f42e2ce153bdffd9fe1741333f5a41e57 (patch)
tree7555c295152c00518628739745a3baea7ac906f6 /drivers/rtc/Kconfig
parent7c60930500b5b48e12ef6b9d332b300f3e9a8354 (diff)
downloadlinux-4e64350f42e2ce153bdffd9fe1741333f5a41e57.tar.bz2
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/Kconfig11
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