提交 296a3640 编写于 作者: C Craig Tatlor 提交者: 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: NCraig Tatlor <ctatlor97@gmail.com>
Acked-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: NAndy Gross <andy.gross@linaro.org>
上级 76a40765
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册