Re: [PATCH v18 0/9] Add multiport support for DWC3 controllers
From: Johan Hovold
Date: Tue Mar 26 2024 - 08:38:05 EST
On Tue, Mar 26, 2024 at 05:02:44PM +0530, Krishna Kurapati wrote:
> Currently the DWC3 driver supports only single port controller which
> requires at most two PHYs ie HS and SS PHYs. There are SoCs that has
> DWC3 controller with multiple ports that can operate in host mode.
> Some of the port supports both SS+HS and other port supports only HS
> mode.
>
> This change primarily refactors the Phy logic in core driver to allow
> multiport support with Generic Phy's.
>
> Changes have been tested on QCOM SoC SA8295P which has 4 ports (2
> are HS+SS capable and 2 are HS only capable).
>
> This series depends on removal of ACPI from DWC3 QCOM wrapper [1].
> [1]: https://lore.kernel.org/all/20240305093216.3814787-1-quic_kriskura@xxxxxxxxxxx/
Just to be clear, this dependency is already in 6.9-rc1 and this series
is ready to be merged.
> Krishna Kurapati (9):
> dt-bindings: usb: Add bindings for multiport properties on DWC3
> controller
> usb: dwc3: core: Access XHCI address space temporarily to read port
> info
> usb: dwc3: core: Skip setting event buffers for host only controllers
> usb: dwc3: core: Refactor PHY logic to support Multiport Controller
> dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport
> usb: dwc3: qcom: Add helper function to request wakeup interrupts
> usb: dwc3: qcom: Refactor IRQ handling in glue driver
> usb: dwc3: qcom: Enable wakeup for applicable ports of multiport
> usb: dwc3: qcom: Add multiport suspend/resume support for wrapper
Johan