Skip to content

riscv: jh7110: Fix configuration for on-chip USB 2.0 support

Jan Kiszka linux-devicetree linux-phy linux-riscv 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 7 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- fix copy&paste mistake in error patch found by kernel test robot and Dan Carpenter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: phy: jh7110-usb-phy: Add sys-syscon propertyDocumentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml+11 -07 replies
2/3riscv: dts: starfive: jh7110: Add sys-syscon property to usbphy0arch/riscv/boot/dts/starfive/jh7110.dtsi+1 -00 replies
3/3phy: starfive: jh7110-usb: Fix link configuration to controllerdrivers/phy/starfive/phy-jh7110-usb.c+20 -00 replies

Reviews trailers per patch

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

PatchRob Herring (Arm)Minda Chen
1/3R-b
2/3
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] riscv: jh7110: Fix configuration for on-chip USB 2.0 support

While mainline has support for the USB controller of the JH7110 since 6.5, this never really worked, even not with latest downstream kernels by Starfive - unless you were also using an old downstream U-Boot version. The reason for that was a missing syscon setting that prevented the connection between USB 2.0 PHY and the controller. This series finally fixes the issue.

Changes in v2:
- fix copy&paste mistake in error patch found by kernel test robot and Dan Carpenter

Jan

CC Conor Dooley <[email protected]>
CC Emil Renner Berthing <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Rob Herring <[email protected]>

Jan Kiszka (3):
dt-bindings: phy: jh7110-usb-phy: Add sys-syscon property
riscv: dts: starfive: jh7110: Add sys-syscon property to usbphy0
phy: starfive: jh7110-usb: Fix link configuration to controller

 .../bindings/phy/starfive,jh7110-usb-phy.yaml | 11 ++++++++++
 arch/riscv/boot/dts/starfive/jh7110.dtsi      |  1 +
 drivers/phy/starfive/phy-jh7110-usb.c         | 20 +++++++++++++++++++
 3 files changed, 32 insertions(+)
Signature · 1 line
2.43.0