Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82cd4c30 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents a04e4c9a acc4e76a
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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>;
		};
		...
	};