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

Commit d1e63e9d authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

ARM: dts: msm: Add smb_therm and bat_therm channels for SM6150



Add ADC channels for SMB1390 thermistor and battery thermistors
for both 30k and 400k pullup resistances on PM6150 on SM6150.

Change-Id: Ied0d2a823a643f681945b6f893b38a1c78e9fbe6
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 20768179
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -129,6 +129,22 @@
				qcom,pre-scaling = <1 1>;
			};

			bat_therm_30k {
				reg = <ADC_BAT_THERM_PU1>;
				label = "bat_therm_30k";
				qcom,ratiometric;
				qcom,hw-settle-time = <200>;
				qcom,pre-scaling = <1 1>;
			};

			bat_therm_400k {
				reg = <ADC_BAT_THERM_PU3>;
				label = "bat_therm_400k";
				qcom,ratiometric;
				qcom,hw-settle-time = <200>;
				qcom,pre-scaling = <1 1>;
			};

			bat_id {
				reg = <ADC_BAT_ID_PU2>;
				label = "bat_id";
+7 −0
Original line number Diff line number Diff line
@@ -2081,6 +2081,13 @@
		qcom,pre-scaling = <1 1>;
	};

	smb1390_therm {
		reg = <ADC_AMUX_THM3>;
		label = "smb1390_therm";
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};

	conn_therm {
		reg = <ADC_AMUX_THM4_PU2>;
		label = "conn_therm";