[PATCH] usb: dwc3: core: add external vBus supply support for ulpi phy

Marek Vasut marex at denx.de
Tue Sep 12 18:38:44 CEST 2023


On 9/12/23 06:01, Venkatesh Yadav Abbarapu wrote:
> [ Piyush: Ported from Linux kernel commit
> 	  b84ba26c922a ("usb: dwc3: core: add external vBus
> 				supply support for ulpi phy") ]
> 
> Some ULPI USB PHY does not support internal VBUS supply, to drive the CPEN
> pin, which requires the configuration of the ULPI DRVVBUSEXTERNAL bit of
> OTG_CTRL register.
> 
> Added 'snps,ulpi-ext-vbus-drv' a DT property to configure the USB2 PHY to
> drive VBUS with an external supply, by setting the USB2 PHY ULPIEXTVBUSDRV
> bit[:17] of the GUSB2PHYCFG register to drive VBUS with an external supply.
> 
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>

Please sync the DWC3 driver with Linux first.


More information about the U-Boot mailing list