xref: /OK3568_Linux_fs/kernel/drivers/char/xillybus/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Xillybus devices
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig XILLYBUS
7*4882a593Smuzhiyun	tristate "Xillybus generic FPGA interface"
8*4882a593Smuzhiyun	depends on PCI || OF
9*4882a593Smuzhiyun	select CRC32
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  Xillybus is a generic interface for peripherals designed on
12*4882a593Smuzhiyun	  programmable logic (FPGA). The driver probes the hardware for
13*4882a593Smuzhiyun	  its capabilities, and creates device files accordingly.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  If unsure, say N.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunif XILLYBUS
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig XILLYBUS_PCIE
20*4882a593Smuzhiyun	tristate "Xillybus over PCIe"
21*4882a593Smuzhiyun	depends on PCI_MSI
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun	  Set to M if you want Xillybus to use PCI Express for communicating
24*4882a593Smuzhiyun	  with the FPGA.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunconfig XILLYBUS_OF
27*4882a593Smuzhiyun	tristate "Xillybus over Device Tree"
28*4882a593Smuzhiyun	depends on OF && HAS_DMA
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  Set to M if you want Xillybus to find its resources from the
31*4882a593Smuzhiyun	  Open Firmware Flattened Device Tree. If the target is an embedded
32*4882a593Smuzhiyun	  system, say M.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunendif # if XILLYBUS
35