rtc: Update Kconfig dependencies
PATCH 1/1 rtc: Update Kconfig dependencies
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 <[email protected]>
--- drivers/rtc/Kconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
drivers/rtc/Kconfig +9 -2
@@ -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.
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
Update the dependencies for RTC drivers which did not express a requirement on
DM_RTC, or in some cases onDM_RTCbeing disabled. In a few cases, whenDM_RTCis disabled we also requireDM_I2Cto also be disabled or forPOWER_LEGACYto be enabled.
Applied to u-boot/next, thanks!
[1/1] rtc: Update Kconfig dependencies
commit: 99bc9d07b7304f9db08abd6c86229043441ea0b8
Signature · 1 line
Tom