[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220923185358.11023-1-jagathjog1996@gmail.com>
Date: Sat, 24 Sep 2022 00:23:56 +0530
From: Jagath Jog J <jagathjog1996@...il.com>
To: alexandre.belloni@...tlin.com, a.zummo@...ertech.it,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, jagathjog1996@...il.com
Subject: [PATCH v3 0/2] rtc: max31329: add support for Maxim max31329 RTC
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@...el.com>
Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
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
Powered by blists - more mailing lists