diff --git a/qcom/bangkk-charger.dtsi b/qcom/bangkk-charger.dtsi index 33daf22836b9..864f634b2c78 100644 --- a/qcom/bangkk-charger.dtsi +++ b/qcom/bangkk-charger.dtsi @@ -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>; diff --git a/qcom/blair-pm6125-moto-common-overlay.dtsi b/qcom/blair-pm6125-moto-common-overlay.dtsi index 182565d4cbb9..ff20bebcd39c 100644 --- a/qcom/blair-pm6125-moto-common-overlay.dtsi +++ b/qcom/blair-pm6125-moto-common-overlay.dtsi @@ -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>; diff --git a/qcom/corfup-charger.dtsi b/qcom/corfup-charger.dtsi index 4c04bff9222a..6ebaa9c2dd30 100644 --- a/qcom/corfup-charger.dtsi +++ b/qcom/corfup-charger.dtsi @@ -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>; diff --git a/qcom/fogo-charger.dtsi b/qcom/fogo-charger.dtsi index 12424e96e8df..1f61d958de1a 100644 --- a/qcom/fogo-charger.dtsi +++ b/qcom/fogo-charger.dtsi @@ -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>; diff --git a/qcom/fogor-charger.dtsi b/qcom/fogor-charger.dtsi index 018bfe1a6959..e3387ba4b279 100644 --- a/qcom/fogor-charger.dtsi +++ b/qcom/fogor-charger.dtsi @@ -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>; diff --git a/qcom/fogos-charger.dtsi b/qcom/fogos-charger.dtsi index 2fee38c9cb4a..a7608cbb3d95 100644 --- a/qcom/fogos-charger.dtsi +++ b/qcom/fogos-charger.dtsi @@ -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>; diff --git a/qcom/holi-moto-common-overlay.dtsi b/qcom/holi-moto-common-overlay.dtsi index f0c934f00b51..a79c6c877b08 100644 --- a/qcom/holi-moto-common-overlay.dtsi +++ b/qcom/holi-moto-common-overlay.dtsi @@ -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>; diff --git a/qcom/holi-pm6125-moto-common-overlay.dtsi b/qcom/holi-pm6125-moto-common-overlay.dtsi index 336adba8a0ea..937b072a0d6d 100644 --- a/qcom/holi-pm6125-moto-common-overlay.dtsi +++ b/qcom/holi-pm6125-moto-common-overlay.dtsi @@ -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>;