[PATCH v3 0/2] rtc: max31329: add support for Maxim max31329 RTC
From: Jagath Jog J
Date: Fri Sep 23 2022 - 14:54:12 EST
Add driver and device tree bindings support for Maxim max31329 real
time clock.
Changes since v2.
1. Removed log messages from error cases.
2. Removed OSF check from _read_alarm(), _set_alarm(), _set_time().
3. Removed CLKOUT pin initialization in probe() since it is configurable
during runtime.
4. Configure wakeup support when interrupt is successfully configured
or if the 'wakeup-source' parameter present in DT.
5. Added check for 'years' in _set_alarm so that it doesn't' cross current
century.
Changes since v1.
1. Move 'allOf' after 'maintainers' in DT.
2. Add 'wakeup-source' into device tree bindings.
3. Add wakeup support depending on the 'wakeup-source' parameter from DT.
4. Remove unused 'dev' member from device private data structure.
5. Use '__maybe_unused' attribute for of_device_id table.
6. Initialize local variable 'events' to 0 in interrupt handler.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
7. Add Reviewed-by tag for device tree bindings.
Jagath Jog J (2):
dt-bindings: rtc: add Maxim max31329 rtc device tree bindings
rtc: max31329: Add Maxim max31329 real time clock
.../bindings/rtc/maxim,max31329.yaml | 61 +++
MAINTAINERS | 7 +
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-max31329.c | 507 ++++++++++++++++++
5 files changed, 586 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/maxim,max31329.yaml
create mode 100644 drivers/rtc/rtc-max31329.c
--
2.17.1