Skip to content

phy: rockchip-inno-usb2: Write to correct GRF

Jonas Karlman u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2phy: rockchip-inno-usb2: Write to correct GRFdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+22 -191 reply
2/2phy: rockchip-inno-usb2: Limit changes made to regsdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+14 -1033 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKever Yang
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] phy: rockchip-inno-usb2: Write to correct GRF

This series fixes an issue where the rockchip-inno-usb2 driver is writing to wrong GRF reg for RK3328, RK356x and RK3588.

The driver is currently always using the common GRF, something that is only correct for RK3399. Remaining SoCs have USB2PHY regs in a different or dedicated usb2phy GRF.

First patch changes to use regmap functions and gets the regmap for correct GRF, from rockchip,usbgrf phandle or parent device.

Second patch reduces to only configure utmi_suspend_n and utmi_sel bits, similar to how is done for RK3399.

USB have continued to work in device and host mode on all supported SoCs with this series applied.

Jonas Karlman (2):
phy: rockchip-inno-usb2: Write to correct GRF
phy: rockchip-inno-usb2: Limit changes made to regs

 drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 158 ++++--------------
 1 file changed, 36 insertions(+), 122 deletions(-)
Signature · 1 line
2.43.0