[PATCH 0/4] xilinx: Add RTC support for Xilinx ZynqMP
Michal Simek
michal.simek at xilinx.com
Thu Jul 29 13:36:21 CEST 2021
Hi,
this series is correcting RTC uclass behavior to match RTC aliases to
enable RTC_EMULATION driver with ZYNQMP driver. If DT node is present
ZynqMP RTC is used. If not RTC emaulation is used.
The driver has been tested on Xilinx zcu104 also with booting to Linux to
make sure that U-Boot format match with Linux format.
Thanks,
Michal
Michal Simek (4):
dm: rtc: uclass: Add flag to control sequence numbering
cmd: date: rtc: Update command to read the first RTC with seq 0
rtc: zynqmp: Add support for ZynqMP RTC
xilinx: zynqmp: Enable CMD_RTC command with Zynqmp RTC driver
MAINTAINERS | 1 +
cmd/date.c | 9 +-
configs/xilinx_zynqmp_virt_defconfig | 2 +
drivers/rtc/Kconfig | 7 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-uclass.c | 1 +
drivers/rtc/zynqmp_rtc.c | 158 +++++++++++++++++++++++++++
7 files changed, 176 insertions(+), 3 deletions(-)
create mode 100644 drivers/rtc/zynqmp_rtc.c
--
2.32.0
More information about the U-Boot
mailing list