usb: gadget: Add xilinx usb2 device support
Xilinx USB2 device is a soft IP which supports both full and high speed USB 2.0 data transfers. This patch adds xilinx usb2 device driver support. Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
d799793b93
commit
1f7c516600
@ -354,6 +354,21 @@ config USB_EG20T
|
|||||||
ML7213/ML7831 is completely compatible for Intel EG20T PCH.
|
ML7213/ML7831 is completely compatible for Intel EG20T PCH.
|
||||||
|
|
||||||
This driver can be used with Intel's Quark X1000 SOC platform
|
This driver can be used with Intel's Quark X1000 SOC platform
|
||||||
|
|
||||||
|
config USB_GADGET_XILINX
|
||||||
|
tristate "Xilinx USB Driver"
|
||||||
|
depends on OF || COMPILE_TEST
|
||||||
|
help
|
||||||
|
USB peripheral controller driver for Xilinx USB2 device.
|
||||||
|
Xilinx USB2 device is a soft IP which supports both full
|
||||||
|
and high speed USB 2.0 data transfers. It has seven configurable
|
||||||
|
endpoints(bulk or interrupt or isochronous), as well as
|
||||||
|
endpoint zero(for control transfers).
|
||||||
|
|
||||||
|
Say "y" to link the driver statically, or "m" to build a
|
||||||
|
dynamically linked module called "udc-xilinx" and force all
|
||||||
|
gadget drivers to also be dynamically linked.
|
||||||
|
|
||||||
#
|
#
|
||||||
# LAST -- dummy/emulated controller
|
# LAST -- dummy/emulated controller
|
||||||
#
|
#
|
||||||
|
@ -29,3 +29,4 @@ obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o
|
|||||||
obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
||||||
obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
|
obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
|
||||||
obj-$(CONFIG_USB_GR_UDC) += gr_udc.o
|
obj-$(CONFIG_USB_GR_UDC) += gr_udc.o
|
||||||
|
obj-$(CONFIG_USB_GADGET_XILINX) += udc-xilinx.o
|
||||||
|
2180
drivers/usb/gadget/udc/udc-xilinx.c
Normal file
2180
drivers/usb/gadget/udc/udc-xilinx.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user