Skip to content

Commit

Permalink
char: xillybus: Add driver for XillyUSB (Xillybus variant for USB)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
billauer authored and gregkh committed May 27, 2021
1 parent 8cb5d21 commit a53d120
Show file tree
Hide file tree
Showing 3 changed files with 2,275 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/char/xillybus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
1 change: 1 addition & 0 deletions drivers/char/xillybus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit a53d120

Please sign in to comment.