linux-stable/drivers/usb/otg
Roger Quadros b54b5f5653 USB: phy: nop: Defer probe if device needs VCC/RESET
Add 2 flags, needs_vcc and needs_reset to platform data.
If the flag is set and the regulator couldn't be found
then we bail out with -EPROBE_DEFER.

For device tree boot we depend on presensce of vcc-supply/
reset-supply properties to decide if we should bail out
with -EPROBE_DEFER or just continue in case the regulator
can't be found.

This is required for proper functionality in cases where the
regulator is needed but is probed later than the PHY device.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:15:18 +02:00
..
ab8500-usb.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
fsl_otg.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
fsl_otg.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
gpio_vbus.c usb: converto drivers/usb/* to use module_platform_driver_probe() 2013-01-17 17:39:34 -08:00
isp1301_omap.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
Kconfig USB: fix fsl_otg config dependency 2012-12-13 11:58:40 +02:00
Makefile usb: otg: add basic mxs phy driver support 2012-07-09 09:59:23 -07:00
msm_otg.c usb: converto drivers/usb/* to use module_platform_driver_probe() 2013-01-17 17:39:34 -08:00
mv_otg.c usb: xceiv: patches for v3.9 merge window 2013-01-25 09:09:46 -08:00
mv_otg.h usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
mxs-phy.c USB patches for 3.9-rc1 2013-02-21 12:20:00 -08:00
nop-usb-xceiv.c USB: phy: nop: Defer probe if device needs VCC/RESET 2013-03-18 11:15:18 +02:00
otg.c usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put 2013-03-04 09:33:30 +02:00
otg_fsm.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg_fsm.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
twl4030-usb.c usb: musb: omap: make use of the new PHY lib APIs 2013-01-25 13:03:09 +02:00
twl6030-usb.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
ulpi.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00
ulpi_viewport.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00