[U-Boot] [PATCH v3 2/2] rtc: Add rtc driver for stm32mp1
Patrick DELAUNAY
patrick.delaunay at st.com
Mon Jul 22 12:37:44 UTC 2019
Hi,
> From: Benjamin GAIGNARD <benjamin.gaignard at st.com>
> Sent: jeudi 11 juillet 2019 12:04
>
> Add support of STM32MP1 rtc driver.
> Enable it for basic and trusted configurations.
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at st.com>
> ---
> version 3:
> - release clock only on error cases.
>
> configs/stm32mp15_basic_defconfig | 2 +
> configs/stm32mp15_trusted_defconfig | 2 +
> drivers/rtc/Kconfig | 6 +
> drivers/rtc/Makefile | 1 +
> drivers/rtc/stm32_rtc.c | 323
> ++++++++++++++++++++++++++++++++++++
> 5 files changed, 334 insertions(+)
> create mode 100644 drivers/rtc/stm32_rtc.c
>
Applied to u-boot-stm32/master, thanks!
But still errors because RTC year as only 2 digits in register (00-99 only =>> %100 is missing)
and U-Boot expect year with 4 digits (0000-9999)
=> I will push a correction today.
Patrick
More information about the U-Boot
mailing list