USB: dwc3: Add support for non standard charger detection

Current driver does have support for detecting non standard
charger. If this support is enabled, there are chances that slowly
connecting device to SDP slowly can be detected as non standard
charger and will start charging with 1500mA. This happens due to
data lines not making contact within 900msec. Hence add support for
detecting these scenarios and detect the correct charger.

CRs-Fixed: 492480
Change-Id: I27518f0090d5c321823d2e632b61f81e523f6087
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
3 files changed