Skip to contentSkip to conversation

rtc: add ds1672 driver

PATCH In review Tim Harvey 2 participants 2 messages Jun 2, 2025 – Jun 25, 2025 Real time clock (RTC)

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 rtc: add ds1672 driver

Add support for Dallas/Maxim ds1672 32bit counter RTC.

---
 drivers/rtc/Kconfig  |   7 +++
 drivers/rtc/Makefile |   1 +
 drivers/rtc/ds1672.c | 117 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 125 insertions(+)
 create mode 100644 drivers/rtc/ds1672.c
drivers/rtc/Kconfig +7 -0
index 6467f20422be..79b879d68d1b 100644
@@ -94,6 +94,13 @@ config RTC_DS1374
 	  Support for Dallas Semiconductor (now Maxim) DS1374 and compatible
 	  Real Time Clock devices.
 
+config RTC_DS1672
+	bool "Enable DS1672 driver"
+	depends on DM_RTC
+	help
+	  Support for Dallas Semiconductor (now Maxim) DS1672 compatible
+	  Real Time Clock devices.
+
 config RTC_DS3231
 	bool "Enable DS3231 driver"
 	help
drivers/rtc/Makefile +1 -0
index 99b5a2a346a9..a4ede413cd17 100644
@@ -12,6 +12,7 @@ obj-$(CONFIG_RTC_DS1307) += ds1307.o
 obj-$(CONFIG_RTC_DS1338) += ds1307.o
 obj-$(CONFIG_RTC_DS1337) += ds1337.o
 obj-$(CONFIG_RTC_DS1374) += ds1374.o
+obj-$(CONFIG_RTC_DS1672) += ds1672.o
 obj-$(CONFIG_RTC_DS3231) += ds3231.o
 obj-$(CONFIG_RTC_DS3232) += ds3232.o
 obj-$(CONFIG_RTC_EMULATION) += emul_rtc.o
drivers/rtc/ds1672.c new file +117 -0

117 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Tim Harvey

Add support for Dallas/Maxim ds1672 32bit counter RTC.

Applied to u-boot/next, thanks!

[1/1] rtc: add ds1672 driver

      commit: e63e088b600df84b2259a06fcd0929cfe31c0cb7
Signature · 1 line
Tom