u-boot/drivers/usb
Jagan Teki 6b7ebff001 usb: dwc3: Add phy interface for dwc3_uboot
U-Boot has two different variants of dwc3 initializations,
- with dm variant gadget, so the respective dm driver would
  call the dwc3_init in core.
- with non-dm variant gadget, so the usage board file would
  call dwc3_uboot_init in core.

The driver probe would handle all respective gadget properties
including phy interface via phy_type property and then trigger
dwc3_init for dm-variant gadgets.

So, to support the phy interface for non-dm variant gadgets,
the better option is dwc3_uboot_init since there is no
dedicated controller for non-dm variant gadgets.

This patch support for adding phy interface like 8/16-bit UTMI+
code for dwc3_uboot.

This change used Linux phy.h enum list, to make proper code
compatibility.

Cc: Marek Vasut <marex@denx.de>
Tested-by: Levin Du <djw@t-chip.com.cn>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2019-11-23 22:29:49 +08:00
..
cdns3 usb: cdns3: Add TI wrapper driver for CDNS USB3 controller 2019-11-07 00:24:59 +01:00
common usb: Introduce CONFIG_SPL_DM_USB 2018-11-26 21:19:03 +01:00
dwc3 usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
emul usb: Add nonblock argument to submit_int_msg 2019-09-11 10:11:29 +02:00
eth usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
gadget gadget: rockchip: Add rk3128 USB_GADGET_PRODUCT_NUM 2019-11-23 22:29:49 +08:00
host usb: xhci: support 1.1 or later version 2019-11-08 11:09:08 +01:00
musb usb: musb_hcd: fix compilation error 2019-09-11 10:11:39 +02:00
musb-new usb: Add nonblock argument to submit_int_msg 2019-09-11 10:11:29 +02:00
phy rockchip: usb: Migrate to use ofnode 2019-11-17 17:22:53 +08:00
ulpi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig usb: Add Cadence USB3 host and gadget driver 2019-11-07 00:24:59 +01:00