blob: ad5448f718b3135fa3ea4cff9bec6a067a7ff1f1 [file] [log] [blame]
Alan Tull6a8c3be2015-10-07 16:36:28 +01001#
2# FPGA framework configuration
3#
4
Vincent Legoll50fa0282017-06-14 10:36:26 -05005menuconfig FPGA
Alan Tull6a8c3be2015-10-07 16:36:28 +01006 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
Alan Tullfab62662015-10-07 16:36:29 +010012if FPGA
13
Alan Tull0fa20cd2016-11-01 14:14:29 -050014config 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
Joel Holdsworth21f8ba22017-02-27 16:14:26 -060021config 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
Anatolij Gustschin34d1dc12017-06-14 10:36:35 -050027config 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
Joshua Clayton5692fae2017-06-14 10:36:29 -050034config 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
Alan Tullfab62662015-10-07 16:36:29 +010041config FPGA_MGR_SOCFPGA
42 tristate "Altera SOCFPGA FPGA Manager"
Jason Gunthorpea0e1b612016-11-21 22:26:42 +000043 depends on ARCH_SOCFPGA || COMPILE_TEST
Alan Tullfab62662015-10-07 16:36:29 +010044 help
45 FPGA manager driver support for Altera SOCFPGA.
46
Alan Tullacbb910a2016-11-01 14:14:32 -050047config FPGA_MGR_SOCFPGA_A10
48 tristate "Altera SoCFPGA Arria10"
Jason Gunthorpea0e1b612016-11-21 22:26:42 +000049 depends on ARCH_SOCFPGA || COMPILE_TEST
50 select REGMAP_MMIO
Alan Tullacbb910a2016-11-01 14:14:32 -050051 help
52 FPGA manager driver support for Altera Arria10 SoCFPGA.
53
Florian Fainelli4348f7e2017-02-27 16:14:22 -060054config 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
Anatolij Gustschin061c97d2017-03-23 19:34:26 -050061config 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
Moritz Fischer37784702015-10-16 15:42:30 -070068config FPGA_MGR_ZYNQ_FPGA
69 tristate "Xilinx Zynq FPGA"
Jean Delvare54e9b092016-09-08 09:38:05 -050070 depends on ARCH_ZYNQ || COMPILE_TEST
Sudip Mukherjee1c8cb402016-08-03 13:45:46 -070071 depends on HAS_DMA
Moritz Fischer37784702015-10-16 15:42:30 -070072 help
73 FPGA manager driver support for Xilinx Zynq FPGAs.
74
Alan Tull21aeda92016-11-01 14:14:28 -050075config 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
Alan Tulle5f8efa2016-11-01 14:14:30 -050082config 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
Alan Tullca24a642016-11-01 14:14:31 -050089config 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
Matthew Gerlachd201cc12017-03-23 19:34:28 -050098config ALTERA_PR_IP_CORE
99 tristate "Altera Partial Reconfiguration IP Core"
100 help
101 Core driver support for Altera Partial Reconfiguration IP component
102
Matthew Gerlach5b73cb52017-03-23 19:34:30 -0500103config 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
Moritz Fischer7e961c12017-03-24 10:33:21 -0500110config 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
Alan Tullfab62662015-10-07 16:36:29 +0100120endif # FPGA