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@xes-inc.com>
Link: https://lore.kernel.org/r/20250114135812.2605618-1-vfazio@xes-inc.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
(cherry picked from commit 3a2bf24a85)
This commit is contained in:
Vincent Fazio
2025-01-14 07:58:12 -06:00
committed by Simon Glass
parent 8f8da275e3
commit d53ed8d68a

View File

@@ -294,7 +294,7 @@ config RTC_DAVINCI
config RTC_ZYNQMP config RTC_ZYNQMP
bool "Enable ZynqMP RTC driver" bool "Enable ZynqMP RTC driver"
depends on ARCH_ZYNQMP depends on DM_RTC && (ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2)
help help
Say "yes" here to support the on chip real time clock Say "yes" here to support the on chip real time clock
present on Xilinx ZynqMP SoC. present on Xilinx ZynqMP SoC.