USB: phy-msm: Remove pull downs from D+ and D- lines upon cable connect
Currently D+ and D- lines are pulled down when usb cable is not
connected. For proper USB type detection pull downs on these lines
need to be removed. Hence charger driver notifies USB driver to
remove pull down by power_supply property.
Removing pulldown is achieved by turning on 3.3V analog voltage rail.
Upon disconnect same property is updated to turn off the rail.
While at it, add support for HVDCP adapter type.
CRs-Fixed: 1086015
Change-Id: Ic073843c54856a22096d11eeaed6d107363aebbc
Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment