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

Skip to content
Commit 173eda18 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: OTG: msm: disallow PHY retention with dedicated charger connected



When USB dedicated charger is connected, low power mode(LPM) is allowed
after PMIC is notified about available current.  As part of putting
hardware in LPM, PHY comparators are turned off and retention mode is
enabled.  Due to this dedicated charger disconnect event is ignored.

PMIC VBUS notifications can be used to detect dedicated charger disconnect.
But spurious interrupts are occurring when PHY is in retention mode with
dedicated charger connected.  Hence disallow PHY retention mode and use
PHY interrupts to detect dedicated charger disconnection.

Change-Id: I4d1181d3a80931f6d50ed78fea874f117c3a5a2a
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 2f31f7ef
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