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

Commit 00d232ff authored by Mahesh Kumar Sharma's avatar Mahesh Kumar Sharma Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add entry to handle XO clock gpio

In order to avoid leakage, GPIO 201 mapped to XO clock
needs to be pulled high for 2 ms and pull it low to prevent
leakage. Add an entry for GPIO201 in lahaina pro overlay files.

Change-Id: I5311bf9bcd4bd624a46cce2a62ac65551fd76f06
parent 23da3223
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
#include "lahaina-cdp.dtsi"
&bluetooth {
	pinctrl-1 = <&wcnss_en_sleep>;
	qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};
+4 −0
Original line number Diff line number Diff line
#include "lahaina-mtp.dtsi"
&bluetooth {
	pinctrl-1 = <&wcnss_en_sleep>;
	qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};
+14 −0
Original line number Diff line number Diff line
@@ -13,6 +13,20 @@
		};
	};

	wcnss_en_sleep: wcnss_en_sleep {
		mux {
			pins = "gpio201";
			function = "gpio";
		};

		config {
			pins = "gpio201";
			drive-strength = <2>;
			output-low;
			bias-pull-down;
		};
	};

	trigout_a: trigout_a {
		mux {
			pins = "gpio14";
+4 −0
Original line number Diff line number Diff line
#include "lahaina-qrd.dtsi"
&bluetooth {
	pinctrl-1 = <&wcnss_en_sleep>;
	qcom,xo-reset-gpio = <&tlmm 201 0>; /* XO */
};