Skip to content

Add StarFive JHB100 host field USB device controller driver

Minda Chen linux-devicetree linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v13 patches 6 repliesSuperseded

v1 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: usb: starfive,jhb100-dwc3: Add adapter register regionDocumentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml+10 -13 replies
2/3dt-bindings: usb: starfive,jhb100-dwc3: Add clock number limitDocumentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml+2 -02 replies
3/3usb: dwc3: starfive: Add JHB100 USB device adapter port enable quirkdrivers/usb/dwc3/dwc3-generic-plat.c+47 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add StarFive JHB100 host field USB device controller driver

JHB100 is a Starfive new RISC-V SoC for datacenter BMC (BaseBoard Managent Controller). Similar with Aspeed 27x0.

The JHB100 basic driver upstream is in progress:
https://patchwork.kernel.org/project/linux-riscv/cover/[email protected]/

JHB100 BMC soc contains Synopsys dwc3 multi-port host controller. And export its xhci controller to host server through PCIe. xhci contains 8 ports and each connect with one dwc3 device controller through an PHY adapter. Server host USB subsystem includes one multi-port dwc3 USB host, multiple dwc3 device controllers and their adapters.

The simple arch graph is below.

|-----------------------------------------
|Server PCIe field                       |
|(usb xhci working in server but it      |
| located in BMC soc)			 |
|   --------------------------------     |
|   |    multi-port xhci controller|     |
|   |       .....      port7 port8 |     |
|   --------------------^-----^-----     |
------------------------|-----|-----------
------------------------|-----|-----------
|        .....    --------- ---------    |
|                 |adapter| |adapter|    |
|                 -----^--- -----^---    |
|                      |         |       |
|               ------------ ------------|
|    ......     | device   | |device    ||
|               |controller| |controller||
|               ------------ ------------|
|   BMC field				 |

------------------------------------------

The patch base on kernel v7.4-rc1

previous verions link:
v1:
https://patchwork.kernel.org/project/linux-usb/patch/[email protected]/

changes:
v1:
patch1 and patch2: Correct the title and add more descriptions.
patch3: Correct the get iomem code and follow the comments by Thinh

Minda Chen (3):
dt-bindings: usb: starfive,jhb100-dwc3: Add adapter register region
dt-bindings: usb: starfive,jhb100-dwc3: Add clock number limit
usb: dwc3: starfive: Add JHB100 USB device adapter port enable quirk

 .../bindings/usb/starfive,jhb100-dwc3.yaml    | 13 ++++-
 drivers/usb/dwc3/dwc3-generic-plat.c          | 48 ++++++++++++++++++-
 2 files changed, 59 insertions(+), 2 deletions(-)

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4

Signature · 1 line
2.17.1