dt-bindings: usb: dwc3: Add snps,ulpi-ext-vbus-drv quirk
authorPiyush Mehta <piyush.mehta@amd.com>
Wed, 15 Feb 2023 09:31:45 +0000 (15:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2023 14:31:07 +0000 (15:31 +0100)
commit487e6f420b7a3eed775118635d310ffa024ff7ef
treeaa63693b25e0d011fb0cc3f49d48e9abfd584ddc
parentaa78a736a94f1e2771d5400d4286d907624f5f8d
dt-bindings: usb: dwc3: Add snps,ulpi-ext-vbus-drv quirk

Some ULPI USB PHYs do not support an internal vBus supply, to drive the
CPEN pin properly, it requires configuration of the ULPI DRVVBUSEXTERNAL
bit of the USB ULPI PHY OTG_CTRL register.

Added 'snps,ulpi-ext-vbus-drv' DT property to configure the USB2 PHY to
drives VBUS with an external supply.

When the ULPIEXTVBUSDRV bit is set to '1' in the Global USB2 PHY
Configuration registers, PHY drive vBus with an external 5V supply source.

Signed-off-by: Piyush Mehta <piyush.mehta@amd.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230215093146.5812-2-piyush.mehta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/snps,dwc3.yaml