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

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

power: qpnp-charger: add OCP support for SMBBP/SMBCL



Add over current protection support for the USB
peripheral of SMBBP and SMBCL devices.

The OCP interrupt is used to notify and clear
of over current conditions when reverse boosting for
USB OTG. In an over current condition the hardware
opens the OTG FET but leaves the boost on. The
interrupt handler clears the OCP LATCH and turns
back on the OTG switch.

Change-Id: I329887a6dcde2d9f96aca4fab310783327e024d9
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 175b9f8c
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