[PATCH] rtc: zynqmp: allow on Versal architectures

Michal Simek michal.simek at amd.com
Tue Jan 14 08:38:15 CET 2025



On 1/7/25 17:20, Vincent Fazio wrote:
> Allow the ZyncMP RTC driver to be enabled on Versal architectures.
> 
> Signed-off-by: Vincent Fazio <vfazio at xes-inc.com>
> ---
>   drivers/rtc/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 9c2d1398247..ecdcfe1f240 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -294,7 +294,7 @@ config RTC_DAVINCI
>   
>   config RTC_ZYNQMP
>   	bool "Enable ZynqMP RTC driver"
> -	depends on ARCH_ZYNQMP
> +	depends on 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.
> 
> base-commit: 6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72

The patch looks good but there is missing also DM_RTC dependency.
Can you please send v2 with also adding it?

Thanks,
Michal


More information about the U-Boot mailing list