OpenCloudOS-Kernel/drivers/usb/dwc3
Vivek Gautam 388e5c5113 usb: dwc3: remove dwc3 dependency on host AND gadget.
DWC3 controller curretly depends on USB && USB_GADGET.
Some hardware may like to use only host feature on dwc3,
or only gadget feature.

So, removing this dependency of USB_DWC3 on USB and USB_GADGET.
Adding the mode of operaiton of DWC3 also here
HOST/GADGET/DUAL_ROLE based on which features are enabled.

[ balbi@ti.com :
	. make sure we have default modes for all possible Kernel
		configurations.
	. Remove the config -> menuconfig change as it's unnecessary
	. switch over to IS_ENABLED() ]

CC: Doug Anderson <dianders@chromium.org>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-01-18 14:55:55 +02:00
..
Kconfig usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
Makefile usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
core.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
core.h usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
dwc3-exynos.c usb: dwc3: exynos: use devm_ functions 2013-01-18 10:11:34 +02:00
dwc3-omap.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
dwc3-pci.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
ep0.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
gadget.c usb: dwc3: gadget: req->queued must be forced to false in cleanup 2013-01-18 14:35:46 +02:00
gadget.h usb: dwc3: correct set_halt implementation for ep0 2012-07-02 10:02:07 +03:00
host.c usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00