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

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
......@@ -139,6 +139,9 @@ pm8941_vadc: vadc@3100 {
#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_gnd {
ref_vdd {
reg = <VADC_VDD_VADC>;
};
vbat_sns {
reg = <VADC_VBAT_SNS>;
};
};
pm8941_iadc: iadc@3600 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment