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

Commit 62a3ca5e authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Configure PMIC GPIO2 pin on sdxpoorwills



PMIC GPIO2 pin is used for reading ambient thermistor.
Configure the pin as high impedence and leave it
disabled.

Change-Id: I45f2ba923ee4a56ed7772cd40a46e6519c05d15d
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 33a543b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -95,6 +95,8 @@
			interrupt-names = "eoc-int-en-set";
			qcom,adc-full-scale-code = <0x70e4>;
			qcom,adc-vdd-reference = <1875>;
			pinctrl-names = "default";
			pinctrl-0 = <&ambient_therm_default>;

			chan@6 {
				label = "die_temp";
+9 −0
Original line number Diff line number Diff line
@@ -921,3 +921,12 @@
		};
	};
};

&pmxpoorwills_gpios {
	ambient_therm {
		ambient_therm_default: ambient_therm_default {
			pins = "gpio2";
			bias-high-impedance;
		};
	};
};