Skip to contentSkip to conversation

arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro

PATCH Applied Frank Wunderlich 2 participants 2 messages Aug 21, 2022 – Aug 23, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro

From: Frank Wunderlich <[email protected]>

- extcon is no more needed in 5.19 - so drop it
commit 51a9b2c03dd3 ("phy: rockchip-inno-usb2: Handle ID IRQ")
- dr_mode was changed from host to otg in rk356x.dtsi commit bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x")
change it back on board level as id-pin on r2pro is not connected

---
for hostmode to work this fix is needed:
https://patchwork.kernel.org/project/linux-rockchip/patch/[email protected]/

---
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +1 -1
index 5e34bd0b214d..93d383b8be87 100644
@@ -678,7 +678,7 @@ &usb_host0_ohci {
 };
 
 &usb_host0_xhci {
-	extcon = <&usb2phy0>;
+	dr_mode = "host";
 	status = "okay";
 };
 
Signature · 7 lines
2.34.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Applied
#1 lore raw
Quoted 6 lines · Frank Wunderlich

- extcon is no more needed in 5.19 - so drop it
commit 51a9b2c03dd3 ("phy: rockchip-inno-usb2: Handle ID IRQ")
- dr_mode was changed from host to otg in rk356x.dtsi commit bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x")
change it back on board level as id-pin on r2pro is not connected

Applied, thanks!

[1/1] arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro

      commit: 388f9f0a7ff84b7890a24499a3a1fea0cad21373

Best regards,

Signature · 6 lines
Heiko Stuebner <[email protected]>

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip