diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-09-10 11:48:13 +0300 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-10-05 18:59:45 +0300 |
commit | 46eddbc58f0d038df5fb51d6c27a989ba826a620 (patch) | |
tree | e3957b9fbc378f7a6c8d0363b62606aa913f448c /arch/arm/include/asm | |
parent | 4e7b0a3f2a3153f2e3a2247626c91ef225de3d57 (diff) | |
download | u-boot-46eddbc58f0d038df5fb51d6c27a989ba826a620.tar.xz |
usb: dwc3: add Amlogic GXL & GXL DWC3 Glue
The USB support was initialy done with a set of PHYs and dwc3-of-simple
because the architecture of the USB complex was not understood correctly
at the time (and proper documentation was missing...).
But with the G12A family, the USB complex was correctly understood and
implemented correctly.
This adds a proper driver for the glue, based on the G12A one, but with
enough changes to require a different driver in U-Boot.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-meson/usb-gx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-meson/usb-gx.h b/arch/arm/include/asm/arch-meson/usb-gx.h index aeb8e0c673..7200a4c31a 100644 --- a/arch/arm/include/asm/arch-meson/usb-gx.h +++ b/arch/arm/include/asm/arch-meson/usb-gx.h @@ -13,4 +13,6 @@ void phy_meson_gxl_usb2_set_mode(struct phy *phy, enum usb_dr_mode mode); void phy_meson_gxl_usb3_set_mode(struct phy *phy, enum usb_dr_mode mode); +int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode); + #endif |