[PATCH v2 0/4] Fix USB controller support for RK3368

WeiHao Li
2025-09-09T13:31:02Z

This series fixs USB controller support for the Rockchip RK3368 SoC.

Key changes:
- Update phy-rockchip-inno-usb2 driver to preperly handle RK3368 usb
phy initialization and configuration.
- Add usb PHY node to rk3368.dtsi with correct clocks and register
mapping.
- Add missing OHCI node, add missing attribute for usb host node.
- Add dt-bindings document.

The following changes since v1:
- Remove the duplicate structure member I accidentally added.

These changes were tested on a RK3368-based board [1]. Both of USB ports
can emumerate device (HID and mass storage).

Main code changes come from the rockchip downstream source [2].

[1] https://ieiao.github.io/wiki/embedded-dev/rockchip/rk3368
[2] https://github.com/rockchip-linux/kernel

Tested-by: WeiHao Li <cn.liweihao@gmail.com>
Signed-off-by: WeiHao Li <cn.liweihao@gmail.com>

WeiHao Li (4):
phy: rockchip: inno-usb2: Add usb2 phy support for RK3368
arm64: dts: rockchip: Add USB2.0 PHY for RK3368
dt-bindings: phy: rockchip,inno-usb2phy: Document rk3368 usb phy
arm64: dts: rockchip: Add phys attribute of USB host node for RK3368

.../bindings/phy/rockchip,inno-usb2phy.yaml | 2 +
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 47 +++++++++++++++++-
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 48 +++++++++++++++++++
3 files changed, 95 insertions(+), 2 deletions(-)

--
2.47.2