Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. #
  2. # FPGA framework configuration
  3. #
  4. menuconfig FPGA
  5. tristate "FPGA Configuration Framework"
  6. help
  7. Say Y here if you want support for configuring FPGAs from the
  8. kernel. The FPGA framework adds a FPGA manager class and FPGA
  9. manager drivers.
  10. if FPGA
  11. config FPGA_MGR_SOCFPGA
  12. tristate "Altera SOCFPGA FPGA Manager"
  13. depends on ARCH_SOCFPGA || COMPILE_TEST
  14. help
  15. FPGA manager driver support for Altera SOCFPGA.
  16. config FPGA_MGR_SOCFPGA_A10
  17. tristate "Altera SoCFPGA Arria10"
  18. depends on ARCH_SOCFPGA || COMPILE_TEST
  19. select REGMAP_MMIO
  20. help
  21. FPGA manager driver support for Altera Arria10 SoCFPGA.
  22. config ALTERA_PR_IP_CORE
  23. tristate "Altera Partial Reconfiguration IP Core"
  24. help
  25. Core driver support for Altera Partial Reconfiguration IP component
  26. config ALTERA_PR_IP_CORE_PLAT
  27. tristate "Platform support of Altera Partial Reconfiguration IP Core"
  28. depends on ALTERA_PR_IP_CORE && OF && HAS_IOMEM
  29. help
  30. Platform driver support for Altera Partial Reconfiguration IP
  31. component
  32. config FPGA_MGR_ALTERA_PS_SPI
  33. tristate "Altera FPGA Passive Serial over SPI"
  34. depends on SPI
  35. help
  36. FPGA manager driver support for Altera Arria/Cyclone/Stratix
  37. using the passive serial interface over SPI.
  38. config FPGA_MGR_ALTERA_CVP
  39. tristate "Altera Arria-V/Cyclone-V/Stratix-V CvP FPGA Manager"
  40. depends on PCI
  41. help
  42. FPGA manager driver support for Arria-V, Cyclone-V, Stratix-V
  43. and Arria 10 Altera FPGAs using the CvP interface over PCIe.
  44. config FPGA_MGR_ZYNQ_FPGA
  45. tristate "Xilinx Zynq FPGA"
  46. depends on ARCH_ZYNQ || COMPILE_TEST
  47. help
  48. FPGA manager driver support for Xilinx Zynq FPGAs.
  49. config 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. config FPGA_MGR_ICE40_SPI
  56. tristate "Lattice iCE40 SPI"
  57. depends on OF && SPI
  58. help
  59. FPGA manager driver support for Lattice iCE40 FPGAs over SPI.
  60. config FPGA_MGR_MACHXO2_SPI
  61. tristate "Lattice MachXO2 SPI"
  62. depends on SPI
  63. help
  64. FPGA manager driver support for Lattice MachXO2 configuration
  65. over slave SPI interface.
  66. config FPGA_MGR_TS73XX
  67. tristate "Technologic Systems TS-73xx SBC FPGA Manager"
  68. depends on ARCH_EP93XX && MACH_TS72XX
  69. help
  70. FPGA manager driver support for the Altera Cyclone II FPGA
  71. present on the TS-73xx SBC boards.
  72. config FPGA_BRIDGE
  73. tristate "FPGA Bridge Framework"
  74. help
  75. Say Y here if you want to support bridges connected between host
  76. processors and FPGAs or between FPGAs.
  77. config SOCFPGA_FPGA_BRIDGE
  78. tristate "Altera SoCFPGA FPGA Bridges"
  79. depends on ARCH_SOCFPGA && FPGA_BRIDGE
  80. help
  81. Say Y to enable drivers for FPGA bridges for Altera SOCFPGA
  82. devices.
  83. config ALTERA_FREEZE_BRIDGE
  84. tristate "Altera FPGA Freeze Bridge"
  85. depends on ARCH_SOCFPGA && FPGA_BRIDGE
  86. help
  87. Say Y to enable drivers for Altera FPGA Freeze bridges. A
  88. freeze bridge is a bridge that exists in the FPGA fabric to
  89. isolate one region of the FPGA from the busses while that
  90. region is being reprogrammed.
  91. config XILINX_PR_DECOUPLER
  92. tristate "Xilinx LogiCORE PR Decoupler"
  93. depends on FPGA_BRIDGE
  94. depends on HAS_IOMEM
  95. help
  96. Say Y to enable drivers for Xilinx LogiCORE PR Decoupler.
  97. The PR Decoupler exists in the FPGA fabric to isolate one
  98. region of the FPGA from the busses while that region is
  99. being reprogrammed during partial reconfig.
  100. config FPGA_REGION
  101. tristate "FPGA Region"
  102. depends on FPGA_BRIDGE
  103. help
  104. FPGA Region common code. A FPGA Region controls a FPGA Manager
  105. and the FPGA Bridges associated with either a reconfigurable
  106. region of an FPGA or a whole FPGA.
  107. config OF_FPGA_REGION
  108. tristate "FPGA Region Device Tree Overlay Support"
  109. depends on OF && FPGA_REGION
  110. help
  111. Support for loading FPGA images by applying a Device Tree
  112. overlay.
  113. config FPGA_DFL
  114. tristate "FPGA Device Feature List (DFL) support"
  115. select FPGA_BRIDGE
  116. select FPGA_REGION
  117. help
  118. Device Feature List (DFL) defines a feature list structure that
  119. creates a linked list of feature headers within the MMIO space
  120. to provide an extensible way of adding features for FPGA.
  121. Driver can walk through the feature headers to enumerate feature
  122. devices (e.g. FPGA Management Engine, Port and Accelerator
  123. Function Unit) and their private features for target FPGA devices.
  124. Select this option to enable common support for Field-Programmable
  125. Gate Array (FPGA) solutions which implement Device Feature List.
  126. It provides enumeration APIs and feature device infrastructure.
  127. config FPGA_DFL_FME
  128. tristate "FPGA DFL FME Driver"
  129. depends on FPGA_DFL
  130. help
  131. The FPGA Management Engine (FME) is a feature device implemented
  132. under Device Feature List (DFL) framework. Select this option to
  133. enable the platform device driver for FME which implements all
  134. FPGA platform level management features. There shall be one FME
  135. per DFL based FPGA device.
  136. config FPGA_DFL_FME_MGR
  137. tristate "FPGA DFL FME Manager Driver"
  138. depends on FPGA_DFL_FME && HAS_IOMEM
  139. help
  140. Say Y to enable FPGA Manager driver for FPGA Management Engine.
  141. config FPGA_DFL_FME_BRIDGE
  142. tristate "FPGA DFL FME Bridge Driver"
  143. depends on FPGA_DFL_FME && HAS_IOMEM
  144. help
  145. Say Y to enable FPGA Bridge driver for FPGA Management Engine.
  146. config FPGA_DFL_FME_REGION
  147. tristate "FPGA DFL FME Region Driver"
  148. depends on FPGA_DFL_FME && HAS_IOMEM
  149. help
  150. Say Y to enable FPGA Region driver for FPGA Management Engine.
  151. config FPGA_DFL_AFU
  152. tristate "FPGA DFL AFU Driver"
  153. depends on FPGA_DFL
  154. help
  155. This is the driver for FPGA Accelerated Function Unit (AFU) which
  156. implements AFU and Port management features. A User AFU connects
  157. to the FPGA infrastructure via a Port. There may be more than one
  158. Port/AFU per DFL based FPGA device.
  159. config FPGA_DFL_PCI
  160. tristate "FPGA DFL PCIe Device Driver"
  161. depends on PCI && FPGA_DFL
  162. help
  163. Select this option to enable PCIe driver for PCIe-based
  164. Field-Programmable Gate Array (FPGA) solutions which implement
  165. the Device Feature List (DFL). This driver provides interfaces
  166. for userspace applications to configure, enumerate, open and access
  167. FPGA accelerators on the FPGA DFL devices, enables system level
  168. management functions such as FPGA partial reconfiguration, power
  169. management and virtualization with DFL framework and DFL feature
  170. device drivers.
  171. To compile this as a module, choose M here.
  172. endif # FPGA