Re: [PATCH v3 0/8] arm64: meson: Add support for USB on Amlogic G12A

From: Neil Armstrong
Date: Mon Mar 18 2019 - 09:27:43 EST


On 18/03/2019 11:11, Neil Armstrong wrote:
> This patchset adds support for USB on Amlogic G12A SoCs.
>
> This patchset is composed with :
> - bindings of the PHYs
> - bindings of the USB Control Glue
> - PHY Drivers
> - USB Control Glue driver
>
> Device Tree nodes will be added in a separate patchset.
>
> The Amlogic G12A USB Complex is composed of :
> - 2 USB Controllers :
> * DWC3 for USB2 and USB3 Host functionality
> * DWC2 for USB2 Peripheral functionality
> - 2 USB2 OTG PHYs, only a single one will be routed to either DWC2 to DWC3
> - 1 USB3 PHY shared with PCIE funcionnality
> - A Glue to control PHY routing, setup and OTG detection
>
> 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 drivers supports the on-probe setup of the OTG mode, and manually
> via the USB Role interface. The IRQ mode change detect is yet to be added
> in a future patchset, mainly due to lack of hardware to validate on.
>

Resent with USB2 PHY registers documented

Neil