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

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

USB: OTG: msm: Fix wall charger compliance issues



Battery charging spec 1.2 mandates portable devices to enable
VDP_SRC while charging from dedicated charger port.  Enable
VDP_SRC after detecting the charger as wall charger and enter
low power mode.  PHY can not drive VDP_SRC in retention.  Vote
against PHY retention and PHY power collapse.

Disable primary detection circuit and wait for 20msec before
enabling secondary detection circuit.  This would allow complete
discharge of voltage on the DM.

The DP/DM voltage source on time is taken as 40msec.  The spec
allows any value greater than 40msec.  Increase this timeout value
to 50msec for passing compliance tests correctly.

CRs-fixed: 330227
Change-Id: I0bc72b2098ff52644daab3a902b5ba099bb83667
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent f998520d
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