u-boot-brain/drivers/usb/dwc3
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
..
core.c usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
core.h usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
dwc3-generic.c dwc3-generic: Don't fail probe if clk/reset entries are absent 2019-10-31 12:11:24 +01:00
dwc3-meson-g12a.c usb: dwc3: Add Meson G12A USB Glue 2019-05-09 10:38:32 +02:00
dwc3-omap.c drivers: usb: dwc3: remove devm_zalloc from linux_compact 2018-05-18 13:37:02 +02:00
dwc3-uniphier.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ep0.c usb: dwc3: Fix a compilation error with the edison defconfig 2018-12-07 16:31:45 +01:00
gadget.c dwc3: flush cache only if there is a buffer attached to a request 2019-10-31 12:12:31 +01:00
gadget.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig usb: dwc3: Kconfig: get rid of obsolete mode selection 2019-10-24 11:28:17 +02:00
linux-compat.h bug.h: introduce WARN_ONCE 2018-06-07 17:08:06 -04:00
Makefile usb: dwc3: Add Meson G12A USB Glue 2019-05-09 10:38:32 +02:00
samsung_usb_phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ti_usb_phy.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00