mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 06:41:43 +00:00
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: Craig Tatlor <ctatlor97@gmail.com> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
76a4076511
commit
296a3640ff
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user