From: Mark Brown Date: Fri, 26 Jul 2024 13:49:41 +0000 (+0100) Subject: regulator: Further restrict RZG2L USB VBCTRL regulator dependencies X-Git-Tag: v6.12~796^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e975d955c07cbc2cd6a83a5d8235d8373441fdb9;p=platform%2Fkernel%2Flinux-amlogic.git regulator: Further restrict RZG2L USB VBCTRL regulator dependencies Since the regulator can't be used without the USB controller also tighten the dependency to match, as well as the default. Reviewed-by: Biju Das Signed-off-by: Mark Brown Link: https://patch.msgid.link/20240726-regulator-restrict-rzg2l-v1-1-640e508896e2@kernel.org Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 5be44606ac15..5560dc4db986 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1636,7 +1636,7 @@ config REGULATOR_UNIPHIER config REGULATOR_RZG2L_VBCTRL tristate "Renesas RZ/G2L USB VBUS regulator driver" - depends on ARCH_RZG2L || COMPILE_TEST + depends on RESET_RZG2L_USBPHY_CTRL || COMPILE_TEST depends on OF select REGMAP_MMIO default RESET_RZG2L_USBPHY_CTRL