diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-03-20 10:23:44 +1300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-30 15:09:59 -0400 |
commit | 0798a1ce0f6439dfb80d310e11bc8993e09baf08 (patch) | |
tree | fbababa9e40e67408baa71cfa4b9a065bf19763e /configs/sandbox_defconfig | |
parent | b5f045e12fea0a64a3749c4da1bdfd579530b67e (diff) | |
download | u-boot-0798a1ce0f6439dfb80d310e11bc8993e09baf08.tar.gz |
drivers: rtc: add max313xx series rtc driver
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/sandbox_defconfig')
-rw-r--r-- | configs/sandbox_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 2141c3d469..cbace259f8 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -269,6 +269,7 @@ CONFIG_SANDBOX_RESET=y CONFIG_RESET_SYSCON=y CONFIG_RESET_SCMI=y CONFIG_DM_RTC=y +CONFIG_RTC_MAX313XX=y CONFIG_RTC_RV8803=y CONFIG_RTC_HT1380=y CONFIG_SCSI=y |