xref: /openbmc/linux/drivers/fpga/Kconfig (revision eb50fd3a)
1#
2# FPGA framework configuration
3#
4
5menuconfig FPGA
6	tristate "FPGA Configuration Framework"
7	help
8	  Say Y here if you want support for configuring FPGAs from the
9	  kernel.  The FPGA framework adds a FPGA manager class and FPGA
10	  manager drivers.
11
12if FPGA
13
14config FPGA_REGION
15	tristate "FPGA Region"
16	depends on OF && FPGA_BRIDGE
17	help
18	  FPGA Regions allow loading FPGA images under control of
19	  the Device Tree.
20
21config FPGA_MGR_ICE40_SPI
22	tristate "Lattice iCE40 SPI"
23	depends on OF && SPI
24	help
25	  FPGA manager driver support for Lattice iCE40 FPGAs over SPI.
26
27config FPGA_MGR_ALTERA_CVP
28	tristate "Altera Arria-V/Cyclone-V/Stratix-V CvP FPGA Manager"
29	depends on PCI
30	help
31	  FPGA manager driver support for Arria-V, Cyclone-V, Stratix-V
32	  and Arria 10 Altera FPGAs using the CvP interface over PCIe.
33
34config FPGA_MGR_ALTERA_PS_SPI
35	tristate "Altera FPGA Passive Serial over SPI"
36	depends on SPI
37	help
38	  FPGA manager driver support for Altera Arria/Cyclone/Stratix
39	  using the passive serial interface over SPI.
40
41config FPGA_MGR_SOCFPGA
42	tristate "Altera SOCFPGA FPGA Manager"
43	depends on ARCH_SOCFPGA || COMPILE_TEST
44	help
45	  FPGA manager driver support for Altera SOCFPGA.
46
47config FPGA_MGR_SOCFPGA_A10
48	tristate "Altera SoCFPGA Arria10"
49	depends on ARCH_SOCFPGA || COMPILE_TEST
50	select REGMAP_MMIO
51	help
52	  FPGA manager driver support for Altera Arria10 SoCFPGA.
53
54config FPGA_MGR_TS73XX
55	tristate "Technologic Systems TS-73xx SBC FPGA Manager"
56	depends on ARCH_EP93XX && MACH_TS72XX
57	help
58	  FPGA manager driver support for the Altera Cyclone II FPGA
59	  present on the TS-73xx SBC boards.
60
61config FPGA_MGR_XILINX_SPI
62	tristate "Xilinx Configuration over Slave Serial (SPI)"
63	depends on SPI
64	help
65	  FPGA manager driver support for Xilinx FPGA configuration
66	  over slave serial interface.
67
68config FPGA_MGR_ZYNQ_FPGA
69	tristate "Xilinx Zynq FPGA"
70	depends on ARCH_ZYNQ || COMPILE_TEST
71	depends on HAS_DMA
72	help
73	  FPGA manager driver support for Xilinx Zynq FPGAs.
74
75config FPGA_BRIDGE
76	tristate "FPGA Bridge Framework"
77	depends on OF
78	help
79	  Say Y here if you want to support bridges connected between host
80	  processors and FPGAs or between FPGAs.
81
82config SOCFPGA_FPGA_BRIDGE
83	tristate "Altera SoCFPGA FPGA Bridges"
84	depends on ARCH_SOCFPGA && FPGA_BRIDGE
85	help
86	  Say Y to enable drivers for FPGA bridges for Altera SOCFPGA
87	  devices.
88
89config ALTERA_FREEZE_BRIDGE
90	tristate "Altera FPGA Freeze Bridge"
91	depends on ARCH_SOCFPGA && FPGA_BRIDGE
92	help
93	  Say Y to enable drivers for Altera FPGA Freeze bridges.  A
94	  freeze bridge is a bridge that exists in the FPGA fabric to
95	  isolate one region of the FPGA from the busses while that
96	  region is being reprogrammed.
97
98config ALTERA_PR_IP_CORE
99        tristate "Altera Partial Reconfiguration IP Core"
100        help
101          Core driver support for Altera Partial Reconfiguration IP component
102
103config ALTERA_PR_IP_CORE_PLAT
104	tristate "Platform support of Altera Partial Reconfiguration IP Core"
105	depends on ALTERA_PR_IP_CORE && OF && HAS_IOMEM
106	help
107	  Platform driver support for Altera Partial Reconfiguration IP
108	  component
109
110config XILINX_PR_DECOUPLER
111	tristate "Xilinx LogiCORE PR Decoupler"
112	depends on FPGA_BRIDGE
113	depends on HAS_IOMEM
114	help
115	  Say Y to enable drivers for Xilinx LogiCORE PR Decoupler.
116	  The PR Decoupler exists in the FPGA fabric to isolate one
117	  region of the FPGA from the busses while that region is
118	  being reprogrammed during partial reconfig.
119
120endif # FPGA
121