u-boot-brain/drivers/usb
Neil Armstrong 3dc4f83970 usb: dwc3-meson-g12a: add power-on/off of the PHYs
Power on/off the PHYs to enable power to the USB ports, fixing USB support
on Khadas VIM3/VIM3L boards.

The G12A USB complex has at least 2 USB2 PHYs, but one is muxed between the
DWC2 and DWC3 controller and the other one directly connected to the DWC3
controller. The USB3+PCIe combo PHY is muxed between the DWC3 controller
and a DW-PCIE controller.
All PHYs are optional, but it's type (usb2/usb3) and position are important
to determine it's capabilities, thus they are stored in a fixed size
array and the phy-name determines it's position, it's position determining
it's type and functionnalities.
This is why we need to loop over the array to power on all the DT provided
PHYs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2020-04-28 10:23:10 +02:00
..
cdns3 usb: Migrate to support live DT for some driver 2020-04-13 13:48:30 +02:00
common usb: Migrate to support live DT for some driver 2020-04-13 13:48:30 +02:00
dwc3 usb: dwc3-meson-g12a: add power-on/off of the PHYs 2020-04-28 10:23:10 +02:00
emul dm: test: usb: rework keyboard test 2019-11-25 13:28:53 +01:00
eth usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
gadget usb: Migrate to support live DT for some driver 2020-04-13 13:48:30 +02:00
host drivers: usb: host: Add BRCM xHCI driver 2020-04-13 13:48:41 +02:00
musb common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
musb-new usb: Migrate to support live DT for some driver 2020-04-13 13:48:30 +02:00
phy dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ulpi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig sunxi: Move common defconfig options to Kconfig 2020-03-18 18:25:00 +05:30