char: xillybus: Add driver for XillyUSB (Xillybus variant for USB)

The XillyUSB driver is the USB variant for the Xillybus FPGA IP core.
Even though it presents a nearly identical API on the FPGA and host,
it's almost a complete rewrite of the driver: The framework for exchanging
data on a USB bus is fundamentally different from doing the same with a
PCIe interface, which leaves very little in common between the existing
driver and the new one for XillyUSB.

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Link: https://lore.kernel.org/r/20210526100311.56327-3-eli.billauer@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eli Billauer 2021-05-26 13:03:11 +03:00 committed by Greg Kroah-Hartman
parent 8cb5d216ab
commit a53d1202ae
3 changed files with 2275 additions and 0 deletions

View File

@ -36,3 +36,17 @@ config XILLYBUS_OF
system, say M. The module will be called xillybus_of.
endif # if XILLYBUS
# XILLYUSB doesn't depend on XILLYBUS
config XILLYUSB
tristate "XillyUSB: Xillybus generic FPGA interface for USB"
depends on USB
select CRC32
select XILLYBUS_CLASS
help
XillyUSB is the Xillybus variant which uses USB for communicating
with the FPGA.
Set to M if you want Xillybus to use USB for communicating with
the FPGA. The module will be called xillyusb.

View File

@ -7,3 +7,4 @@ obj-$(CONFIG_XILLYBUS_CLASS) += xillybus_class.o
obj-$(CONFIG_XILLYBUS) += xillybus_core.o
obj-$(CONFIG_XILLYBUS_PCIE) += xillybus_pcie.o
obj-$(CONFIG_XILLYBUS_OF) += xillybus_of.o
obj-$(CONFIG_XILLYUSB) += xillyusb.o

File diff suppressed because it is too large Load Diff