]> www.infradead.org Git - users/jedix/linux-maple.git/commit
reset: renesas: Add USB VBUS regulator device as child
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 2 Jul 2024 18:00:16 +0000 (19:00 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 3 Jul 2024 08:51:53 +0000 (10:51 +0200)
commit4068f22e4b47f7352fc369c22800e04d2860416b
treee2768a83e9673592ed11fe1dc2e83a3f0294127c
parentf64f2d6fdda459b10bc8f774ed87e9980a5021e5
reset: renesas: Add USB VBUS regulator device as child

As per RZ/G2L HW manual, VBUS enable can be controlled by the VBOUT bit
of the VBUS Control Register(VBENCTL) register in the USBPHY Control.

Expose this register as regmap and instantiate the USB VBUS regulator
device, so that consumer can control the vbus using regulator API's

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20240702180032.207275-3-biju.das.jz@bp.renesas.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-rzg2l-usbphy-ctrl.c