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

Commit 2082efff authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

dt-bindings: qpnp-fg-gen4: Add support for weighted capacity learning



Add support to loosen capacity learning qualifying criterion.
This helps to learn capacity from any starting battery SOC to
any ending battery SOC, provided, battery SOC changes by at least
10 % during charging. Assign weight to this capacity learning
event based on the change in battery SOC.

Change-Id: I8be35a4787460ee89c29eecf4edd1c404a8acd04
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent ac96e4e7
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -253,6 +253,20 @@ First Level Node - FG Gen4 device
		    capacity learning cycle. If this is not specified, then
		    the default value is 0. Unit is in decipercentage.

- qcom,cl-min-delta-batt-soc
	Usage:      optional
	Value type: <u32>
	Definition: Minimum change in battery SOC to qualify for capacity
		    learning. If this is not specified, then the default
		    value is 10. Unit is in percentage.

- qcom,cl-wt-enable
	Usage:      optional
	Value type: <empty>
	Definition: A boolean property to enable weighted capacity learning
		    based on change in battery SOC during a charging cycle.
		    If this is specified "qcom,cl-start-capacity" is not used.

- qcom,hold-soc-while-full
	Usage:      optional
	Value type: <empty>