[PATCH] reset: Correct dependencies for RESET_RZG2L_USBPHY_CTRL

Tom Rini trini at konsulko.com
Tue Mar 17 02:24:43 CET 2026


As exposed by "make randconfig", we have an issue with the dependencies
for RESET_RZG2L_USBPHY_CTRL. As REGULATOR_RZG2L_USBPHY depends on
DM_REGULATOR this symbol must also depend on it as well.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
 drivers/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 66911199c8ba..3f0ec50510c0 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -239,7 +239,7 @@ config RESET_AT91
 
 config RESET_RZG2L_USBPHY_CTRL
 	bool "Enable support for Renesas RZ/G2L USB 2.0 PHY control"
-	depends on DM_RESET
+	depends on DM_RESET && DM_REGULATOR
 	select REGULATOR_RZG2L_USBPHY
 	help
 	  Enable support for controlling USB 2.0 PHY resets on the Renesas
-- 
2.43.0



More information about the U-Boot mailing list