power: smb1390: add support to disable smb1390 based on SOC
Charger driver disables SMB1390 once charging enters Taper charging
phase, this is to prevent SMB1390 from pumping high current into battery
at higher voltages. There are condition like adapter reset where SMB1390
might get enabled at higher battery voltage and pump current into the
battery before software gets chance to disable it and this could lead to
battery OV.
Fix this by by keeping SMB1390 disabled above a configured battery SOC.
Change-Id: I2b5a93fdebfb4f17f7c97c74775efcdb406308b4
Signed-off-by:
Umang Agrawal <uagrawal@codeaurora.org>
Loading
Please register or sign in to comment