Re: [BUG] USB broken on rk3568 based R2Pro
flat view
From: Vinod Koul <vkoul@kernel.org>
Date: 2022-07-08 05:16:25
Also in:
linux-phy, linux-rockchip, lkml
On 07-07-22, 15:41, Peter Geis wrote:
On Thu, Jul 7, 2022 at 1:51 PM Frank Wunderlich [off-list ref] wrote:quoted
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?
Lets give it a few days if we can find a fix, if not we can revert
quoted
regards FrankI 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.
Please share the config and other details on what your running so that Peter can repro this...
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
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 :(
-- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel