mbox series

[0/2] max313xx RTC driver

Message ID 20230316221626.1043438-1-judge.packham@gmail.com
Headers show
Series max313xx RTC driver | expand

Message

Chris Packham March 16, 2023, 10:16 p.m. UTC
This series is based on the in-flight linux patch that is adding support
for this family of RTCs to linux[1]. The u-boot driver is a bit
different due to some of the differences between Linux and u-boot and
I've dropped the support for hwmon and clock source functions. Where
possible I've tried to keep things such that the U-Boot and Linux
versions can be compared and kept in sync.

[1] - https://lore.kernel.org/all/20221108122254.1185-2-Ibrahim.Tilki@analog.com/


Chris Packham (2):
  include: kernel.h: port find_closest() from Linux
  drivers: rtc: add max313xx series rtc driver

 drivers/rtc/Kconfig    |   8 +
 drivers/rtc/Makefile   |   1 +
 drivers/rtc/max313xx.c | 442 +++++++++++++++++++++++++++++++++++++++++
 include/linux/kernel.h |  24 +++
 4 files changed, 475 insertions(+)
 create mode 100644 drivers/rtc/max313xx.c