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

Commit 8ceb73a8 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: phy-msm: Add support for limiting type-c charging current for SDP



There are some bad type-c to standard A cables which are not compliant
to type-c specification. When these cables are used to connect to legacy
Host PCs, Pericom type-c chip might detect charging current as 3A. Due to
this, USB driver notifies PMIC to draw with 3A and results in PMIC drawing
more current than 500mA provided by legacy host. Hence fix this by having
support for limiting type-c charging current to 500mA in case of SDP
CHARGERs to avoid power surge issues on legacy hosts.

Change-Id: I480afd49ecd297f835b7c01d10e7431374e5a580
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 58be1b1f
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