2022-06-10 13:28:28

by Peter Geis

[permalink] [raw]
Subject: [PATCH] arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior

The otg_id line on the Quartz64 Model A is not connected to anything.
This prevents automatic selection of the dual role usb port. In otg mode
it defaults to device mode. Force it to host mode to retain previous
behavior.

Fixes: bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x")

Signed-off-by: Peter Geis <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
index 1534e11a9ad1..fa953b736642 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
@@ -687,6 +687,7 @@ &usb_host1_ohci {
};

&usb_host0_xhci {
+ dr_mode = "host";
status = "okay";
};

--
2.25.1


2022-06-11 16:47:14

by Heiko Stübner

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior

On Fri, 10 Jun 2022 09:25:42 -0400, Peter Geis wrote:
> The otg_id line on the Quartz64 Model A is not connected to anything.
> This prevents automatic selection of the dual role usb port. In otg mode
> it defaults to device mode. Force it to host mode to retain previous
> behavior.
>
> Fixes: bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x")

Applied, thanks!

[1/1] arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior
commit: 2881a4ab319918e775ec9c084da3d6cc15ad77ab

Best regards,
--
Heiko Stuebner <[email protected]>