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

Skip to content
Commit 8e0551fd authored by David Keitel's avatar David Keitel
Browse files

power: qpnp-fg: battery id based profile loading



Utilize of_batterydata_get_best_profile batterydata
API to obtain the closest matching battery profile
device tree node.

If there is only one profile available this will
be the node returned.

Once this node is filled, load this profile into
SRAM.

If one wants to disable this feature you can simply
set the qcom,use-otp-profile property in the qpnp-fg
device tree node.

Change-Id: Ia63c65df29700176db81e3e4f17135e00e89b5b9
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 53478aac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment