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