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

Commit 32dab11c authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add 30k and 400k bat_therm channels for PMI632



Add channels to read bat_therm for 30k and 400k pullups on
PMI632.

Change-Id: I4bdcb3252e9b451a0f196ea145266d8b1905041b
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 6b18f628
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -152,6 +152,30 @@
				qcom,cal-val = <0>;
			};

			chan@2a {
				label = "bat_therm_PU30";
				reg = <0x2a>;
				qcom,decimation = <2>;
				qcom,pre-div-channel-scaling = <0>;
				qcom,calibration-type = "ratiometric";
				qcom,scale-function = <24>;
				qcom,hw-settle-time = <0>;
				qcom,fast-avg-setup = <0>;
				qcom,cal-val = <0>;
			};

			chan@6a {
				label = "bat_therm_PU400";
				reg = <0x6a>;
				qcom,decimation = <2>;
				qcom,pre-div-channel-scaling = <0>;
				qcom,calibration-type = "ratiometric";
				qcom,scale-function = <25>;
				qcom,hw-settle-time = <0>;
				qcom,fast-avg-setup = <0>;
				qcom,cal-val = <0>;
			};

			chan@4b {
				label = "bat_id";
				reg = <0x4b>;