Skip to contentSkip to conversation

rtc: add simple pcf85363 driver

RFC New Antony Pavlov 1 participant 1 message Nov 3, 2021 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

RFC 1/1 rtc: add simple pcf85363 driver

---
 drivers/rtc/Kconfig        |   7 ++
 drivers/rtc/Makefile       |   1 +
 drivers/rtc/rtc-pcf85363.c | 195 +++++++++++++++++++++++++++++++++++++
 3 files changed, 203 insertions(+)
 create mode 100644 drivers/rtc/rtc-pcf85363.c
drivers/rtc/Kconfig +7 -0
index 9d2c6e614b..50f352f422 100644
@@ -36,6 +36,13 @@ config RTC_DRV_DS1307
 config RTC_DRV_ABRACON
 	tristate "Abracon RTCs"
 
+config RTC_DRV_PCF85363
+	tristate "NXP PCF85363"
+	depends on I2C
+	select REGMAP_I2C
+	help
+	  If you say yes here you get support for the PCF85363 RTC chip.
+
 endif # I2C
 
 config RTC_DRV_IMXDI
drivers/rtc/Makefile +1 -0
index 1308beff38..163264a8c6 100644
@@ -11,3 +11,4 @@ obj-$(CONFIG_RTC_DRV_ABRACON)   += rtc-abracon.o
 obj-$(CONFIG_RTC_DRV_DS1307)    += rtc-ds1307.o
 obj-$(CONFIG_RTC_DRV_IMXDI)	+= rtc-imxdi.o
 obj-$(CONFIG_RTC_DRV_JZ4740)	+= rtc-jz4740.o
+obj-$(CONFIG_RTC_DRV_PCF85363)	+= rtc-pcf85363.o
drivers/rtc/rtc-pcf85363.c new file +195 -0

195 lines not on this page · raw message

Signature · 7 lines
2.33.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox