[PATCH v2] rtc: zynqmp: allow on Versal architectures
Vincent Fazio
vfazio at xes-inc.com
Tue Jan 14 14:30:40 CET 2025
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.
config RTC_HT1380
bool "Enable Holtek HT1380/HT1381 RTC driver"
--
2.34.1
More information about the U-Boot
mailing list