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

Skip to content
Commit 3598ab55 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: add VCP workaround



The voltage collapse protection feature is broken
in hardware on PM8941 2.0.

Fix this by adding a workaround which overrides
the ICHG_END_VCP_CMP to 1 before setting the
maximum input current limit for the USB charging
path.

Note that this workaround does not apply to the
DC charging path.

Also add flags to track which workarounds should be
enabled or disabling specific based on the runtime-detected
PMIC version.

Change-Id: Ie18e7cd3f70e4896fa5c04e952cfbc5c5b3dc6ef
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 9fdc0f2a
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