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

Commit 669f5036 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: dwc3: Support float charger detection



Chargers on some platforms do not support FLOAT charger
detection. On these platforms, the float charger can be
detected depending on the state of the DP and DM lines as
detected by the PHY.
So, on these platforms check for the DP DM line state
and if found floating, do not start the peripheral mode
and notify PMIC -ETIMEDOUT implying the connected
charger is of type float.

Change-Id: I6bf54b0d5c143a849ce9ea7bc515d62204ed2f33
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 705aac61
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