]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
reset: Correct dependencies for RESET_RZG2L_USBPHY_CTRL
authorTom Rini <trini@konsulko.com>
Mon, 23 Mar 2026 14:32:02 +0000 (08:32 -0600)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Fri, 8 May 2026 22:24:53 +0000 (00:24 +0200)
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@konsulko.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/reset/Kconfig

index 66911199c8bab0f1423913b427c6e39e6ba01b53..ebf484d9df4ead037778ca842e7a427ea1d2f37d 100644 (file)
@@ -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