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

Commit 93cef68c authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

ARM: dts: msm: Add thermistor support on PMI632 for SDM450 and SDM632



Add nodes and GPIO pin configurations for thermistor channels on
PMI632 for SDM450 and SDM632.

Change-Id: I3815a4247ea77442d5cb0fcf84e27f0e45803e5a
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent cd4a99b6
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -43,8 +43,6 @@
			interrupt-names = "eoc-int-en-set";
			qcom,adc-vdd-reference = <1875>;
			qcom,adc-full-scale-code = <0x70e4>;
			pinctrl-names = "default";
			pinctrl-0 = <&quiet_therm_default &smb_therm_default>;

			chan@0 {
				label = "ref_gnd";
@@ -279,21 +277,6 @@
			gpio-controller;
			#gpio-cells = <2>;
			qcom,gpios-disallowed = <1>;

			quiet_therm {
				quiet_therm_default: quiet_therm_default {
					pins = "gpio3";
					bias-high-impedance;
				};
			};

			smb_therm {
				smb_therm_default: smb_therm_default {
					pins = "gpio4";
					bias-high-impedance;
				};
			};

		};

		pmi632_charger: qcom,qpnp-smb5 {
+21 −0
Original line number Diff line number Diff line
@@ -41,6 +41,27 @@
	};
};

&pmi632_vadc {
	pinctrl-names = "default";
	pinctrl-0 = <&quiet_therm_default &smb_therm_default>;
};

&pmi632_gpios {
	quiet_therm {
		quiet_therm_default: quiet_therm_default {
			pins = "gpio3";
			bias-high-impedance;
		};
	};

	smb_therm {
		smb_therm_default: smb_therm_default {
			pins = "gpio4";
			bias-high-impedance;
		};
	};
};

&pmi632_qg {
	qcom,battery-data = <&mtp_batterydata>;
};