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: Ibbac8b3775a0096599644a74306961996ba5daa7
Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
Loading
Please register or sign in to comment