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

From: Jan Kiszka
Date: Wed Jul 31 2024 - 16:19:08 EST


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.

Jan

CC: Conor Dooley <conor+dt@xxxxxxxxxx>
CC: Emil Renner Berthing <kernel@xxxxxxxx>
CC: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
CC: Rob Herring <robh@xxxxxxxxxx>

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(+)

--
2.43.0