[PATCH] rtc: Update Kconfig dependencies
Tom Rini
trini at konsulko.com
Fri Mar 20 21:53:34 CET 2026
Update the dependencies for RTC drivers which did not express a
requirement on DM_RTC, or in some cases on DM_RTC being disabled. In a
few cases, when DM_RTC is disabled we also require DM_I2C to also be
disabled or for POWER_LEGACY to be enabled.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/rtc/Kconfig | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 648948cc735e..65d9bf533cb1 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -84,7 +84,7 @@ config RTC_DS1337_NOOSC
config RTC_DS1374
bool "Enable DS1374 driver"
- depends on !DM_RTC
+ depends on !DM_RTC && !DM_I2C
help
Support for Dallas Semiconductor (now Maxim) DS1374 and compatible
Real Time Clock devices.
@@ -166,12 +166,14 @@ config RTC_PCF85063
config RTC_PCF8563
bool "Philips PCF8563"
+ depends on DM_RTC
help
If you say yes here you get support for the Philips PCF8563 RTC
and compatible chips.
config RTC_PT7C4338
bool "Enable Pericom Technology PT7C4338 RTC driver"
+ depends on DM_RTC
config RTC_RV3028
bool "Enable RV3028 driver"
@@ -235,13 +237,14 @@ config RTC_MV
config RTC_S35392A
bool "Enable S35392A driver"
+ depends on DM_RTC
select BITREVERSE
help
Enable s35392a driver which provides rtc get and set function.
config RTC_MC13XXX
bool "Enable MC13XXX RTC driver"
- depends on !DM_RTC
+ depends on !DM_RTC && POWER_LEGACY
config RTC_MC146818
bool "Enable MC146818 driver"
@@ -253,6 +256,7 @@ config RTC_MC146818
config MCFRTC
bool "Use common CF RTC driver"
+ depends on DM_RTC
depends on M68K
config SYS_MCFRTC_BASE
@@ -262,9 +266,11 @@ config SYS_MCFRTC_BASE
config RTC_MXS
bool "Enable i.MXS RTC driver"
depends on ARCH_MX23 || ARCH_MX28
+ depends on !DM_RTC
config RTC_M41T62
bool "Enable M41T62 driver"
+ depends on DM_RTC
help
Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
It is a serial (I2C) real-time clock (RTC) with alarm.
@@ -305,6 +311,7 @@ config RTC_ABX80X
config RTC_DAVINCI
bool "Enable TI OMAP RTC driver"
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
+ depends on DM_RTC
help
Say "yes" here to support the on chip real time clock
present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
--
2.43.0
More information about the U-Boot
mailing list