summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/usb_phy_generic.h
Commit message (Collapse)AuthorAgeFilesLines
* usb: phy: generic: add vbus supportRobert Jarzmik2015-01-121-0/+2
| | | | | | | | | | | | 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>
* usb: phy: generic: switch over to IS_ENABLED()Felipe Balbi2014-04-211-1/+1
| | | | | | | | | | when checking if our generic PHY is enabled, it's a lot easier to use IS_ENABLED() instead of manually checking for it. While at that, also remove the bogus defined(MODULE) at the end of the line. Signed-off-by: Felipe Balbi <balbi@ti.com>
* usb: phy: generic: allow multiples calls to usb_phy_generic_register()Felipe Balbi2014-04-211-4/+5
| | | | | | | | it's now very easy to return a platform_device pointer and have the caller pass it as argument when calling usb_phy_generic_unregister(). Signed-off-by: Felipe Balbi <balbi@ti.com>
* usb: phy: rename <linux/usb/usb_phy_gen_xceiv.h> to ↵Felipe Balbi2014-04-211-0/+30
<linux/usb/usb_phy_generic.h> now that all functions match the driver name, the only missing piece is to rename the header file itself. Signed-off-by: Felipe Balbi <balbi@ti.com>