[RFCv3 usb-next 3/3] usb: host: xhci: plat: integrate the platform-roothub

Rob Herring robh at kernel.org
Thu Aug 17 08:15:06 PDT 2017


On Tue, Aug 15, 2017 at 12:45:42AM +0200, Martin Blumenstingl wrote:
> This enables the platform-roothub for the xhci-plat driver. This allows
> specifying a PHY for each port via devicetree. All PHYs will then be
> enabled/disabled by the platform-roothub driver.
> 
> One example where this is required is the Amlogic GXL and GXM SoCs:
> They are using a dwc3 USB controller with up to three ports enabled on
> the internal roothub. Using only the top-level "phy" properties does not
> work here since one can only specify one "usb2-phy" and one "usb3-phy",
> while actually at least two "usb2-phy" have to be specified.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
> ---
>  Documentation/devicetree/bindings/usb/usb-xhci.txt |  7 +++++

This can be part of the binding patch. Otherwise,

Acked-by: Rob Herring <robh at kernel.org>

>  drivers/usb/host/Kconfig                           |  1 +
>  drivers/usb/host/xhci-plat.c                       | 35 ++++++++++++++++++++--
>  drivers/usb/host/xhci.h                            |  2 ++
>  4 files changed, 43 insertions(+), 2 deletions(-)



More information about the linux-amlogic mailing list