2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/usb/gadget
Felipe Balbi 72246da40f usb: Introduce DesignWare USB3 DRD Driver
The DesignWare USB3 is a highly
configurable IP Core which can be
instantiated as Dual-Role Device (DRD),
Peripheral Only and Host Only (XHCI)
configurations.

Several other parameters can be configured
like amount of FIFO space, amount of TX and
RX endpoints, amount of Host Interrupters,
etc.

The current driver has been validated with
a virtual model of version 1.73a of that core
and with an FPGA burned with version 1.83a
of the DRD core. We have support for PCIe
bus, which is used on FPGA prototyping, and
for the OMAP5, more adaptation (or glue)
layers can be easily added and the driver
is half prepared to handle any possible
configuration the HW engineer has chosen
considering we have the information on
one of the GHWPARAMS registers to do
runtime checking of certain features.

More runtime checks can, and should, be added
in order to make this driver even more flexible
with regards to number of endpoints, FIFO sizes,
transfer types, etc.

While this supports only the device side, for
now, we will add support for Host side (xHCI -
see the updated series Sebastian has sent [1])
and OTG after we have it all stabilized.

[1] http://marc.info/?l=linux-usb&m=131341992020339&w=2

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-22 16:03:11 -07:00
..
amd5536udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
amd5536udc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
at91_udc.c USB: at91_udc: include linux/prefetch.h explicitly 2011-08-08 12:34:47 -07:00
at91_udc.h ARM: 6209/3: at91_udc: Add vbus polarity and polling mode 2010-07-18 20:39:10 +01:00
atmel_usba_udc.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-07-25 23:08:32 -07:00
atmel_usba_udc.h
audio.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
cdc2.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
ci13xxx_msm.c usb: gadget: add platform module alias where it is missing 2011-07-01 14:27:07 -07:00
ci13xxx_pci.c USB: gadget: Introduce ci13xxx_udc_driver struct 2010-12-10 14:23:33 -08:00
ci13xxx_udc.c usb: gadget: ci13xx_udc.c: fix compile warning 2011-07-05 16:41:14 +03:00
ci13xxx_udc.h USB: gadget: Add test mode support for ci13xxx_udc 2011-02-25 11:33:57 -08:00
composite.c usb: gadget: composite: fix bMaxPacketSize for SuperSpeed 2011-08-01 22:06:37 +03:00
config.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
dbgp.c usb: gadget: defer setting maxpacket till ->setup() 2011-07-01 14:31:12 -07:00
dummy_hcd.c usb: gadget: dummy_hcd: convert to new-style udc-probe 2011-07-01 14:31:14 -07:00
epautoconf.c usb: gadget: add SuperSpeed support to the Gadget Framework 2011-07-01 14:27:05 -07:00
ether.c usb: gadget: add SS descriptors to Ethernet gadget 2011-07-08 13:55:30 +03:00
f_acm.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
f_audio.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
f_ecm.c usb: gadget: add SS descriptors to Ethernet gadget 2011-07-08 13:55:30 +03:00
f_eem.c usb: gadget: add SS descriptors to Ethernet gadget 2011-07-08 13:55:30 +03:00
f_fs.c usb: gadget: add usb_endpoint_descriptor to struct usb_ep 2011-06-28 11:14:36 -07:00
f_hid.c usb: gadget: hid: don't STALL when processing a HID Descriptor request 2011-08-01 22:06:47 +03:00
f_loopback.c usb: gadget: zero: add superspeed support 2011-07-08 13:57:54 +03:00
f_mass_storage.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
f_ncm.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
f_obex.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
f_phonet.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-07-25 23:08:32 -07:00
f_rndis.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
f_serial.c usb: gadget: use config_ep_by_speed() instead of ep_choose() 2011-06-28 11:14:37 -07:00
f_sourcesink.c usb: gadget: zero: add superspeed support 2011-07-08 13:57:54 +03:00
f_subset.c usb: gadget: add SS descriptors to Ethernet gadget 2011-07-08 13:55:30 +03:00
f_uvc.c USB: Gadget: Webcam: Return correct result of bind 2011-07-01 14:45:42 -07:00
f_uvc.h V4L/DVB: uvc: Move constants and structures definitions to linux/usb/video.h 2010-08-02 16:43:15 -03:00
file_storage.c usb: gadget: defer setting maxpacket till ->setup() 2011-07-01 14:31:12 -07:00
fsl_mxc_udc.c usb: gadget/fsl_mxc_udc: Detect the CPU type in run-time 2011-02-04 11:42:52 -08:00
fsl_qe_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
fsl_qe_udc.h usb: fix a typo in a comment 2011-04-13 16:41:00 -07:00
fsl_udc_core.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-07-25 23:08:32 -07:00
fsl_usb2_udc.h USB: extend ehci-fsl and fsl_udc_core driver for OTG operation 2011-05-02 16:59:38 -07:00
fusb300_udc.c usb: gadget: fusb300: remove #if 0 block 2011-08-01 22:06:33 +03:00
fusb300_udc.h usb: udc: add Faraday fusb300 driver 2011-01-22 19:45:36 -08:00
g_ffs.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
g_zero.h
gadget_chips.h usb: gadget: introduce gadget_is_dwc3() 2011-08-22 16:00:46 -07:00
gmidi.c usb: gadget: defer setting maxpacket till ->setup() 2011-07-01 14:31:12 -07:00
goku_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
goku_udc.h usb: gadget: goku_udc: add registered flag bit, fixing build 2010-11-11 06:57:24 -08:00
hid.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
imx_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
imx_udc.h usb: gadget/imx-udc: remove usage of deprecated symbol USBD_INT0 2010-11-11 05:51:15 -08:00
inode.c usb: gadget: defer setting maxpacket till ->setup() 2011-07-01 14:31:12 -07:00
Kconfig usb: Introduce DesignWare USB3 DRD Driver 2011-08-22 16:03:11 -07:00
langwell_udc.c usb: gadget: langwell_udc: fix compile warnings 2011-07-05 16:41:12 +03:00
langwell_udc.h USB: langwell: USB Client driver memory handling 2010-10-22 10:21:19 -07:00
m66592-udc.c usb: gadget: m66592-udc: add pullup function 2011-07-09 01:08:40 +03:00
m66592-udc.h usb: gadget: m66592-udc: add function for external controller 2011-07-09 01:08:39 +03:00
Makefile usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
mass_storage.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
multi.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
mv_udc_core.c usb: gadget: add platform module alias where it is missing 2011-07-01 14:27:07 -07:00
mv_udc_phy.c USB: pxa: Add USB client support for Marvell PXA9xx/PXA168 chips 2010-11-30 16:51:21 -08:00
mv_udc.h USB: pxa: Add USB client support for Marvell PXA9xx/PXA168 chips 2010-11-30 16:51:21 -08:00
ncm.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
ndis.h
net2272.c usb: gadget: net2272 - Correct includes 2011-08-08 12:34:44 -07:00
net2272.h USB: net2272: driver for PLX NET2272 USB device controller 2011-06-06 16:47:27 -07:00
net2280.c usb: gadget: remove net2280_set_fifo_mode() 2011-07-01 14:31:08 -07:00
net2280.h
nokia.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
omap_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
omap_udc.h
pch_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
printer.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-07-25 23:08:32 -07:00
pxa25x_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
pxa25x_udc.h
pxa27x_udc.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
pxa27x_udc.h treewide: transciever/transceiver spelling fixes 2011-06-24 11:20:14 +02:00
r8a66597-udc.c usb: gadget: r8a66597-udc: add pullup function 2011-07-09 01:08:38 +03:00
r8a66597-udc.h usb: update email address in r8a66597-udc and m66592-udc 2011-07-08 12:47:27 +03:00
rndis.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
rndis.h USB: rndis: section mismatch fix 2010-09-03 17:33:40 -07:00
s3c2410_udc.c usb: gadget: s3c2410_udc: fix unterminated platform_device_id table 2011-08-01 22:06:31 +03:00
s3c2410_udc.h
s3c-hsotg.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
s3c-hsudc.c usb: gadget: add platform module alias where it is missing 2011-07-01 14:27:07 -07:00
serial.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
storage_common.c usb: gadget: Compilation warning fix 2011-07-01 14:45:44 -07:00
u_audio.c usb: g_audio: Fix crash at driver removal 2010-12-03 12:05:35 -08:00
u_audio.h
u_ether.c usb: gadget: add SS descriptors to Ethernet gadget 2011-07-08 13:55:30 +03:00
u_ether.h usb: gadget: add usb_endpoint_descriptor to struct usb_ep 2011-06-28 11:14:36 -07:00
u_phonet.h
u_serial.c usb: gadget: add usb_endpoint_descriptor to struct usb_ep 2011-06-28 11:14:36 -07:00
u_serial.h usb: gadget: add usb_endpoint_descriptor to struct usb_ep 2011-06-28 11:14:36 -07:00
udc-core.c usb: gadget: udc-core: wire up sysfs files 2011-07-01 14:31:14 -07:00
usbstring.c
uvc_queue.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uvc_queue.h V4L/DVB: uvc: Fix multiple symbols definitions with UVC gadget and host drivers 2010-07-11 17:45:10 -03:00
uvc_v4l2.c [media] v4l2-event/ctrls/fh: allocate events per fh and per type instead of just per-fh 2011-07-27 17:53:31 -03:00
uvc_video.c V4L/DVB: uvc: Fix multiple symbols definitions with UVC gadget and host drivers 2010-07-11 17:45:10 -03:00
uvc.h V4L/DVB: uvc: Move constants and structures definitions to linux/usb/video.h 2010-08-02 16:43:15 -03:00
webcam.c usb: gadget: add max_speed to usb_composite_driver 2011-07-01 14:27:05 -07:00
zero.c usb: gadget: zero: add superspeed support 2011-07-08 13:57:54 +03:00