commit | 9354c6afc3b75358f5d68e875c11bc7086a22094 | [log] [tgz] |
---|---|---|
author | Jack Pham <jackp@codeaurora.org> | Thu Dec 20 19:19:32 2012 -0800 |
committer | Manoj Rao <manojraj@codeaurora.org> | Thu Jan 03 15:40:12 2013 -0800 |
tree | 27be37e01b0bb94fd1b06ecff66ce2847dc8384c | |
parent | 033881f30cd71ea248c3cc77f6fe245d324f2623 [diff] |
usb: dwc3-msm: support external vbus power_supply External clients may provide VBUS power even when USB is not in use. Support this by querying for an "ext-vbus" power_supply for which the "usb" power_supply will act as a supplicant. When the external power_supply sets its present and online states, the USB supply will in turn notify the battery of the external power source. Change-Id: I566ae4c4b047dcca2eb2d0f9aea56d19b53a9268 Signed-off-by: Jack Pham <jackp@codeaurora.org>