Skip to content

Fix USB controller support for RK3368

WeiHao Li linux-arm-kernel linux-devicetree linux-phy linux-rockchip lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v14 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4phy: rockchip: inno-usb2: Add usb2 phy support for RK3368drivers/phy/rockchip/phy-rockchip-inno-usb2.c+48 -02 replies
2/4arm64: dts: rockchip: Add USB2.0 PHY for RK3368arch/arm64/boot/dts/rockchip/rk3368.dtsi+29 -02 replies
3/4dt-bindings: phy: rockchip,inno-usb2phy: Document rk3368 usb phyDocumentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml+2 -00 replies
4/4arm64: dts: rockchip: Add phys attribute of USB host node for RK3368arch/arm64/boot/dts/rockchip/rk3368.dtsi+16 -20 replies

Reviews trailers per patch

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

PatchWeiHao LiConor DooleyHeiko Stuebner
SeriesT-b
1/4R-b
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

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

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(-)
Signature · 1 line
2.47.2