[PATCH v2] reset: Correct dependencies for RESET_RZG2L_USBPHY_CTRL

Tom Rini trini at konsulko.com
Mon Mar 23 15:32:02 CET 2026


As exposed by "make randconfig", we have an issue with the dependencies
for RESET_RZG2L_USBPHY_CTRL. As this functionally depends on
REGULATOR_RZG2L_USBPHY, express this dependency directly in Kconfig as
well.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Changes in v2:
- Make RESET_RZG2L_USBPHY_CTRL depend on REGULATOR_RZG2L_USBPHY as
  suggested by Marek

Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
 drivers/reset/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 66911199c8ba..ebf484d9df4e 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -239,8 +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
-	select REGULATOR_RZG2L_USBPHY
+	depends on DM_RESET && REGULATOR_RZG2L_USBPHY
 	help
 	  Enable support for controlling USB 2.0 PHY resets on the Renesas
 	  RZ/G2L SoC. This is required for USB 2.0 functionality to work on this
-- 
2.43.0



More information about the U-Boot mailing list