bindings: power: supply: Add thermal mitigation for qcom,battery-charger

Add "qcom,thermal-mitigation" property to configure fast charging
current for different system thermal mitigation levels.

Change-Id: Ia07b24d85d904e6e623ba547973f5a5779305784
This commit is contained in:
Subbaraman Narayanamurthy
2020-02-25 13:47:48 -08:00
committed by David Collins
parent fc06e16922
commit 96ed0155ee

View File

@@ -12,6 +12,16 @@ information on "qcom,pmic_glink" device which is used in the example below.
Value type: <stringlist>
Definition: must be "qcom,battery-charger"
- qcom,thermal-mitigation:
Usage: optional
Value type: <prop-encoded-array>
Definition: Array of fast charge current limit values for different
system thermal mitigation levels. This should be a flat
array that denotes the maximum charging current (in uA) for
each thermal level. Elements should be defined in such a
way that the next element is always less than or equal to
the current element (descending order).
= EXAMPLE
&soc {
@@ -19,6 +29,8 @@ information on "qcom,pmic_glink" device which is used in the example below.
...
qcom,battery_charger {
compatible = "qcom,battery-charger";
qcom,thermal-mitigation =
<3000000 1500000 1000000 500000>;
};
...
};