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

Commit 055b2f8d authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

power: stc3117-battery: Fix minor bugs in FG calculations



Fix following bugs in FG code:
- change cc_adj/vm_adj to signed value
- update calculation for vm_cnf
- update soc correction calculation and enable it based on DT
  property.

While at it, also add 'soc-tbl' property which contains the SOC
points used for the SOC-OCV reference table in the hardware.

CRs-Fixed: 951248
Change-Id: Icc85f75b65e913f9f6bcf5e73abfd51ba42ad2c4
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 747b0f6a
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