Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 13cfe8c4 authored by Chunmei Cai's avatar Chunmei Cai Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-linear-charger: Add collapsible charger support



VIN_MIN comparator is used to prevent USBIN voltage level dropping too
low to cause a charging failure. It is also used for charger removal
detection and requires VIN_MIN being set to 100mV above VDD_MAX. This
causes the low charging efficiency and high power dissipation when
charging a low battery at constant charging stage.

The collapsible charger feature is introduced to improve this. It
disables VIN_MIN comparator and allows USBIN collapse to a voltage
little above to VBAT during constant charging. The CHG_GONE comparator
is used to detect the charger removal when VBUS voltage drop below VBAT
+ 80mV.

CRs-Fixed: 816844
Change-Id: I98c8f8d1d85232e898796ab0e67228334a5ac0b4
Signed-off-by: default avatarChunmei Cai <ccai@codeaurora.org>
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent f16bb1f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment