Re: [BUG] USB broken on rk3568 based R2Pro

From
Peter Geis <hidden>
Date
2022-07-07 19:41:25
Also in
linux-arm-kernel, linux-rockchip, lkml
Reply to
Frank Wunderlich, 2022-07-07
On Thu, Jul 7, 2022 at 1:51 PM Frank Wunderlich [off-list ref] wrote:
Hi,

traced it down with manual reverts to this one:

commit 6a98df08ccd55e87947d253b19925691763e755c
    phy: rockchip-inno-usb2: Fix muxed interrupt support

luckily i can revert only this and now upper usb-port works again

@samuel: have you an idea how to fix your problem without breaking my board? :)

@greg/Vinod: maybe we can add a revert of this in mainline till issue is resolved?

regards Frank
I don't know what you're running, but with the standard arm64
defconfig w/ all rockchip stuff built in, I have no issues here on
5.19.
Note, the following changes are necessary to the 5.19 dts here:
Remove the extcon from usb_host0_xhci, as the production model doesn't
have automatic switching capabilities. The ID pin was removed in favor
of the usb debug function which also doesn't work.
Add dr_mode = "host" to the same node, for the same reason.
quoted
Von: "Frank Wunderlich" [off-list ref]
i noticed that upper usb-Port (otg) is broken on my Bananapi R2Pro with 5.19-rc1, works with 5.18.0

this port is a usb3 (xhci) port which includes an usb2-phy and should support otg, but i still want
to use it in host-only mode (USB-A socket).

already tried setting dr_mode in dts back to "host" as this was changed in rk356x.dtsi by this commit:

bc405bb3eeee 2022-04-25 arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x

i see no error in dmesg and usb-controllers seem to be initialized completely (visible in lsusb).

r2pro has ID-Pin not connected, so i tried also peters Patch without success :(
-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Thread (6 messages) 6 messages, 3 authors, 2022-07-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help