power: qpnp-fg-gen4: add support to store FG parameters in SDAM
Currently, parameters like cycle counters and learned capacity
are stored in FG SRAM which can get wiped out when the PMIC is
reset (e.g. S2 reset). Add support to store them in SDAM which
can retain the values upon reset.
Change-Id: Id0f6cda47995de49604609a38f9e6667e0575bf1
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment