xref: /openbmc/linux/drivers/char/xillybus/Kconfig (revision 806eb9e4)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27051924fSEli Billauer#
37051924fSEli Billauer# Xillybus devices
47051924fSEli Billauer#
57051924fSEli Billauer
68cb5d216SEli Billauerconfig XILLYBUS_CLASS
78cb5d216SEli Billauer	tristate
88cb5d216SEli Billauer
97051924fSEli Billauerconfig XILLYBUS
107051924fSEli Billauer	tristate "Xillybus generic FPGA interface"
1174d83a5dSRob Herring	depends on PCI || OF
127051924fSEli Billauer	select CRC32
138cb5d216SEli Billauer	select XILLYBUS_CLASS
147051924fSEli Billauer	help
157051924fSEli Billauer	  Xillybus is a generic interface for peripherals designed on
167051924fSEli Billauer	  programmable logic (FPGA). The driver probes the hardware for
177051924fSEli Billauer	  its capabilities, and creates device files accordingly.
187051924fSEli Billauer
197051924fSEli Billauer	  If unsure, say N.
207051924fSEli Billauer
217051924fSEli Billauerif XILLYBUS
227051924fSEli Billauer
237051924fSEli Billauerconfig XILLYBUS_PCIE
247051924fSEli Billauer	tristate "Xillybus over PCIe"
257051924fSEli Billauer	depends on PCI_MSI
267051924fSEli Billauer	help
277051924fSEli Billauer	  Set to M if you want Xillybus to use PCI Express for communicating
288cb5d216SEli Billauer	  with the FPGA. The module will be called xillybus_pcie.
297051924fSEli Billauer
307051924fSEli Billauerconfig XILLYBUS_OF
317051924fSEli Billauer	tristate "Xillybus over Device Tree"
32*806eb9e4SBaoquan He	depends on OF && HAS_DMA && HAS_IOMEM
337051924fSEli Billauer	help
347051924fSEli Billauer	  Set to M if you want Xillybus to find its resources from the
357051924fSEli Billauer	  Open Firmware Flattened Device Tree. If the target is an embedded
368cb5d216SEli Billauer	  system, say M. The module will be called xillybus_of.
377051924fSEli Billauer
387051924fSEli Billauerendif # if XILLYBUS
39a53d1202SEli Billauer
40a53d1202SEli Billauer# XILLYUSB doesn't depend on XILLYBUS
41a53d1202SEli Billauer
42a53d1202SEli Billauerconfig XILLYUSB
43a53d1202SEli Billauer	tristate "XillyUSB: Xillybus generic FPGA interface for USB"
44a53d1202SEli Billauer	depends on USB
45a53d1202SEli Billauer	select CRC32
46a53d1202SEli Billauer	select XILLYBUS_CLASS
47a53d1202SEli Billauer	help
48a53d1202SEli Billauer	  XillyUSB is the Xillybus variant which uses USB for communicating
49a53d1202SEli Billauer	  with the FPGA.
50a53d1202SEli Billauer
51a53d1202SEli Billauer	  Set to M if you want Xillybus to use USB for communicating with
52a53d1202SEli Billauer	  the FPGA. The module will be called xillyusb.
53