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

Skip to content
Commit bdafe40d authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-charger: Introduce vddmax adjustments



The charger peripheral's vdd regulation loop attempts to keep the
battery terminal voltage constant during the constant voltage
charging phase (CV charging). However, the analog regulation circuits
has a 30 millivolt accuracy rating. This can lead to over or under
charging of the battery.

Fix this by adjusting the vddmax based on VADC reads of the vbat_sns
line. Keep the vddmax within 5 millivolts of the set max voltage.

Change-Id: I072bdfc4a6b19f54effbf96e08524a2898eba76c
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 78bbbd1b
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