]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
authorSouradeep Chowdhury <quic_schowdhu@quicinc.com>
Wed, 6 Apr 2022 09:33:48 +0000 (15:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Apr 2022 17:02:52 +0000 (19:02 +0200)
Set the default dr_mode for usb2 node to "otg" to enable
role-switch for EUD(Embedded USB Debugger) connector node.

Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
Link: https://lore.kernel.org/r/451392a942f90aa9805b00afad7dff894604d189.1649235218.git.quic_schowdhu@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/sc7280-idp.dts

index a7be133a782f3ac84b360adcbbc5073aca373191..6d3ff80582ae96e6e3439bb79baac04eef64b2f0 100644 (file)
@@ -90,7 +90,7 @@
 };
 
 &usb_2_dwc3 {
-       dr_mode = "host";
+       dr_mode = "otg";
 };
 
 &usb_2_hsphy {