Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9887f4e9 authored by Jack Pham's avatar Jack Pham
Browse files

ARM: dts: msm: Add USB VBUS detect for msm8996 Liquid



On MSM8996 LiQUID the VBUS detection on the primary USB port
is handled by a separate IC which will provide detection status
via GPIO.

Also this circuit will provide 5V VBUS for host mode. The
usb_otg_switch regulator is already defined to control this,
but just needs to be referenced from the USB3 node.

Change-Id: Ifcf07dfd2e825625b5524302d2a6beeaf3a06672
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 97a07f70
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -373,6 +373,10 @@
	status = "okay";
	status = "okay";
};
};


&usb3 {
	vbus_dwc3-supply = <&usb_otg_switch>;
};

&pm8994_mpps {
&pm8994_mpps {
	mpp@a300 { /* MPP 4 */
	mpp@a300 { /* MPP 4 */
		/* HDMI_5v_vreg regulator enable */
		/* HDMI_5v_vreg regulator enable */
@@ -484,6 +488,13 @@
		asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx";
		asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx";
		qcom,aux-codec = <&wsa881x_1>, <&wsa881x_2>;
		qcom,aux-codec = <&wsa881x_1>, <&wsa881x_2>;
	};
	};

	usb_detect {
		compatible = "qcom,gpio-usbdetect";
		interrupt-parent = <&tlmm>;
		interrupts = <78 0>;
		interrupt-names = "vbus_det_irq";
	};
};
};


&pm8994_gpios {
&pm8994_gpios {