From: Caleb Connolly Date: Wed, 25 Oct 2023 11:58:00 +0000 (+0100) Subject: arm64: dts: qcom: qrb2210-rb1: use USB host mode X-Git-Tag: v6.6.14~458 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ea916f16be398eceae861c41a03941550409643;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: qcom: qrb2210-rb1: use USB host mode [ Upstream commit e0cee8dc6757f9f18718eec553be9fffa503e103 ] The default for the QCM2290 platform that this board is based on is OTG mode, however the role detection logic is not hooked up for this board and the dwc3 driver is configured to not allow role switching from userspace. Force this board to host mode as this is the preferred usecase until we get role switching hooked up. Fixes: e18771961336 ("arm64: dts: qcom: Add initial QTI RB1 device tree") Signed-off-by: Caleb Connolly Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20231025-b4-rb1-usb-host-v1-1-522616c575ef@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index 52be19d..37abb83 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -372,6 +372,10 @@ status = "okay"; }; +&usb_dwc3 { + dr_mode = "host"; +}; + &usb_hsphy { vdd-supply = <&pm2250_l12>; vdda-pll-supply = <&pm2250_l13>;