rtc: snvs: Add i.MX SNVS RTC driver
PATCH 1/1 rtc: snvs: Add i.MX SNVS RTC driver
From: Alexander Koch <[email protected]>
Add simple driver for i.MX SNVS RTC IP present in NXP i.MX SoCs.
Signed-off-by Alexander Koch <[email protected]>
Signed-off-by Marek Vasut <[email protected]>
---
Cc: Alexander Feilke <[email protected]>
Cc: Alexander Koch <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
--- drivers/rtc/Kconfig | 7 +++ drivers/rtc/Makefile | 1 + drivers/rtc/snvs-rtc.c | 118 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 drivers/rtc/snvs-rtc.c
drivers/rtc/Kconfig +7 -0
@@ -296,6 +296,13 @@ config SPL_RTC_SANDBOX emulator and is used to test the RTC uclasses and associated code, as well as the I2C subsystem. +config RTC_SNVS + bool "Enable i.MX SNVS RTC driver" + depends on DM_RTC + help + Enable i.MX RTC driver. This driver supports the RTC that is present + on various NXP i.MX SoCs. + config RTC_STM32 bool "Enable STM32 RTC driver" depends on DM_RTC
drivers/rtc/Makefile +1 -0
@@ -38,6 +38,7 @@ obj-$(CONFIG_RTC_RV8803) += rv8803.o obj-$(CONFIG_RTC_RX8025) += rx8025.o obj-$(CONFIG_RTC_RX8010SJ) += rx8010sj.o obj-$(CONFIG_RTC_S35392A) += s35392a.o +obj-$(CONFIG_RTC_SNVS) += snvs-rtc.o obj-$(CONFIG_RTC_STM32) += stm32_rtc.o obj-$(CONFIG_$(PHASE_)RTC_SANDBOX) += sandbox_rtc.o obj-$(CONFIG_RTC_ABX80X) += abx80x.o
drivers/rtc/snvs-rtc.c new file +118 -0
118 lines not on this page · raw message
Signature · 1 line
2.53.0