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

Commit 296a3640 authored by Craig Tatlor's avatar Craig Tatlor Committed by Andy Gross
Browse files

ARM: dts: qcom: pm8941: Add vadc nodes needed to estimate an ocv



vbat_sns is needed to estimate a fairly accurate on chip voltage
and bat_therm is needed to produce an accurate percentage
from the estimated ocv.

Signed-off-by: default avatarCraig Tatlor <ctatlor97@gmail.com>
Acked-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 76a40765
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -139,6 +139,9 @@
			#size-cells = <0>;
			#io-channel-cells = <1>;

			bat_temp {
				reg = <VADC_LR_MUX1_BAT_THERM>;
			};
			die_temp {
				reg = <VADC_DIE_TEMP>;
			};
@@ -154,6 +157,9 @@
			ref_vdd {
				reg = <VADC_VDD_VADC>;
			};
			vbat_sns {
				reg = <VADC_VBAT_SNS>;
			};
		};

		pm8941_iadc: iadc@3600 {