
17 Mar
2023
17 Mar
'23
6:25 p.m.
On Fri, Mar 17, 2023 at 11:16:25AM +1300, Chris Packham wrote:
Adding support for Analog Devices MAX313XX series RTCs.
This is ported from the Linux driver and adapted for use in u-boot. Notable differences are
- handling of tm_year and tm_mon differ
- clock source support is omitted
- hwmon support for the MAX31328 and MAX31343 is omitted
- rtc_ops->reset is added
Signed-off-by: Chris Packham judge.packham@gmail.com
drivers/rtc/Kconfig | 8 + drivers/rtc/Makefile | 1 + drivers/rtc/max313xx.c | 442 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 451 insertions(+) create mode 100644 drivers/rtc/max313xx.c
Can we please enable this in sandbox as well, so it's tested in CI and put through static analysis? Thanks.
--
Tom