linux/drivers/usb/dwc2
John Youn 05ee799f20 usb: dwc2: Move gadget settings into core_params
Move the gadget devicetree settings into the core_params structure and
document them. Then set and check them in params.c, with the addition of
some helper functions, and remove the equivalent code in gadget.c.

Because these parameters came from the standalone s3c driver, they have
a fixed default value rather than an autodetected one. Preserve and
document this behavior to avoid any compatibility issues.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-11-18 13:54:12 +02:00
..
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
core.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
core.h usb: dwc2: Move gadget settings into core_params 2016-11-18 13:54:12 +02:00
core_intr.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
debug.h usb: dwc2: move debugfs code to a separate file 2015-04-29 15:18:25 -05:00
debugfs.c usb: dwc2: Use platform endianness when accessing registers 2015-09-27 10:54:31 -05:00
gadget.c usb: dwc2: Move gadget settings into core_params 2016-11-18 13:54:12 +02:00
hcd.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
hcd.h usb: dwc2: host: Setting qtd to NULL after freeing it 2016-04-28 09:41:12 +03:00
hcd_ddma.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
hcd_intr.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
hcd_queue.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
hw.h usb: dwc2: Add delay to core soft reset 2016-09-08 14:02:52 +03:00
params.c usb: dwc2: Move gadget settings into core_params 2016-11-18 13:54:12 +02:00
pci.c usb: dwc2: pci: Add device mode to the dwc2-pci driver 2015-03-11 15:08:17 -05:00
platform.c usb: dwc2: Remove dwc2_set_all_params function 2016-11-18 13:54:11 +02:00