2022-07-08 13:31:21

by Frank Wunderlich

[permalink] [raw]
Subject: [PATCH] arm64: dts: rk356x: 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

Signed-off-by: Frank Wunderlich <[email protected]>
---
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(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
index acc6b3a98415..02bafb938fb6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
@@ -678,7 +678,7 @@ &usb_host0_ohci {
};

&usb_host0_xhci {
- extcon = <&usb2phy0>;
+ dr_mode = "host";
status = "okay";
};

--
2.34.1


2022-07-08 14:22:36

by Frank Wunderlich

[permalink] [raw]
Subject: Aw: [PATCH] arm64: dts: rk356x: fix upper usb port on BPI-R2-Pro

Hi,

noticed that prefix should be "arm64: dts: rockchip:", should i send a v2 or can this changed while applying?

regards Frank