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

Skip to content
Commit af6602e0 authored by Zhenhua Huang's avatar Zhenhua Huang Committed by Gerrit - the friendly Code Review server
Browse files

power: smb135x-charger: improve handling USB insertion/removal



Currently, we handle the USB insertion through source
detect interrupt and USB removal through under voltage interrupt.

In certain cases where the VBUS drops less than 5V (say 4.4 V)
and VBAT is at 4.3 V, PHY disconnects. It will never get
reasserted since the VBUS doesn't drop below 1V and goes
back to 5V.

To handle such corner cases, handle the USB removal for DCP
on the falling edge of UV interrupt and on the falling edge of
SRC_DET interrupt for CDP/SDP.

Change-Id: I061f781a1ecf9af79c014c4dd4993dd1c34470bf
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 047cc1ae
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