phy-msm-usb: Perform sdp_check for SDP charger as well

In case of wearables, there is a chance that usb pins get dirty and due to
that, USB might be out of low power mode. This could cause battery draining
faster as enumeration might fail due to dirty pins and charger ends up
stopping charging. Fix the issue by having workaround to have timer to
check whether USB enumeration happened or not. If no enumeration, treat as
disconnect & notify ETIMEDOUT to charger driver and enter low power mode.

Change-Id: I8b92f18c962a56b49ff5ac4d514b39babce1f370
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
5 files changed