summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorVincent Fazio <vfazio@xes-inc.com>2025-01-14 07:58:12 -0600
committerMichal Simek <michal.simek@amd.com>2025-01-14 15:34:51 +0100
commit3a2bf24a85b2b35f1c7d6f0633d6aa528a6970b8 (patch)
tree661012fdf335f728668df19a4133d7a508327bb7 /drivers/rtc
parentf039cde1e2cf0eab7934679109648b9a6fda465c (diff)
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 9c2d1398247..6467f20422b 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 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.