aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorJie Cheng <rockiec@codeaurora.org>2015-04-02 17:34:36 +0800
committerJie Cheng <rockiec@codeaurora.org>2015-04-15 14:00:48 +0800
commitcf98deff3ba2a8870d89b72bc28a9bde5110b684 (patch)
tree289e233b45f3b49fb144f7eee7ee98f455fac7e0 /scripts/gcc-wrapper.py
parent63282873e3cad25820d75216ac660f307af35004 (diff)
power: smb1351-charger: Enable the charge termination during JEITA
If SoC (state of charge) based charging termination is used, when the JEITA condition hits and battery voltage higher than the JEITA compensated floating voltage, the switch mode charger would keep working even vbatt is higher than its output. This puts the charger into reverse boost and prevents the charger removal detection. Fix this by changing to current based termination during JEITA. This turns off the buck avoiding reverse boost. Restore to SoC based charging termination when JEITA condition exits, and re-enable charging if SOC is not FULL. While at it, force SMB into pre-charge to allow it to draw less than 1000mA to adhere to the JEITA spec. Change-Id: I9501a89a654e235d3ceea6e4eb5b95bee23d4583 Signed-off-by: Jie Cheng <rockiec@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions