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

This commit is contained in:
qctecmdr 2020-03-03 21:26:41 -08:00 • committed by Gerrit - the friendly Code Review server
commit 82cd4c30df

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>;
};
...
};