commit | 7acc9973e3c42de9926b28eec8ae3434dfdde3be | [log] [tgz] |
---|---|---|
author | Robert Jarzmik <robert.jarzmik@free.fr> | Sat Dec 06 22:05:15 2014 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jan 12 12:13:29 2015 -0600 |
tree | 48cc00abfbbb8608577bd186aec7b0b5094cc797 | |
parent | 7bdea87a871f217a8a463f9203e6d0c702b7fda9 [diff] |
usb: phy: generic: add vbus support Add support for vbus detection and power supply. This code is more or less stolen from phy-gpio-vbus-usb.c, and aims at providing a detection mechanism for VBus (ie. usb cable plug) based on a GPIO line, and a power supply activation which draws current from the VBus. [ balbi@ti.com : fix build break ] Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Felipe Balbi <balbi@ti.com>