u-boot-brain/include/linux/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
..
at91_udc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atmel_usba_udc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cdc.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
ch9.h usb: composite: add BOS descriptor support to composite framework 2019-11-07 00:24:59 +01:00
composite.h usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
dwc3-omap.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dwc3.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gadget.h usb: composite: add BOS descriptor support to composite framework 2019-11-07 00:24:59 +01:00
musb.h usb: musb-new: Fix improper musb host pointer 2018-08-23 17:31:24 +05:30
otg.h usb: common: add support to get maximum speed from dt 2018-05-18 13:23:10 +02:00
phy.h usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
xhci-fsl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xhci-omap.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00