Skip to content

Commit a53d120

Browse files
billauergregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8cb5d21 commit a53d120

File tree

3 files changed

+2275
-0
lines changed

3 files changed

+2275
-0
lines changed

drivers/char/xillybus/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,17 @@ config XILLYBUS_OF
3636
system, say M. The module will be called xillybus_of.
3737

3838
endif # if XILLYBUS
39+
40+
# XILLYUSB doesn't depend on XILLYBUS
41+
42+
config XILLYUSB
43+
tristate "XillyUSB: Xillybus generic FPGA interface for USB"
44+
depends on USB
45+
select CRC32
46+
select XILLYBUS_CLASS
47+
help
48+
XillyUSB is the Xillybus variant which uses USB for communicating
49+
with the FPGA.
50+
51+
Set to M if you want Xillybus to use USB for communicating with
52+
the FPGA. The module will be called xillyusb.

drivers/char/xillybus/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ obj-$(CONFIG_XILLYBUS_CLASS) += xillybus_class.o
77
obj-$(CONFIG_XILLYBUS) += xillybus_core.o
88
obj-$(CONFIG_XILLYBUS_PCIE) += xillybus_pcie.o
99
obj-$(CONFIG_XILLYBUS_OF) += xillybus_of.o
10+
obj-$(CONFIG_XILLYUSB) += xillyusb.o

0 commit comments

Comments
 (0)