Skip to content

Fix USB2 and USB3 on NSP SoCs

Florian Fainelli linux-arm-kernel linux-devicetree linux-phy linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 9 patches 7 repliesIn review

6 of 9 patches are in this archive. The cover letter announces 9.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/9dt-bindings: phy: bcm-ns-usb3-phy: Describe the NSP variantDocumentation/devicetree/bindings/phy/bcm-ns-usb3-phy.yaml+23 -04 replies
3/9phy: broadcom: ns-usb3: Coordinate NSP USB2 and USB3 initializationdrivers/phy/broadcom/phy-bcm-ns-usb3.c+55 -02 replies
6/9dt-bindings: usb: generic-ehci: Add the NSP compatibleDocumentation/devicetree/bindings/usb/generic-ehci.yaml+1 -01 reply
7/9usb: host: ehci-platform: Set the FIFO threshold on NSPdrivers/usb/host/ehci-platform.c+2 -10 replies
8/9ARM: dts: broadcom: Identify the NSP EHCI controllerarch/arm/boot/dts/broadcom/bcm-nsp.dtsi+1 -10 replies
9/9ARM: dts: broadcom: Use noncoherent USB DMA on BCM958625HRarch/arm/boot/dts/broadcom/bcm958625hr.dts+3 -00 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Manivannan Sadhasivam
2/9R-b
3/9R-b
6/9A-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Fix USB2 and USB3 on NSP SoCs

Similar to the SATA patch series, USB2 and USB3 on Northstar Plus SoCs was broken in a few different areas:

- the NSP variant was not described properly at the USB PHY level which prevented SoC-specific initialization from occurring
- the lack of DMP registers meant that the USB PHY could not complete the initilization and instead relies on the boot loader
- the EHCI controller requires some FIFO tuning which is similar to the XGS iProc SoC, otherwise DMA transfers eventually fail
- finally, the USB controllers are non coherent

Florian Fainelli (9):
phy: broadcom: ns-usb3: Propagate Bx initialization write errors
dt-bindings: phy: bcm-ns-usb3-phy: Describe the NSP variant
phy: broadcom: ns-usb3: Coordinate NSP USB2 and USB3 initialization
ARM: dts: broadcom: Add the NSP USB2 DMP registers
ARM: dts: broadcom: Share USB PHY initialization on BCM958625HR
dt-bindings: usb: generic-ehci: Add the NSP compatible
usb: host: ehci-platform: Set the FIFO threshold on NSP
ARM: dts: broadcom: Identify the NSP EHCI controller
ARM: dts: broadcom: Use noncoherent USB DMA on BCM958625HR

 .../bindings/phy/bcm-ns-usb3-phy.yaml         |  23 +++
 .../devicetree/bindings/usb/generic-ehci.yaml |   1 +
 arch/arm/boot/dts/broadcom/bcm-nsp.dtsi       |   6 +-
 arch/arm/boot/dts/broadcom/bcm958625hr.dts    |   9 ++
 drivers/phy/broadcom/phy-bcm-ns-usb3.c        | 134 +++++++++++++-----
 drivers/usb/host/ehci-platform.c              |   3 +-
 6 files changed, 139 insertions(+), 37 deletions(-)
Signature · 1 line
2.53.0