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

Commit c689bb91 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add thermistor support on PMI632 for SDM450 and SDM632" into msm-4.9

parents 34fa1a80 93cef68c
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -44,8 +44,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";
@@ -305,21 +303,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>;
};