regulator: Add Renesas RZ/G2L USB VBUS regulator driver
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 16 Jun 2024 10:53:56 +0000 (11:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2024 17:17:06 +0000 (18:17 +0100)
commit84fbd6198766336f627ba08f073fd9970729074e
tree9d748b5581df9c0bed3a4736411ff640d4310a93
parent1cb7d29157603561af4c38535e936850ceb99f0f
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>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/renesas-usb-vbus-regulator.c [new file with mode: 0644]