diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2024-06-16 12:53:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-26 19:17:06 +0200 |
commit | 84fbd6198766336f627ba08f073fd9970729074e (patch) | |
tree | 9d748b5581df9c0bed3a4736411ff640d4310a93 /drivers/regulator/Kconfig | |
parent | regulator: core: Add helper for allow HW access to enable/disable regulator (diff) | |
download | linux-84fbd6198766336f627ba08f073fd9970729074e.tar.xz linux-84fbd6198766336f627ba08f073fd9970729074e.zip |
regulator: Add Renesas RZ/G2L USB VBUS regulator driver
As per the RZ/G2L HW manual, VBUSEN can be controlled by the VBOUT
bit of the VBUS Control Register. This register is mapped in the reset
framework. The reset driver expose this register as regmap and instantiates
this driver. The consumer will use the regulator API to control the VBOUT
bit as the control need to be done in the atomic context.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20240616105402.45211-5-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r-- | drivers/regulator/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index d333be2bea3b..0281a9a6f4ce 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1634,6 +1634,15 @@ config REGULATOR_UNIPHIER help Support for regulators implemented on Socionext UniPhier SoCs. +config REGULATOR_RZG2L_VBCTRL + tristate "Renesas RZ/G2L USB VBUS regulator driver" + depends on ARCH_RZG2L || COMPILE_TEST + depends on OF + select REGMAP_MMIO + default ARCH_RZG2L + help + Support for VBUS regulators implemented on Renesas RZ/G2L SoCs. + config REGULATOR_VCTRL tristate "Voltage controlled regulators" depends on OF |