diff mbox series

arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior

Message ID 20220610132542.159978-1-pgwipeout@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior | expand

Commit Message

Peter Geis June 10, 2022, 1:25 p.m. UTC
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 <pgwipeout@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Heiko Stübner June 11, 2022, 3:15 p.m. UTC | #1
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,
diff mbox series

Patch

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";
 };