čt 29. 7. 2021 v 13:36 odesílatel Michal Simek <michal.si...@xilinx.com> napsal: > > 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 >
Applied. M -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs