summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimin Peng <yiminp@codeaurora.org>2017-06-07 10:15:51 +0800
committerYimin Peng <yiminp@codeaurora.org>2017-06-07 11:40:16 +0800
commit40c8014f9e2aff308f200b2caeb943c6610015b7 (patch)
tree395a4f5fbd44cf6bc7c3d60322f79c1b35744ea8
parent2bfc0eda7e6d832f7b8b2c9cdbed6dd24cdb69d9 (diff)
ARM: dts: msm: fix the ADB connection issue on auto CDP.
With kernel4.4 upgrade, USB probe failed on auto CDP board. Refer to the adp dts, add this change for solving ADB problem. Change-Id: I5260826a382d27a78288012ec84cd98fd68f7db9 Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi21
1 files changed, 7 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi
index 7c07102a1fed..797b8a8d8e82 100644
--- a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi
@@ -868,11 +868,12 @@
asoc-codec-names = "msm-stub-codec.1";
};
- usb_detect {
+ usb_detect: usb_detect {
compatible = "qcom,gpio-usbdetect";
+ qcom,vbus-det-gpio = <&pm8994_gpios 17 0>;
interrupt-parent = <&spmi_bus>;
- interrupts = <0x0 0xd0 0x0>; /* PM8994 GPIO17 */
- interrupt-names = "vbus_det_irq";
+ interrupts = <0x0 0x9 0x0 IRQ_TYPE_NONE>;
+ interrupt-names ="pmic_id_irq";
};
loopback1: qcom,msm-pcm-loopback-low-latency {
@@ -1071,18 +1072,10 @@
};
&usb3 {
- interrupt-parent = <&usb3>;
- interrupts = <0 1 2 3>;
- #interrupt-cells = <1>;
- interrupt-map-mask = <0x0 0xffffffff>;
- interrupt-map = <0x0 0 &intc 0 0 347 0
- 0x0 1 &intc 0 0 243 0
- 0x0 2 &intc 0 0 180 0
- 0x0 3 &spmi_bus 0x0 0x0 0x9 0x0>;
- interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq",
- "pmic_id_irq";
-
+ extcon = <&usb_detect>;
vbus_dwc3-supply = <&usb_otg_switch>;
+ vdda33-supply = <&pm8994_l24>;
+ vdda18-supply = <&pm8994_l12>;
};
&blsp1_uart2 {