Skip to content

Add USB support for RK3128

Alex Bee linux-arm-kernel linux-devicetree linux-phy linux-rockchip lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesApplied
  2. v25 patches 1 replyApplied

Changes in v3 from the cover letter

- rebased on linux-next
- added phy-tuning callback for RK3128
- moved parent clock assignment of SCLK_USB480M to the phy node

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5phy: rockchip-inno-usb2: Split ID interrupt phy registersdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+70 -291 reply
2/5phy: phy-rockchip-inno-usb2: Add RK3128 supportdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+57 -01 reply
3/5ARM: dts: rockchip: Add USB host clocks for RK3128arch/arm/boot/dts/rockchip/rk3128.dtsi+2 -00 replies
4/5ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK3128arch/arm/boot/dts/rockchip/rk3128.dtsi+3 -00 replies
5/5ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M for RK3128arch/arm/boot/dts/rockchip/rk3128.dtsi+2 -00 replies

Reviews trailers per patch

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

PatchHeiko Stuebner
1/5R-b
2/5R-b
3/5
4/5
5/5

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

Read the v3 thread

Cover letter [PATCH v3 0/5] Add USB support for RK3128

While interestingly the DT-binding for the Innosilicon usb phy found in RK3128 SoC exists already and it is exposed in the SoC DT, it has never been added to the driver.
This patch-set adds support for this early version of the phy and does some DT-fixups in order to make the 2-port host/otg phy and the respective controllers work.

Please see commit messages of the individual patches for details.

Changes in v3:
- rebased on linux-next
- added phy-tuning callback for RK3128
- moved parent clock assignment of SCLK_USB480M to the phy node

Alex Bee (5):
phy: rockchip-inno-usb2: Split ID interrupt phy registers
phy: phy-rockchip-inno-usb2: Add RK3128 support
ARM: dts: rockchip: Add USB host clocks for RK3128
ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK3128
ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M for RK3128

 arch/arm/boot/dts/rockchip/rk3128.dtsi        |   7 +
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 156 ++++++++++++++----
 2 files changed, 134 insertions(+), 29 deletions(-)
Signature · 1 line
2.42.0