[PATCH v5 0/2] Add support for the DFRobot SD2405AL I2C RTC Module.

From: Tóth János via B4 Relay
Date: Wed Aug 28 2024 - 04:23:34 EST


This patch series adds a driver and the documentation for the SD2405AL I2C RTC.

Signed-off-by: Tóth János <gomba007@xxxxxxxxx>
---
Changes in v5:
- Rework based on Alexandre Belloni's suggestions.
- Drop explicit initialization of struct i2c_device_id::driver_data.
- Add documentation.
- Link to v4: https://lore.kernel.org/r/20240624-rtc-sd2405al-v4-1-2b2bc759f98f@xxxxxxxxx

Changes in v4:
- Implement more comprehensive data validation.
- Inline some temporary variables.
- Link to v3: https://lore.kernel.org/r/20240620-rtc-sd2405al-v3-1-65d5bb01af50@xxxxxxxxx

Changes in v3:
- #define-s of registers are reworked.
- Minor revisions based on the reviewer's suggestions.
- Link to v2: https://lore.kernel.org/r/20240619-rtc-sd2405al-v2-1-39bea29bd2a5@xxxxxxxxx

Changes in v2:
- Refactored based on reviewer's suggestions.
- I couldn't get the I2C IRQ to work on Raspberry Pi 4, so alarm is
skipped.
- Link to v1: https://lore.kernel.org/r/20240607-rtc-sd2405al-v1-1-535971e7a866@xxxxxxxxx

---
Tóth János (2):
drivers: rtc: Add driver for SD2405AL.
dt-bindings: rtc: Add support for SD2405AL.

.../devicetree/bindings/rtc/trivial-rtc.yaml | 2 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 6 +
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-sd2405al.c | 227 +++++++++++++++++++++
6 files changed, 248 insertions(+)
---
base-commit: c3f38fa61af77b49866b006939479069cd451173
change-id: 20240607-rtc-sd2405al-a0947377c73d

Best regards,
--
Tóth János <gomba007@xxxxxxxxx>