mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
arm/dts: add pm7250b_qg PSY_IIO_SOH chan
PROPAGATED_from (CR) mmi_age=fcc/fcc_designed the qq soh is more accurate than mmi_age Change-Id: I5d1e1191ffd11fd2687124c45ad724fd1f678d93 Signed-off-by: liuyc20 <liuyc20@lenovo.com> Reviewed-on: https://gerrit.mot.com/3134457 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/3157549 Reviewed-by: Levy Gabriel <levy@motorola.com> Reviewed-by: Robert Cabral <robertc@motorola.com> Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
This commit is contained in:
parent
0c00d50416
commit
ebe276cbaf
8 changed files with 28 additions and 12 deletions
|
|
@ -36,6 +36,7 @@
|
|||
<&pm7250b_qg PSY_IIO_CYCLE_COUNT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>,
|
||||
<&bq25960_standalone PSY_IIO_MMI_CP_INPUT_VOLTAGE_NOW>;
|
||||
io-channel-names = "usb_in_voltage",
|
||||
"usb_in_current",
|
||||
|
|
@ -61,6 +62,7 @@
|
|||
"cycle_count",
|
||||
"charge_full_design",
|
||||
"time_to_full_now",
|
||||
"soh",
|
||||
"cp_input_voltage_now";
|
||||
qcom,fcc-max-ua = <4000000>;
|
||||
qcom,fv-max-uv = <4520000>;
|
||||
|
|
|
|||
|
|
@ -254,7 +254,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CAPACITY>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL>,
|
||||
<&pm7250b_qg PSY_IIO_BATT_FULL_CURRENT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>;
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_ctm_current_max",
|
||||
"main_current_max",
|
||||
"usb_typec_mode",
|
||||
|
|
@ -272,7 +273,8 @@
|
|||
"capacity",
|
||||
"charge_full",
|
||||
"batt_full_current",
|
||||
"charge_full_design";
|
||||
"charge_full_design",
|
||||
"soh";
|
||||
qcom,enable-charging-limit;
|
||||
qcom,upper-limit-capacity = <65>;
|
||||
qcom,lower-limit-capacity = <60>;
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
<&pm7250b_qg PSY_IIO_CYCLE_COUNT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>,
|
||||
<&sc8549 PSY_IIO_MMI_CP_INPUT_VOLTAGE_NOW>;
|
||||
io-channel-names = "usb_in_voltage",
|
||||
"usb_in_current",
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
"cycle_count",
|
||||
"charge_full_design",
|
||||
"time_to_full_now",
|
||||
"soh"
|
||||
"cp_input_voltage_now";
|
||||
qcom,fcc-max-ua = <3000000>;
|
||||
qcom,fv-max-uv = <4480000>;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CHARGE_COUNTER>,
|
||||
<&pm7250b_qg PSY_IIO_CYCLE_COUNT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>;
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_in_voltage",
|
||||
"usb_in_current",
|
||||
"chg_temp",
|
||||
|
|
@ -58,7 +59,8 @@
|
|||
"charge_counter",
|
||||
"cycle_count",
|
||||
"charge_full_design",
|
||||
"time_to_full_now";
|
||||
"time_to_full_now",
|
||||
"soh";
|
||||
qcom,fcc-max-ua = <4000000>;
|
||||
qcom,fv-max-uv = <4520000>;
|
||||
qcom,dcp-curr-max = <2200000>;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CHARGE_COUNTER>,
|
||||
<&pm7250b_qg PSY_IIO_CYCLE_COUNT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>;
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_in_voltage",
|
||||
"usb_in_current",
|
||||
"chg_temp",
|
||||
|
|
@ -60,7 +61,8 @@
|
|||
"charge_counter",
|
||||
"cycle_count",
|
||||
"charge_full_design",
|
||||
"time_to_full_now";
|
||||
"time_to_full_now",
|
||||
"soh";
|
||||
qcom,fcc-max-ua = <4000000>;
|
||||
qcom,fv-max-uv = <4520000>;
|
||||
qcom,dcp-curr-max = <2200000>;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CHARGE_COUNTER>,
|
||||
<&pm7250b_qg PSY_IIO_CYCLE_COUNT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>;
|
||||
<&pm7250b_qg PSY_IIO_TIME_TO_FULL_NOW>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_in_voltage",
|
||||
"usb_in_current",
|
||||
"chg_temp",
|
||||
|
|
@ -60,7 +61,8 @@
|
|||
"charge_counter",
|
||||
"cycle_count",
|
||||
"charge_full_design",
|
||||
"time_to_full_now";
|
||||
"time_to_full_now",
|
||||
"soh";
|
||||
qcom,fcc-max-ua = <4000000>;
|
||||
qcom,fv-max-uv = <4520000>;
|
||||
qcom,dcp-curr-max = <2200000>;
|
||||
|
|
|
|||
|
|
@ -433,7 +433,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CAPACITY>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL>,
|
||||
<&pm7250b_qg PSY_IIO_BATT_FULL_CURRENT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>;
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_ctm_current_max",
|
||||
"main_current_max",
|
||||
"usb_typec_mode",
|
||||
|
|
@ -451,7 +452,8 @@
|
|||
"capacity",
|
||||
"charge_full",
|
||||
"batt_full_current",
|
||||
"charge_full_design";
|
||||
"charge_full_design",
|
||||
"soh";
|
||||
qcom,enable-charging-limit;
|
||||
qcom,upper-limit-capacity = <65>;
|
||||
qcom,lower-limit-capacity = <60>;
|
||||
|
|
|
|||
|
|
@ -264,7 +264,8 @@
|
|||
<&pm7250b_qg PSY_IIO_CAPACITY>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL>,
|
||||
<&pm7250b_qg PSY_IIO_BATT_FULL_CURRENT>,
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>;
|
||||
<&pm7250b_qg PSY_IIO_CHARGE_FULL_DESIGN>,
|
||||
<&pm7250b_qg PSY_IIO_SOH>;
|
||||
io-channel-names = "usb_ctm_current_max",
|
||||
"main_current_max",
|
||||
"usb_typec_mode",
|
||||
|
|
@ -282,7 +283,8 @@
|
|||
"capacity",
|
||||
"charge_full",
|
||||
"batt_full_current",
|
||||
"charge_full_design";
|
||||
"charge_full_design",
|
||||
"soh";
|
||||
qcom,enable-charging-limit;
|
||||
qcom,upper-limit-capacity = <65>;
|
||||
qcom,lower-limit-capacity = <60>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue