[PATCH v2] rtc: zynqmp: allow on Versal architectures

Vincent Fazio vfazio at xes-inc.com
Tue Jan 14 14:37:17 CET 2025



> -----Original Message-----
> From: Vincent Fazio <vfazio at xes-inc.com>
> Sent: Tuesday, January 14, 2025 7:31 AM
> To: michal.simek at amd.com; u-boot at lists.denx.de
> Cc: trini at konsulko.com; vfazio at gmail.com; Vincent Fazio <vfazio at xes-
> inc.com>
> Subject: [PATCH v2] rtc: zynqmp: allow on Versal architectures
> 
> Allow the ZyncMP RTC driver to be enabled on Versal architectures.
> 
> Also, require DM_RTC since the driver uses the RTC driver model.
> 
> Signed-off-by: Vincent Fazio <vfazio at xes-inc.com>
> ---
> Changes in v2:
> - Add DM_RTC dependency (Michal)
> ---
>  drivers/rtc/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index
> 9c2d1398247..fe8cb254603 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -294,10 +294,10 @@ config RTC_DAVINCI
> 
>  config RTC_ZYNQMP
>  	bool "Enable ZynqMP RTC driver"
> -	depends on ARCH_ZYNQMP
> +	depends on DM_RTC && (ARCH_ZYNQMP || ARCH_VERSAL ||
> ARCH_VERSAL_NET ||
> +ARCH_VERSAL2)
>  	help
>  	  Say "yes" here to support the on chip real time clock
> -	  present on Xilinx ZynqMP SoC.
> +	  present on Xilinx ZynqMP SoCs.

Sorry for the noise here. I had at one point included Versal in the help text and pluralized SoCs.

I backed out the "Versal" part of that out but apparently failed to revert all of it.

I'll send a v3 to drop this change.

> 
>  config RTC_HT1380
>  	bool "Enable Holtek HT1380/HT1381 RTC driver"
> --
> 2.34.1



More information about the U-Boot mailing list