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

Commit 33a2cd6d authored by michaellin's avatar michaellin Committed by Rohit Sekhar
Browse files

dts: Reassign ESE Enable gpio in case of collision

ESE Enable reserved gpio141 is used for RF variant and hence
reassign ESE Enable gpio to gpio134 in case of collision.

Issue: FP3-A11#230
Change-Id: Ic8d29c92c4fc85ea3d340be7d7cde3d7129c5ae6
(cherry picked from commit 251ef033)
parent 9a1c5187
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@
		qcom,nq-ven = <&tlmm 16 0x00>;
		qcom,nq-firm = <&tlmm 62 0x00>;
		qcom,nq-clkreq = <&pm8953_gpios 2 0x00>;
		qcom,nq-esepwr = <&tlmm 141 0x00>;
		qcom,nq-esepwr = <&tlmm 134 0x00>;
		interrupt-parent = <&tlmm>;
		qcom,clk-src = "BBCLK2";
		interrupts = <17 0>;
+6 −6
Original line number Diff line number Diff line
@@ -1033,13 +1033,13 @@
				/* active state */
				mux {
					/* 16: NFC ENABLE 62: FW DNLD */
					/* 141: ESE Enable */
					pins = "gpio16", "gpio62", "gpio141";
					/* 134: ESE Enable */
					pins = "gpio16", "gpio62", "gpio134";
					function = "gpio";
				};

				config {
					pins = "gpio16", "gpio62", "gpio141";
					pins = "gpio16", "gpio62", "gpio134";
					drive-strength = <2>; /* 2 MA */
					bias-pull-up;
				};
@@ -1049,13 +1049,13 @@
				/* sleep state */
				mux {
					/* 16: NFC ENABLE 62: FW DNLD */
					/* 141: ESE Enable */
					pins = "gpio16", "gpio62", "gpio141";
					/* 134: ESE Enable */
					pins = "gpio16", "gpio62", "gpio134";
					function = "gpio";
				};

				config {
					pins = "gpio16", "gpio62", "gpio141";
					pins = "gpio16", "gpio62", "gpio134";
					drive-strength = <2>; /* 2 MA */
					bias-disable;
				};