Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Xillybus devices
  4. #
  5. config XILLYBUS_CLASS
  6. tristate
  7. config XILLYBUS
  8. tristate "Xillybus generic FPGA interface"
  9. depends on PCI || OF
  10. select CRC32
  11. select XILLYBUS_CLASS
  12. help
  13. Xillybus is a generic interface for peripherals designed on
  14. programmable logic (FPGA). The driver probes the hardware for
  15. its capabilities, and creates device files accordingly.
  16. If unsure, say N.
  17. if XILLYBUS
  18. config XILLYBUS_PCIE
  19. tristate "Xillybus over PCIe"
  20. depends on PCI_MSI
  21. help
  22. Set to M if you want Xillybus to use PCI Express for communicating
  23. with the FPGA. The module will be called xillybus_pcie.
  24. config XILLYBUS_OF
  25. tristate "Xillybus over Device Tree"
  26. depends on OF && HAS_DMA
  27. help
  28. Set to M if you want Xillybus to find its resources from the
  29. Open Firmware Flattened Device Tree. If the target is an embedded
  30. system, say M. The module will be called xillybus_of.
  31. endif # if XILLYBUS
  32. # XILLYUSB doesn't depend on XILLYBUS
  33. config XILLYUSB
  34. tristate "XillyUSB: Xillybus generic FPGA interface for USB"
  35. depends on USB
  36. select CRC32
  37. select XILLYBUS_CLASS
  38. help
  39. XillyUSB is the Xillybus variant which uses USB for communicating
  40. with the FPGA.
  41. Set to M if you want Xillybus to use USB for communicating with
  42. the FPGA. The module will be called xillyusb.