mbox series

[0/2] usb: dwc3: core: add external vBus supply support for ulpi phy

Message ID 20230215093146.5812-1-piyush.mehta@amd.com
Headers show
Series usb: dwc3: core: add external vBus supply support for ulpi phy | expand

Message

Mehta, Piyush Feb. 15, 2023, 9:31 a.m. UTC
Some ULPI USB PHY does not support internal VBUS supply, they worked on
with an external supply. To support the external vBus supply for ULPI PHY,
added 'snps,ulpi-ext-vbus-drv' quirk and based on quirk configure the ULPI
PHY in the phy configuration setup.
---
Reference for dwc3 register data-base Link: GUSB2PHYCFG (USB3_XHCI) Register [:ULPIEXTVBUSDRV]
https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html
---
Piyush Mehta (2):
  dt-bindings: usb: dwc3: Add snps,ulpi-ext-vbus-drv quirk
  usb: dwc3: core: add external vBus supply support for ulpi phy

 Documentation/devicetree/bindings/usb/snps,dwc3.yaml |  8 ++++++++
 drivers/usb/dwc3/core.c                              | 12 ++++++++++++
 drivers/usb/dwc3/core.h                              |  4 ++++
 3 files changed, 24 insertions(+)