phy: rockchip-inno-usb2: Write to correct GRF
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | phy: rockchip-inno-usb2: Write to correct GRFdrivers/ | +22 | 1 reply | |
| 2/2 | phy: rockchip-inno-usb2: Limit changes made to regsdrivers/ | +14 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kever Yang |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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