RE: [PATCH] regulator: Further restrict RZG2L USB VBCTRL regulator dependencies

From: Biju Das
Date: Fri Jul 26 2024 - 10:06:12 EST


Hi Mark Brown,

Thanks for the patch.

> -----Original Message-----
> From: Mark Brown <broonie@xxxxxxxxxx>
> Sent: Friday, July 26, 2024 2:50 PM
> Subject: [PATCH] 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.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>

Reviewed-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>

Cheers,
Biju

> ---
> drivers/regulator/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
>
> ---
> base-commit: 7164122e25b18806f5dce68c8a0bdaa9e4f902a5
> change-id: 20240726-regulator-restrict-rzg2l-084f562ee345
>
> Best regards,
> --
> Mark Brown <broonie@xxxxxxxxxx>