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

Commit 4a016cdc authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

dt-bindings: qpnp-fg-gen4: Support multiple profile loading



Add support for multiple profile loading based on battery age
level. User can select a profile based on batt_age_level property
runtime. If a valid profile exists for the battery age level, it
will be loaded. By default, a profile with age level 0 will be
loaded if the feature is enabled.

Add a property "qcom,multi-profile-load" to support this.

Change-Id: Ifc0298445a15f05c47a3a6503fcb2e8c986b3c85
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 734d1dd4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -403,6 +403,14 @@ First Level Node - FG Gen4 device
		    five pin battery is used. Based on this, time to full
		    calculations would use the Rbatt calculated properly.

- qcom,multi-profile-load
	Usage:      optional
	Value type: <empty>
	Definition: A boolean property that when specified indicates that
		    multiple profile loading needs to be enabled. This requires
		    multiple battery profiles to be specified for a battery for
		    proper functionality.

==========================================================
Second Level Nodes - Peripherals managed by FG Gen4 driver
==========================================================