> -----Original Message-----
> From: Vincent Fazio <vfa...@xes-inc.com>
> Sent: Tuesday, January 14, 2025 7:31 AM
> To: michal.si...@amd.com; u-boot@lists.denx.de
> Cc: tr...@konsulko.com; vfa...@gmail.com; Vincent Fazio <vfazio@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 <vfa...@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

Reply via email to