Kconfig 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. #
  2. # DMA engine configuration
  3. #
  4. menuconfig DMADEVICES
  5. bool "DMA Engine support"
  6. depends on HAS_DMA
  7. help
  8. DMA engines can do asynchronous data transfers without
  9. involving the host CPU. Currently, this framework can be
  10. used to offload memory copies in the network stack and
  11. RAID operations in the MD driver. This menu only presents
  12. DMA Device drivers supported by the configured arch, it may
  13. be empty in some cases.
  14. config DMADEVICES_DEBUG
  15. bool "DMA Engine debugging"
  16. depends on DMADEVICES != n
  17. help
  18. This is an option for use by developers; most people should
  19. say N here. This enables DMA engine core and driver debugging.
  20. config DMADEVICES_VDEBUG
  21. bool "DMA Engine verbose debugging"
  22. depends on DMADEVICES_DEBUG != n
  23. help
  24. This is an option for use by developers; most people should
  25. say N here. This enables deeper (more verbose) debugging of
  26. the DMA engine core and drivers.
  27. if DMADEVICES
  28. comment "DMA Devices"
  29. config INTEL_MID_DMAC
  30. tristate "Intel MID DMA support for Peripheral DMA controllers"
  31. depends on PCI && X86
  32. select DMA_ENGINE
  33. default n
  34. help
  35. Enable support for the Intel(R) MID DMA engine present
  36. in Intel MID chipsets.
  37. Say Y here if you have such a chipset.
  38. If unsure, say N.
  39. config ASYNC_TX_ENABLE_CHANNEL_SWITCH
  40. bool
  41. config AMBA_PL08X
  42. bool "ARM PrimeCell PL080 or PL081 support"
  43. depends on ARM_AMBA && EXPERIMENTAL
  44. select DMA_ENGINE
  45. help
  46. Platform has a PL08x DMAC device
  47. which can provide DMA engine support
  48. config INTEL_IOATDMA
  49. tristate "Intel I/OAT DMA support"
  50. depends on PCI && X86
  51. select DMA_ENGINE
  52. select DCA
  53. select ASYNC_TX_DISABLE_PQ_VAL_DMA
  54. select ASYNC_TX_DISABLE_XOR_VAL_DMA
  55. help
  56. Enable support for the Intel(R) I/OAT DMA engine present
  57. in recent Intel Xeon chipsets.
  58. Say Y here if you have such a chipset.
  59. If unsure, say N.
  60. config INTEL_IOP_ADMA
  61. tristate "Intel IOP ADMA support"
  62. depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
  63. select DMA_ENGINE
  64. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  65. help
  66. Enable support for the Intel(R) IOP Series RAID engines.
  67. config DW_DMAC
  68. tristate "Synopsys DesignWare AHB DMA support"
  69. depends on HAVE_CLK
  70. select DMA_ENGINE
  71. default y if CPU_AT32AP7000
  72. help
  73. Support the Synopsys DesignWare AHB DMA controller. This
  74. can be integrated in chips such as the Atmel AT32ap7000.
  75. config AT_HDMAC
  76. tristate "Atmel AHB DMA support"
  77. depends on ARCH_AT91
  78. select DMA_ENGINE
  79. help
  80. Support the Atmel AHB DMA controller.
  81. config FSL_DMA
  82. tristate "Freescale Elo and Elo Plus DMA support"
  83. depends on FSL_SOC
  84. select DMA_ENGINE
  85. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  86. ---help---
  87. Enable support for the Freescale Elo and Elo Plus DMA controllers.
  88. The Elo is the DMA controller on some 82xx and 83xx parts, and the
  89. Elo Plus is the DMA controller on 85xx and 86xx parts.
  90. config MPC512X_DMA
  91. tristate "Freescale MPC512x built-in DMA engine support"
  92. depends on PPC_MPC512x || PPC_MPC831x
  93. select DMA_ENGINE
  94. ---help---
  95. Enable support for the Freescale MPC512x built-in DMA engine.
  96. config MV_XOR
  97. bool "Marvell XOR engine support"
  98. depends on PLAT_ORION
  99. select DMA_ENGINE
  100. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  101. ---help---
  102. Enable support for the Marvell XOR engine.
  103. config MX3_IPU
  104. bool "MX3x Image Processing Unit support"
  105. depends on ARCH_MXC
  106. select DMA_ENGINE
  107. default y
  108. help
  109. If you plan to use the Image Processing unit in the i.MX3x, say
  110. Y here. If unsure, select Y.
  111. config MX3_IPU_IRQS
  112. int "Number of dynamically mapped interrupts for IPU"
  113. depends on MX3_IPU
  114. range 2 137
  115. default 4
  116. help
  117. Out of 137 interrupt sources on i.MX31 IPU only very few are used.
  118. To avoid bloating the irq_desc[] array we allocate a sufficient
  119. number of IRQ slots and map them dynamically to specific sources.
  120. config TXX9_DMAC
  121. tristate "Toshiba TXx9 SoC DMA support"
  122. depends on MACH_TX49XX || MACH_TX39XX
  123. select DMA_ENGINE
  124. help
  125. Support the TXx9 SoC internal DMA controller. This can be
  126. integrated in chips such as the Toshiba TX4927/38/39.
  127. config SH_DMAE
  128. tristate "Renesas SuperH DMAC support"
  129. depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE)
  130. depends on !SH_DMA_API
  131. select DMA_ENGINE
  132. help
  133. Enable support for the Renesas SuperH DMA controllers.
  134. config COH901318
  135. bool "ST-Ericsson COH901318 DMA support"
  136. select DMA_ENGINE
  137. depends on ARCH_U300
  138. help
  139. Enable support for ST-Ericsson COH 901 318 DMA.
  140. config STE_DMA40
  141. bool "ST-Ericsson DMA40 support"
  142. depends on ARCH_U8500
  143. select DMA_ENGINE
  144. help
  145. Support for ST-Ericsson DMA40 controller
  146. config AMCC_PPC440SPE_ADMA
  147. tristate "AMCC PPC440SPe ADMA support"
  148. depends on 440SPe || 440SP
  149. select DMA_ENGINE
  150. select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  151. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  152. help
  153. Enable support for the AMCC PPC440SPe RAID engines.
  154. config TIMB_DMA
  155. tristate "Timberdale FPGA DMA support"
  156. depends on MFD_TIMBERDALE || HAS_IOMEM
  157. select DMA_ENGINE
  158. help
  159. Enable support for the Timberdale FPGA DMA engine.
  160. config SIRF_DMA
  161. tristate "CSR SiRFprimaII DMA support"
  162. depends on ARCH_PRIMA2
  163. select DMA_ENGINE
  164. help
  165. Enable support for the CSR SiRFprimaII DMA engine.
  166. config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  167. bool
  168. config PL330_DMA
  169. tristate "DMA API Driver for PL330"
  170. select DMA_ENGINE
  171. depends on ARM_AMBA
  172. help
  173. Select if your platform has one or more PL330 DMACs.
  174. You need to provide platform specific settings via
  175. platform_data for a dma-pl330 device.
  176. config PCH_DMA
  177. tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
  178. depends on PCI && X86
  179. select DMA_ENGINE
  180. help
  181. Enable support for Intel EG20T PCH DMA engine.
  182. This driver also can be used for LAPIS Semiconductor IOH(Input/
  183. Output Hub), ML7213, ML7223 and ML7831.
  184. ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
  185. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
  186. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  187. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  188. config IMX_SDMA
  189. tristate "i.MX SDMA support"
  190. depends on ARCH_MXC
  191. select DMA_ENGINE
  192. help
  193. Support the i.MX SDMA engine. This engine is integrated into
  194. Freescale i.MX25/31/35/51/53 chips.
  195. config IMX_DMA
  196. tristate "i.MX DMA support"
  197. depends on ARCH_MXC
  198. select DMA_ENGINE
  199. help
  200. Support the i.MX DMA engine. This engine is integrated into
  201. Freescale i.MX1/21/27 chips.
  202. config MXS_DMA
  203. bool "MXS DMA support"
  204. depends on SOC_IMX23 || SOC_IMX28
  205. select DMA_ENGINE
  206. help
  207. Support the MXS DMA engine. This engine including APBH-DMA
  208. and APBX-DMA is integrated into Freescale i.MX23/28 chips.
  209. config EP93XX_DMA
  210. bool "Cirrus Logic EP93xx DMA support"
  211. depends on ARCH_EP93XX
  212. select DMA_ENGINE
  213. help
  214. Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
  215. config DMA_SA11X0
  216. tristate "SA-11x0 DMA support"
  217. depends on ARCH_SA1100
  218. select DMA_ENGINE
  219. help
  220. Support the DMA engine found on Intel StrongARM SA-1100 and
  221. SA-1110 SoCs. This DMA engine can only be used with on-chip
  222. devices.
  223. config DMA_ENGINE
  224. bool
  225. comment "DMA Clients"
  226. depends on DMA_ENGINE
  227. config NET_DMA
  228. bool "Network: TCP receive copy offload"
  229. depends on DMA_ENGINE && NET
  230. default (INTEL_IOATDMA || FSL_DMA)
  231. depends on BROKEN
  232. help
  233. This enables the use of DMA engines in the network stack to
  234. offload receive copy-to-user operations, freeing CPU cycles.
  235. Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
  236. say N.
  237. config ASYNC_TX_DMA
  238. bool "Async_tx: Offload support for the async_tx api"
  239. depends on DMA_ENGINE
  240. help
  241. This allows the async_tx api to take advantage of offload engines for
  242. memcpy, memset, xor, and raid6 p+q operations. If your platform has
  243. a dma engine that can perform raid operations and you have enabled
  244. MD_RAID456 say Y.
  245. If unsure, say N.
  246. config DMATEST
  247. tristate "DMA Test client"
  248. depends on DMA_ENGINE
  249. help
  250. Simple DMA test client. Say N unless you're debugging a
  251. DMA Device driver.
  252. endif