power: qpnp-fg-gen4: Calculate Rbatt for 5-pin battery to support TTF
Currently, battery resistance (Rbatt) is provided based on ESR
and Rslow measured by FG. However 5-pin battery can be used on
some SM8150 platforms where Rprot from protective circuit should
be taken into account when Rbatt is used in TTF (Time to Full)
algorithm.
Add support for it through "qcom,five-pin-battery" property.
Change-Id: I3c7dc190c72beff5d4a687891d8e4d72cae047d5
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment