u-boot/include/linux
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
..
byteorder include/linux/byteorder: Sync to latest Linux definitions 2018-06-12 18:44:00 -04:00
clk clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
mtd mtd: spi: Add 'struct spi_flash {' to the code 2019-10-08 13:51:00 +08:00
soc/ti firmware: ti_sci: Add a command for releasing all exclusive devices 2019-07-26 21:49:22 -04:00
unaligned
usb usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
apm_bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arm-smccc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bch.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bitfield.h
bitmap.h bitmaps: import for_each_set_bit() macro 2019-11-07 00:24:59 +01:00
bitops.h bitops: Fix GENMASK definition for Sandbox 2019-02-07 15:33:21 +05:30
bitrev.h lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
bug.h bug.h: introduce WARN_ONCE 2018-06-07 17:08:06 -04:00
build_bug.h
clk-provider.h clk: gate: support sandbox 2019-07-31 09:20:51 +02:00
compat.h linux/compat.h: Add netdev_### log macros 2018-10-09 14:18:17 -05:00
compiler-clang.h
compiler-gcc.h ctags: Minor changes to fix ctags output 2018-10-09 04:40:27 -06:00
compiler-intel.h
compiler.h
completion.h compat linux: import completion from linux 4.18 2019-04-22 11:55:58 -04:00
const.h linux/const.h: import from kernel 2018-11-20 13:08:15 +01:00
crc7.h
crc8.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crc32.h
ctype.h
delay.h time: Update mdelay() to delay in one large chunk 2018-12-05 06:01:35 -07:00
dma-direction.h
drm_dp_helper.h
edd.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
err.h linux err: make ERR_PTR/PTR_ERR architecture specific 2019-11-07 18:01:13 -05:00
errno.h
ethtool.h
fb.h
if_ether.h linux/if_ether.h: Add VLAN related macros 2018-10-10 12:28:53 -05:00
immap_qe.h mpc83xx: Introduce ARCH_MPC836* 2019-05-20 13:50:34 +02:00
input.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h include: linux: io: define devm_ioremap on board with ioremap 2019-04-22 11:55:58 -04:00
ioctl.h
iopoll.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioport.h
kbuild.h
kconfig.h kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL 2019-09-19 12:54:28 -04:00
kernel.h fdt: Add INT32_MAX to kernel.h for libfdt 2019-11-04 18:15:32 -07:00
libfdt.h libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c 2018-04-01 22:19:10 +08:00
libfdt_env.h fdt: Add INT32_MAX to kernel.h for libfdt 2019-11-04 18:15:32 -07:00
linkage.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linux_string.h
list.h list: import list_first_entry_or_null() 2019-11-07 00:24:59 +01:00
list_sort.h
log2.h include: update log2 header from the Linux kernel 2018-05-10 20:38:34 -04:00
lzo.h
math64.h
mbus.h
mc146818rtc.h
mdio.h linux/mdio.h: Sync with Linux kernel v4.17 2018-10-09 14:18:12 -05:00
mii.h linux/mii.h: Sync with Linux kernel v4.17 2018-10-09 14:18:07 -05:00
netdevice.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
poison.h
posix_types.h
printk.h
psci.h efi_loader: PSCI reset and shutdown 2018-12-02 21:59:37 +01:00
rbtree.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rbtree_augmented.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
screen_info.h
serial_reg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sizes.h linux/sizes.h: sync from kernel 2018-11-20 13:08:15 +01:00
stat.h
stddef.h
string.h lib: Implement strndup() 2019-06-05 09:16:32 -07:00
stringify.h
time.h linux/time.h: Remove dead code 2017-10-16 09:42:51 -04:00
typecheck.h
types.h linux/types.h: Surround 'struct ustat' with __linux__ 2019-10-28 13:32:51 -04:00
xxhash.h lib: Add xxhash support 2019-05-05 08:48:50 -04:00
zstd.h lib: add Zstandard decompression support 2019-05-05 08:48:50 -04:00