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

Skip to content
Commit 49373679 authored by zhenhuah's avatar zhenhuah Committed by Stephen Boyd
Browse files

usb: msm_otg: add charger detection for floated D+ and D-



Floated charger means "D+/D- floated charger". According batt
charging spec 1.2, during primary detection, the DP voltage
is VDP_SRC, DM voltage may not exceed VDAT_REF, it's same to
standard downstream port(SDP). Introducing data contact
detection(DCD) here to distinguish between SDP and floated
charger. If DCD detected, it's SDP, otherwise floated charger
is detected.

Change-Id: Id7655f7209408092da84a09e3ab6f5c5a764ef78
Signed-off-by: default avatarzhenhuah <zhenhuah@codeaurora.org>
parent 7db0410d
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