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

Mark Brown posted 1 patch 1 month, 1 week ago
drivers/regulator/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] regulator: Further restrict RZG2L USB VBCTRL regulator dependencies
Posted by Mark Brown 1 month, 1 week ago
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@kernel.org>
---
 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@kernel.org>
Re: [PATCH] regulator: Further restrict RZG2L USB VBCTRL regulator dependencies
Posted by Mark Brown 1 month, 1 week ago
On Fri, 26 Jul 2024 14:49:41 +0100, Mark Brown wrote:
> Since the regulator can't be used without the USB controller also
> tighten the dependency to match, as well as the default.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: Further restrict RZG2L USB VBCTRL regulator dependencies
      commit: e975d955c07cbc2cd6a83a5d8235d8373441fdb9

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark