mbox series

[0/4] xilinx: Add RTC support for Xilinx ZynqMP

Message ID cover.1627558582.git.michal.simek@xilinx.com
Headers show
Series xilinx: Add RTC support for Xilinx ZynqMP | expand

Message

Michal Simek July 29, 2021, 11:36 a.m. UTC
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

Comments

Michal Simek Aug. 6, 2021, 7:34 a.m. UTC | #1
čt 29. 7. 2021 v 13:36 odesílatel Michal Simek <michal.simek@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