[PATCH 2/2] drivers: rtc: add max313xx series rtc driver

Tom Rini trini at konsulko.com
Fri Mar 17 18:25:20 CET 2023


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230317/6fb81443/attachment.sig>


More information about the U-Boot mailing list