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

Skip to content
Commit a6d48019 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: Use digital 0 vsense for internal rsense



The BMS needs to use a digital 0 for vsense when the batfet is closed
when coulomb counting with the internal rsense. Otherwise, a negative
current may be sensed which can prevent OCVs.

Detect when internal rsense is selected and always set INT_RSNSN_CTL
to 0x0 in order to report digital 0.

Change-Id: I394102b28020f03a7794f0509c0a201b0092b99a
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 68a6b7b2
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