Adds support for Amlogic G12A USB Control Glue HW. The Amlogic G12A SoC Family embeds 2 USB Controllers : - a DWC3 IP configured as Host for USB2 and USB3 - a DWC2 IP configured as Peripheral USB2 Only A glue connects these both controllers to 2 USB2 PHYs, and optionnally to an USB3+PCIE Combo PHY shared with the PCIE controller. The Glue configures the UTMI 8bit interfaces for the USB2 PHYs, including routing of the OTG PHY between the DWC3 and DWC2 controllers, and setups the on-chip OTG mode selection for this PHY. This driver sets the OTG capable port as Host mode by default, the switch to Device mode is to be done in a separate patch. Change-Id: I099bb5fbda0fdd52c4d78e32f879f8324bda4c59 Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit adb049abf7a209629c7b5e4bc673a0d802c616c2) |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| core.c | ||
| core.h | ||
| dwc3-generic.c | ||
| dwc3-meson-g12a.c | ||
| dwc3-omap.c | ||
| dwc3-uniphier.c | ||
| ep0.c | ||
| gadget.c | ||
| gadget.h | ||
| io.h | ||
| linux-compat.h | ||
| samsung_usb_phy.c | ||
| ti_usb_phy.c | ||