]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: qrb2210-rb1: use USB host mode
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 25 Oct 2023 11:58:00 +0000 (12:58 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 7 Dec 2023 15:51:34 +0000 (07:51 -0800)
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 <caleb.connolly@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231025-b4-rb1-usb-host-v1-1-522616c575ef@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb2210-rb1.dts

index bd7bcf803654f6ea757da2c8623773a59aea4cd2..aa53b6af6d9cbd1c1331f0ddf06a7aab70336eb3 100644 (file)
        status = "okay";
 };
 
+&usb_dwc3 {
+       dr_mode = "host";
+};
+
 &usb_hsphy {
        vdd-supply = <&pm2250_l12>;
        vdda-pll-supply = <&pm2250_l13>;