linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] rtc: max31329: add support for Maxim max31329 RTC
@ 2022-09-23 18:53 Jagath Jog J
  2022-09-23 18:53 ` [PATCH v3 1/2] dt-bindings: rtc: add Maxim max31329 rtc device tree bindings Jagath Jog J
  2022-09-23 18:53 ` [PATCH v3 2/2] rtc: max31329: Add Maxim max31329 real time clock Jagath Jog J
  0 siblings, 2 replies; 5+ messages in thread
From: Jagath Jog J @ 2022-09-23 18:53 UTC (permalink / raw)
  To: alexandre.belloni, a.zummo, robh+dt, krzysztof.kozlowski+dt
  Cc: linux-rtc, linux-kernel, devicetree, jagathjog1996

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@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-17 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 18:53 [PATCH v3 0/2] rtc: max31329: add support for Maxim max31329 RTC Jagath Jog J
2022-09-23 18:53 ` [PATCH v3 1/2] dt-bindings: rtc: add Maxim max31329 rtc device tree bindings Jagath Jog J
2022-09-23 18:53 ` [PATCH v3 2/2] rtc: max31329: Add Maxim max31329 real time clock Jagath Jog J
2022-10-16  6:10   ` Jagath Jog J
2022-11-17 22:17   ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).