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

Commit b6d221cf authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

ARM: dts: msm: Configure OTG_VBUS_EN GPIO for 8994 MTP and Fluid



PMI8994 GPIO 5 controls the USB3OTG_VBUS_EN. Configure it as output
gpio for required operation.

Change-Id: I88bbf2a519122219d6bb6698d1abc3b3b3cd2efa
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent de724756
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -478,6 +478,15 @@
};

&pmi8994_gpios {
	gpio@c400 {	/* GPIO 5  OTG SWITCH EN */
		qcom,mode = <1>;	/* DIGITAL OUT */
		qcom,pull = <5>;	/* No Pull */
		qcom,vin-sel = <2>;	/* 1.8 */
		qcom,src-sel = <0>;	/* GPIO */
		qcom,master-en = <1>;	/* ENABLE GPIO */
		status = "okay";
	};

	gpio@c800 { /* GPIO 9 */
		qcom,mode = <1>;	/* Digital output */
		qcom,output-type = <0>;	/* CMOS logic */
+9 −0
Original line number Diff line number Diff line
@@ -625,6 +625,15 @@
		qcom,master-en = <1>;	/* ENABLE GPIO */
		status = "okay";
	};

	gpio@c400 {	/* GPIO 5  OTG SWITCH EN */
		qcom,mode = <1>;	/* DIGITAL OUT */
		qcom,pull = <5>;	/* No Pull */
		qcom,vin-sel = <2>;	/* 1.8 */
		qcom,src-sel = <0>;	/* GPIO */
		qcom,master-en = <1>;	/* ENABLE GPIO */
		status = "okay";
	};
};

&pmi8994_mpps {