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

Skip to content
Commit 7b9c8bc4 authored by David Keitel's avatar David Keitel
Browse files

power: qpnp-fg: add battery profile loading support



The battery profile for the PMI8994 fuel gauge peripheral
is represented as a 128 byte long binary blob which
is specified in the batterydata devicetree file for
a given battery.

Upon probe the devicetree data is parsed and written
into the corresponding SRAM offset using a delayed
workqueue.

If no such property is present in the referenced battery
data file, the default OTP profiles will be used by the
fuel gauge and may introduce accuracy issues.

Change-Id: I2605d69265908f0c06d5b47c1dfe87e94c743380
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 55ca3fcf
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