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

Skip to content
Commit 444a473f authored by David Keitel's avatar David Keitel
Browse files

power: qpnp-charger: handle usb short to gnd OTG case



Over current protection (OCP) at USBIN depends on USB voltage to
function. Thus, a short at USBIN before OTG is enabled causes OCP to
fail.

The workaround uses the inductor current limit during boost to limit
the current drawn during a short and detect a short. If no short
was detected, the inductor limit is raised again. If a short happens
after the limit is raised the OCP circuitry will trigger and protect
the device.

CRs-Fixed: 600036
Change-Id: Ib8d46e9065b8b09100507a46718ed85336e12084
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 5471a014
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