Thread (3 messages) 3 messages, 2 authors, 2016-07-12
STALE3648d

[PATCH] device-tree: nexus7: Set phy mode to otg instead of host

From: John Stultz <hidden>
Date: 2016-07-02 05:33:32
Also in: linux-arm-msm, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

In order to have the usb phy work in gadget mode, override
the default host mode with otg mode.

This allows gadget mode to work w/o any hacks to the dtsi file.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Gross <redacted>
Cc: Bjorn Andersson <redacted>
Cc: Stephen Boyd <redacted>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: John Stultz <redacted>
---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 7b05f07..94e9cbb 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -253,6 +253,7 @@
 			vddcx-supply	= <&pm8921_s3>;
 			v3p3-supply	= <&pm8921_l3>;
 			v1p8-supply	= <&pm8921_l4>;
+			dr_mode		= "otg";
 		};
 
 		gadget@12500000 {
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help