]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Add USB VBUS regulator for RZ/G2L
authorMark Brown <broonie@kernel.org>
Wed, 26 Jun 2024 19:09:28 +0000 (20:09 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2024 19:09:28 +0000 (20:09 +0100)
commitdb576ed76232875ca92372771bfd247ad47b46ce
tree8fd09d0b674931515bfe869440fc72d75d5578f9
parentb147ae7ae5141cb10c520d372ecabb2c520210c4
parent84fbd6198766336f627ba08f073fd9970729074e
Add USB VBUS regulator for RZ/G2L

Merge series from Biju Das <biju.das.jz@bp.renesas.com>:

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. But
this IP is in the Reset block.

Reset driver exposes this register as regmap and instantiate the USB VBUS
regulator device. Consumers(phy device) can use regulator APIs to control
VBUS as controlling is done in the atomic context using a new API which
is added for the purpose.
include/linux/regulator/consumer.h