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:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment