1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-29 14:07:09 +01:00
Files
u-boot-megous/drivers
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
..
2019-10-31 07:22:53 -04:00
2019-05-21 08:03:38 +02:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-08-07 15:31:04 -04:00
2019-07-19 20:14:50 +02:00
2019-11-17 17:22:53 +08:00
2019-11-01 16:45:40 +03:00
2019-09-19 12:18:53 -04:00
2018-07-19 16:31:38 -04:00
2019-05-24 10:14:10 -07:00
2019-08-11 16:43:41 -04:00
2019-07-19 15:17:05 +02:00