linux-stable/drivers/usb/gadget
Roger Quadros 052a11d13b usb: phy: make PHY driver selection possible by controller drivers
Convert PHY Drivers from menuconfig to menu so that the PHY drivers
can be explicitely selected by the controller drivers.

USB_PHY is no longer a user visible option. It is upto to the PHY
drivers to select it if needed. This patch does so for the existing
PHY drivers that use the USB_PHY library.

Doing so moves the USB_PHY and PHY driver selection problem from the
end user to the PHY and controller driver developer.

e.g.

Earlier, a controller driver (e.g. EHCI_OMAP) that needs to select
a PHY driver (e.g. NOP_PHY) couldn't do so because the PHY driver
depended on USB_PHY. Making the controller driver depend on USB_PHY
has a negative effect i.e. it becomes invisible to the user till
USB_PHY is enabled. Most end users will not familiar with this.

With this patch, the end user just needs to select the controller driver
needed for his/her platform without worrying about which PHY driver to
select.

Also update USB_EHCI_MSM, USB_LPC32XX and USB_OMAP to not depend
on USB_PHY any more. They can safely select the necessary PHY drivers.

[ balbi@ti.com : refreshed on top of my next branch. Changed bool
	followed by default n into def_bool n ]

CC: Pavankumar Kondeti <pkondeti@codeaurora.org>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-07-29 13:57:05 +03:00
..
acm_ms.c usb: gadget: push tty port allocation from gadget into f_acm 2013-04-03 14:43:31 +03:00
amd5536udc.c usb: gadget: amd5536udc: don't assign gadget.dev.release directly 2013-03-18 11:17:46 +02:00
amd5536udc.h usb: gadget: amd5536udc: remove unused structure member 2013-03-18 11:16:56 +02:00
at91_udc.c usb: gadget: at91_udc: prepare clk before calling enable 2013-07-15 12:59:40 +03:00
at91_udc.h
atmel_usba_udc.c Adding the DT support to USB gadget High-Speed aka usba. 2013-06-14 18:58:28 -07:00
atmel_usba_udc.h USB: gadget: atmel_usba: add DT support 2013-05-24 07:14:45 +08:00
audio.c
bcm63xx_udc.c usb: gadget: don't check resource with devm_ioremap_resource 2013-05-15 17:31:58 +03:00
cdc2.c usb: gadget: cdc2: convert to new interface of f_ecm 2013-06-10 17:26:56 +03:00
composite.c usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
config.c
configfs.c usb: gadget: fix error return code in configfs_composite_bind() 2013-05-15 17:25:49 +03:00
dbgp.c usb: gadget: allocate & giveback serial ports instead hard code them 2013-01-21 20:52:43 +02:00
dummy_hcd.c usb: gadget: dummy_hcd: fix error return code in init() 2013-05-15 17:25:31 +03:00
epautoconf.c
ether.c usb: gadget: ether: convert to new interface of f_rndis 2013-06-10 17:58:09 +03:00
f_acm.c usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
f_ecm.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_eem.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_fs.c gadgetfs: don't bother with fops->owner 2013-04-09 14:13:03 -04:00
f_hid.c
f_loopback.c usb: gadget: convert source sink and loopback to new function interface 2013-01-21 20:52:40 +02:00
f_mass_storage.c usb: gadget: f_mass_storage: fix default product name 2013-06-12 23:57:12 +03:00
f_midi.c
f_ncm.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_obex.c usb: gadget: f_obex: remove compatibility layer 2013-06-10 17:29:08 +03:00
f_phonet.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_rndis.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_serial.c usb: gadget: f_serial: add configfs support 2013-04-03 14:43:35 +03:00
f_sourcesink.c usb: gadget: f_sourcesink.c: correct a copy-paste misnomer 2013-04-23 14:12:02 +03:00
f_subset.c usb/gadget: free opts struct on error recovery 2013-07-25 11:32:15 -07:00
f_uac1.c usb: gadget: f_uac1: silence an info leak warning 2013-03-04 13:13:58 +02:00
f_uac2.c USB: gadget: f_uac2: Fix broken prm to uac2 mapping 2013-06-10 17:10:23 +03:00
f_uvc.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-07-13 12:09:57 -07:00
f_uvc.h usb: gadget: uvc: Fix coding style issues introduced by SS support 2013-03-18 11:18:18 +02:00
fotg210-udc.c usb: gadget: fotg210-udc: remove __init and __exit 2013-07-15 12:59:17 +03:00
fotg210.h usb: gadget: add Faraday fotg210_udc driver 2013-06-10 17:58:11 +03:00
fsl_mxc_udc.c
fsl_qe_udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
fsl_qe_udc.h
fsl_udc_core.c gadget: single_open() leaks 2013-05-05 00:16:11 -04:00
fsl_usb2_udc.h
functions.c usb: gadget: add a forward pointer from usb_function to its "instance" 2013-01-21 20:52:46 +02:00
fusb300_udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
fusb300_udc.h usb: gadget: fusb300_udc: add FUSB300_EPSET0_STL_CLR for clearing EP0 stall 2013-04-02 16:57:24 +03:00
g_ffs.c usb: gadget: f_rndis: convert to new function interface with backward compatibility 2013-06-10 17:58:08 +03:00
g_zero.h usb: gadget: convert source sink and loopback to new function interface 2013-01-21 20:52:40 +02:00
gadget_chips.h
gmidi.c
goku_udc.c gadget: single_open() leaks 2013-05-05 00:16:11 -04:00
goku_udc.h usb: gadget: goku_udc: let udc-core manage gadget->dev 2013-03-18 11:16:45 +02:00
hid.c
inode.c aio: use cancellation list lazily 2013-05-07 18:38:29 -07:00
Kconfig usb: phy: make PHY driver selection possible by controller drivers 2013-07-29 13:57:05 +03:00
lpc32xx_udc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
m66592-udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
m66592-udc.h usb: gadget: m66592-udc: convert to udc_start/udc_stop 2013-01-24 21:11:29 +02:00
Makefile usb: gadget: remove imx_udc 2013-07-29 13:53:25 +03:00
mass_storage.c
multi.c usb: gadget: f_rndis: convert to new function interface with backward compatibility 2013-06-10 17:58:08 +03:00
mv_u3d.h
mv_u3d_core.c usb: gadget: mv_u3d_core: fix to pass correct device identity to free_irq() 2013-07-15 13:01:06 +03:00
mv_udc.h usb: gadget: mv_udc_core: remove unused clock 2013-04-02 11:42:45 +03:00
mv_udc_core.c usb: gadget: mv_udc_core: remove unused clock 2013-04-02 11:42:45 +03:00
ncm.c usb: gadget: ncm: convert to new function interface 2013-06-10 17:12:52 +03:00
ndis.h
net2272.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
net2272.h
net2280.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
net2280.h
nokia.c usb: gadget: nokia: convert to new interface of f_ecm 2013-06-10 17:32:23 +03:00
omap_udc.c usb: gadget: omap_udc: don't assign gadget.dev.release directly 2013-03-18 11:17:53 +02:00
omap_udc.h
pch_udc.c usb: gadget: pch_udc: fix sparse warnings 2013-03-27 13:18:59 +02:00
printer.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
pxa25x_udc.c usb: gadget: pxa25x_udc: Remove redundant platform_set_drvdata() 2013-05-15 17:22:06 +03:00
pxa25x_udc.h usb: gadget: pxa25x_udc: convert to udc_start/udc_stop 2013-01-24 21:11:31 +02:00
pxa27x_udc.c usb: gadget: pxa27x_udc: Remove redundant platform_set_drvdata() 2013-05-28 20:09:32 +03:00
pxa27x_udc.h usb: gadget: pxa27x_udc: convert to udc_start/udc_stop 2013-01-24 21:11:31 +02:00
r8a66597-udc.c usb: gadget: r8a66597-udc: do not unlock unheld spinlock in r8a66597_sudmac_irq() 2013-06-10 17:08:48 +03:00
r8a66597-udc.h
rndis.c usb: gadget: rndis: init & exit rndis at module load/unload 2013-06-10 17:58:09 +03:00
rndis.h usb: gadget: rndis: init & exit rndis at module load/unload 2013-06-10 17:58:09 +03:00
s3c-hsotg.c usb: gadget: s3c-hsotg: Allow driver instantiation using device tree 2013-07-29 13:56:49 +03:00
s3c-hsotg.h
s3c-hsudc.c usb: gadget: s3c-hsudc: delete outdated comment 2013-03-18 11:18:10 +02:00
s3c2410_udc.c usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe() 2013-05-15 17:24:39 +03:00
s3c2410_udc.h usb: gadget: s3c2410: convert to udc_start/udc_stop 2013-01-24 21:11:32 +02:00
serial.c usb: gadget: serial: convert to new interface of f_obex 2013-04-03 14:43:36 +03:00
storage_common.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
tcm_usb_gadget.c target: make queue_tm_rsp() return void 2013-07-07 18:36:53 -07:00
tcm_usb_gadget.h
u_ecm.h usb: gadget: f_ecm: add configfs support 2013-06-10 17:27:54 +03:00
u_eem.h usb: gadget: f_eem: add configfs support 2013-06-10 17:58:00 +03:00
u_ether.c usb: gadget: u_ether: allow getting binary-form host address 2013-06-10 17:57:45 +03:00
u_ether.h usb: gadget: f_eem: remove compatibility layer 2013-06-10 17:57:47 +03:00
u_ether_configfs.h usb: gadget: add helpers for configfs support for USB Ethernet 2013-06-10 17:15:43 +03:00
u_gether.h usb: gadget: f_subset: add configfs support 2013-06-10 17:58:08 +03:00
u_ncm.h usb: gadget: f_ncm: add configfs support 2013-06-10 17:15:02 +03:00
u_phonet.h usb: gadget: f_phonet: remove compatibility layer 2013-06-10 17:31:55 +03:00
u_rndis.h usb: gadget: f_rndis: add configfs support 2013-06-10 17:58:10 +03:00
u_serial.c usb: gadget: u_serial: fix typo which cause build warning 2013-03-14 12:47:53 +02:00
u_serial.h usb: gadget: nokia: use function framework for ACM 2013-04-03 14:43:20 +03:00
u_uac1.c usb: gadget: u_uac1: NULL dereference on error path 2013-03-04 13:16:45 +02:00
u_uac1.h
udc-core.c usb: gadget: udc-core: move sysfs_notify() to a workqueue 2013-07-29 13:57:02 +03:00
usbstring.c
uvc.h [media] f_uvc: add v4l2_device and replace parent with v4l2_dev 2013-06-21 11:04:47 -03:00
uvc_queue.c usb: gadget: uvc: Implement videobuf2 .wait_prepare and .wait_finish operations 2013-06-04 23:27:50 +03:00
uvc_queue.h usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework 2013-04-02 11:42:48 +03:00
uvc_v4l2.c usb: gadget/uvc: Add support for 'get_unmapped_area' for MMUless architectures 2013-04-02 11:42:49 +03:00
uvc_video.c usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework 2013-04-02 11:42:48 +03:00
webcam.c
zero.c usb: gadget: zero: fix error return code in zero_bind() 2013-05-15 17:15:57 +03:00