mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
arm/dts: miami introduce NTC for battery temperature
this NTC connect to pmk8003. fuel-gauge get this NTC temp and report to power_suppory Change-Id: Ia1f8582eab48a37777df8be3798c35e893ef488e Signed-off-by: liuyc20 <liuyc20@lenovo.com> Reviewed-on: https://gerrit.mot.com/2252137 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
7a99074cea
commit
ee97704510
2 changed files with 5 additions and 3 deletions
|
|
@ -327,9 +327,9 @@
|
|||
};
|
||||
|
||||
&pmk8350_vadc {
|
||||
pmk8350_qtm_n_therm {
|
||||
pmk8350_batt_therm {
|
||||
reg = <PMK8350_ADC7_AMUX_THM2_100K_PU>;
|
||||
label = "pmk8350_qtm_n_therm";
|
||||
label = "pmk8350_batt_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
|
|
@ -348,7 +348,7 @@
|
|||
<&pmk8350_vadc PMK8350_ADC7_AMUX_THM2_100K_PU>,
|
||||
<&pmk8350_vadc PMK8350_ADC7_AMUX_THM4_100K_PU>;
|
||||
|
||||
qtm_n__therm {
|
||||
batt_therm {
|
||||
reg = <PMK8350_ADC7_AMUX_THM2_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
|
|
|
|||
|
|
@ -114,6 +114,8 @@
|
|||
compatible = "mitsumi,mm8013c10";
|
||||
reg = <0x55>;
|
||||
status = "okay";
|
||||
io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM2_100K_PU>;
|
||||
io-channel-names = "batt_therm";
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue