xref: /linux/drivers/fpga/Kconfig (revision 061c97d13f1a69c0edcab4dc6e97788e5bf3230f)
16a8c3be7SAlan Tull#
26a8c3be7SAlan Tull# FPGA framework configuration
36a8c3be7SAlan Tull#
46a8c3be7SAlan Tull
56a8c3be7SAlan Tullmenu "FPGA Configuration Support"
66a8c3be7SAlan Tull
76a8c3be7SAlan Tullconfig FPGA
86a8c3be7SAlan Tull	tristate "FPGA Configuration Framework"
96a8c3be7SAlan Tull	help
106a8c3be7SAlan Tull	  Say Y here if you want support for configuring FPGAs from the
116a8c3be7SAlan Tull	  kernel.  The FPGA framework adds a FPGA manager class and FPGA
126a8c3be7SAlan Tull	  manager drivers.
136a8c3be7SAlan Tull
14fab6266eSAlan Tullif FPGA
15fab6266eSAlan Tull
160fa20cdfSAlan Tullconfig FPGA_REGION
170fa20cdfSAlan Tull	tristate "FPGA Region"
180fa20cdfSAlan Tull	depends on OF && FPGA_BRIDGE
190fa20cdfSAlan Tull	help
200fa20cdfSAlan Tull	  FPGA Regions allow loading FPGA images under control of
210fa20cdfSAlan Tull	  the Device Tree.
220fa20cdfSAlan Tull
2321f8ba2eSJoel Holdsworthconfig FPGA_MGR_ICE40_SPI
2421f8ba2eSJoel Holdsworth	tristate "Lattice iCE40 SPI"
2521f8ba2eSJoel Holdsworth	depends on OF && SPI
2621f8ba2eSJoel Holdsworth	help
2721f8ba2eSJoel Holdsworth	  FPGA manager driver support for Lattice iCE40 FPGAs over SPI.
2821f8ba2eSJoel Holdsworth
29fab6266eSAlan Tullconfig FPGA_MGR_SOCFPGA
30fab6266eSAlan Tull	tristate "Altera SOCFPGA FPGA Manager"
31a0e1b618SJason Gunthorpe	depends on ARCH_SOCFPGA || COMPILE_TEST
32fab6266eSAlan Tull	help
33fab6266eSAlan Tull	  FPGA manager driver support for Altera SOCFPGA.
34fab6266eSAlan Tull
35acbb910aSAlan Tullconfig FPGA_MGR_SOCFPGA_A10
36acbb910aSAlan Tull	tristate "Altera SoCFPGA Arria10"
37a0e1b618SJason Gunthorpe	depends on ARCH_SOCFPGA || COMPILE_TEST
38a0e1b618SJason Gunthorpe	select REGMAP_MMIO
39acbb910aSAlan Tull	help
40acbb910aSAlan Tull	  FPGA manager driver support for Altera Arria10 SoCFPGA.
41acbb910aSAlan Tull
424348f7e2SFlorian Fainelliconfig FPGA_MGR_TS73XX
434348f7e2SFlorian Fainelli	tristate "Technologic Systems TS-73xx SBC FPGA Manager"
444348f7e2SFlorian Fainelli	depends on ARCH_EP93XX && MACH_TS72XX
454348f7e2SFlorian Fainelli	help
464348f7e2SFlorian Fainelli	  FPGA manager driver support for the Altera Cyclone II FPGA
474348f7e2SFlorian Fainelli	  present on the TS-73xx SBC boards.
484348f7e2SFlorian Fainelli
49*061c97d1SAnatolij Gustschinconfig FPGA_MGR_XILINX_SPI
50*061c97d1SAnatolij Gustschin	tristate "Xilinx Configuration over Slave Serial (SPI)"
51*061c97d1SAnatolij Gustschin	depends on SPI
52*061c97d1SAnatolij Gustschin	help
53*061c97d1SAnatolij Gustschin	  FPGA manager driver support for Xilinx FPGA configuration
54*061c97d1SAnatolij Gustschin	  over slave serial interface.
55*061c97d1SAnatolij Gustschin
5637784706SMoritz Fischerconfig FPGA_MGR_ZYNQ_FPGA
5737784706SMoritz Fischer	tristate "Xilinx Zynq FPGA"
5854e9b099SJean Delvare	depends on ARCH_ZYNQ || COMPILE_TEST
591c8cb409SSudip Mukherjee	depends on HAS_DMA
6037784706SMoritz Fischer	help
6137784706SMoritz Fischer	  FPGA manager driver support for Xilinx Zynq FPGAs.
6237784706SMoritz Fischer
6321aeda95SAlan Tullconfig FPGA_BRIDGE
6421aeda95SAlan Tull	tristate "FPGA Bridge Framework"
6521aeda95SAlan Tull	depends on OF
6621aeda95SAlan Tull	help
6721aeda95SAlan Tull	  Say Y here if you want to support bridges connected between host
6821aeda95SAlan Tull	  processors and FPGAs or between FPGAs.
6921aeda95SAlan Tull
70e5f8efa5SAlan Tullconfig SOCFPGA_FPGA_BRIDGE
71e5f8efa5SAlan Tull	tristate "Altera SoCFPGA FPGA Bridges"
72e5f8efa5SAlan Tull	depends on ARCH_SOCFPGA && FPGA_BRIDGE
73e5f8efa5SAlan Tull	help
74e5f8efa5SAlan Tull	  Say Y to enable drivers for FPGA bridges for Altera SOCFPGA
75e5f8efa5SAlan Tull	  devices.
76e5f8efa5SAlan Tull
77ca24a648SAlan Tullconfig ALTERA_FREEZE_BRIDGE
78ca24a648SAlan Tull	tristate "Altera FPGA Freeze Bridge"
79ca24a648SAlan Tull	depends on ARCH_SOCFPGA && FPGA_BRIDGE
80ca24a648SAlan Tull	help
81ca24a648SAlan Tull	  Say Y to enable drivers for Altera FPGA Freeze bridges.  A
82ca24a648SAlan Tull	  freeze bridge is a bridge that exists in the FPGA fabric to
83ca24a648SAlan Tull	  isolate one region of the FPGA from the busses while that
84ca24a648SAlan Tull	  region is being reprogrammed.
85ca24a648SAlan Tull
86fab6266eSAlan Tullendif # FPGA
87fab6266eSAlan Tull
886a8c3be7SAlan Tullendmenu
89