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:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment