Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  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. #core
  30. config ASYNC_TX_ENABLE_CHANNEL_SWITCH
  31. bool
  32. config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  33. bool
  34. config DMA_ENGINE
  35. bool
  36. config DMA_VIRTUAL_CHANNELS
  37. tristate
  38. config DMA_ACPI
  39. def_bool y
  40. depends on ACPI
  41. config DMA_OF
  42. def_bool y
  43. depends on OF
  44. select DMA_ENGINE
  45. #devices
  46. config AMBA_PL08X
  47. bool "ARM PrimeCell PL080 or PL081 support"
  48. depends on ARM_AMBA
  49. select DMA_ENGINE
  50. select DMA_VIRTUAL_CHANNELS
  51. help
  52. Platform has a PL08x DMAC device
  53. which can provide DMA engine support
  54. config AMCC_PPC440SPE_ADMA
  55. tristate "AMCC PPC440SPe ADMA support"
  56. depends on 440SPe || 440SP
  57. select DMA_ENGINE
  58. select DMA_ENGINE_RAID
  59. select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  60. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  61. help
  62. Enable support for the AMCC PPC440SPe RAID engines.
  63. config AT_HDMAC
  64. tristate "Atmel AHB DMA support"
  65. depends on ARCH_AT91
  66. select DMA_ENGINE
  67. help
  68. Support the Atmel AHB DMA controller.
  69. config AT_XDMAC
  70. tristate "Atmel XDMA support"
  71. depends on ARCH_AT91
  72. select DMA_ENGINE
  73. help
  74. Support the Atmel XDMA controller.
  75. config AXI_DMAC
  76. tristate "Analog Devices AXI-DMAC DMA support"
  77. depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_SOCFPGA || COMPILE_TEST
  78. select DMA_ENGINE
  79. select DMA_VIRTUAL_CHANNELS
  80. help
  81. Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
  82. controller is often used in Analog Device's reference designs for FPGA
  83. platforms.
  84. config COH901318
  85. bool "ST-Ericsson COH901318 DMA support"
  86. select DMA_ENGINE
  87. depends on ARCH_U300
  88. help
  89. Enable support for ST-Ericsson COH 901 318 DMA.
  90. config DMA_BCM2835
  91. tristate "BCM2835 DMA engine support"
  92. depends on ARCH_BCM2835
  93. select DMA_ENGINE
  94. select DMA_VIRTUAL_CHANNELS
  95. config DMA_JZ4740
  96. tristate "JZ4740 DMA support"
  97. depends on MACH_JZ4740
  98. select DMA_ENGINE
  99. select DMA_VIRTUAL_CHANNELS
  100. config DMA_JZ4780
  101. tristate "JZ4780 DMA support"
  102. depends on MACH_JZ4780
  103. select DMA_ENGINE
  104. select DMA_VIRTUAL_CHANNELS
  105. help
  106. This selects support for the DMA controller in Ingenic JZ4780 SoCs.
  107. If you have a board based on such a SoC and wish to use DMA for
  108. devices which can use the DMA controller, say Y or M here.
  109. config DMA_OMAP
  110. tristate "OMAP DMA support"
  111. depends on ARCH_OMAP
  112. select DMA_ENGINE
  113. select DMA_VIRTUAL_CHANNELS
  114. select TI_DMA_CROSSBAR if SOC_DRA7XX
  115. config DMA_SA11X0
  116. tristate "SA-11x0 DMA support"
  117. depends on ARCH_SA1100
  118. select DMA_ENGINE
  119. select DMA_VIRTUAL_CHANNELS
  120. help
  121. Support the DMA engine found on Intel StrongARM SA-1100 and
  122. SA-1110 SoCs. This DMA engine can only be used with on-chip
  123. devices.
  124. config DMA_SUN4I
  125. tristate "Allwinner A10 DMA SoCs support"
  126. depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
  127. default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
  128. select DMA_ENGINE
  129. select DMA_OF
  130. select DMA_VIRTUAL_CHANNELS
  131. help
  132. Enable support for the DMA controller present in the sun4i,
  133. sun5i and sun7i Allwinner ARM SoCs.
  134. config DMA_SUN6I
  135. tristate "Allwinner A31 SoCs DMA support"
  136. depends on MACH_SUN6I || MACH_SUN8I || COMPILE_TEST
  137. depends on RESET_CONTROLLER
  138. select DMA_ENGINE
  139. select DMA_VIRTUAL_CHANNELS
  140. help
  141. Support for the DMA engine first found in Allwinner A31 SoCs.
  142. config EP93XX_DMA
  143. bool "Cirrus Logic EP93xx DMA support"
  144. depends on ARCH_EP93XX
  145. select DMA_ENGINE
  146. help
  147. Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
  148. config FSL_DMA
  149. tristate "Freescale Elo series DMA support"
  150. depends on FSL_SOC
  151. select DMA_ENGINE
  152. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  153. ---help---
  154. Enable support for the Freescale Elo series DMA controllers.
  155. The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the
  156. EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
  157. some Txxx and Bxxx parts.
  158. config FSL_EDMA
  159. tristate "Freescale eDMA engine support"
  160. depends on OF
  161. select DMA_ENGINE
  162. select DMA_VIRTUAL_CHANNELS
  163. help
  164. Support the Freescale eDMA engine with programmable channel
  165. multiplexing capability for DMA request sources(slot).
  166. This module can be found on Freescale Vybrid and LS-1 SoCs.
  167. config FSL_RAID
  168. tristate "Freescale RAID engine Support"
  169. depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
  170. select DMA_ENGINE
  171. select DMA_ENGINE_RAID
  172. ---help---
  173. Enable support for Freescale RAID Engine. RAID Engine is
  174. available on some QorIQ SoCs (like P5020/P5040). It has
  175. the capability to offload memcpy, xor and pq computation
  176. for raid5/6.
  177. config IMG_MDC_DMA
  178. tristate "IMG MDC support"
  179. depends on MIPS || COMPILE_TEST
  180. depends on MFD_SYSCON
  181. select DMA_ENGINE
  182. select DMA_VIRTUAL_CHANNELS
  183. help
  184. Enable support for the IMG multi-threaded DMA controller (MDC).
  185. config IMX_DMA
  186. tristate "i.MX DMA support"
  187. depends on ARCH_MXC
  188. select DMA_ENGINE
  189. help
  190. Support the i.MX DMA engine. This engine is integrated into
  191. Freescale i.MX1/21/27 chips.
  192. config IMX_SDMA
  193. tristate "i.MX SDMA support"
  194. depends on ARCH_MXC
  195. select DMA_ENGINE
  196. help
  197. Support the i.MX SDMA engine. This engine is integrated into
  198. Freescale i.MX25/31/35/51/53/6 chips.
  199. config INTEL_IDMA64
  200. tristate "Intel integrated DMA 64-bit support"
  201. select DMA_ENGINE
  202. select DMA_VIRTUAL_CHANNELS
  203. help
  204. Enable DMA support for Intel Low Power Subsystem such as found on
  205. Intel Skylake PCH.
  206. config INTEL_IOATDMA
  207. tristate "Intel I/OAT DMA support"
  208. depends on PCI && X86_64
  209. select DMA_ENGINE
  210. select DMA_ENGINE_RAID
  211. select DCA
  212. help
  213. Enable support for the Intel(R) I/OAT DMA engine present
  214. in recent Intel Xeon chipsets.
  215. Say Y here if you have such a chipset.
  216. If unsure, say N.
  217. config INTEL_IOP_ADMA
  218. tristate "Intel IOP ADMA support"
  219. depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
  220. select DMA_ENGINE
  221. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  222. help
  223. Enable support for the Intel(R) IOP Series RAID engines.
  224. config INTEL_MIC_X100_DMA
  225. tristate "Intel MIC X100 DMA Driver"
  226. depends on 64BIT && X86 && INTEL_MIC_BUS
  227. select DMA_ENGINE
  228. help
  229. This enables DMA support for the Intel Many Integrated Core
  230. (MIC) family of PCIe form factor coprocessor X100 devices that
  231. run a 64 bit Linux OS. This driver will be used by both MIC
  232. host and card drivers.
  233. If you are building host kernel with a MIC device or a card
  234. kernel for a MIC device, then say M (recommended) or Y, else
  235. say N. If unsure say N.
  236. More information about the Intel MIC family as well as the Linux
  237. OS and tools for MIC to use with this driver are available from
  238. <http://software.intel.com/en-us/mic-developer>.
  239. config K3_DMA
  240. tristate "Hisilicon K3 DMA support"
  241. depends on ARCH_HI3xxx
  242. select DMA_ENGINE
  243. select DMA_VIRTUAL_CHANNELS
  244. help
  245. Support the DMA engine for Hisilicon K3 platform
  246. devices.
  247. config LPC18XX_DMAMUX
  248. bool "NXP LPC18xx/43xx DMA MUX for PL080"
  249. depends on ARCH_LPC18XX || COMPILE_TEST
  250. depends on OF && AMBA_PL08X
  251. select MFD_SYSCON
  252. help
  253. Enable support for DMA on NXP LPC18xx/43xx platforms
  254. with PL080 and multiplexed DMA request lines.
  255. config MMP_PDMA
  256. bool "MMP PDMA support"
  257. depends on (ARCH_MMP || ARCH_PXA)
  258. select DMA_ENGINE
  259. help
  260. Support the MMP PDMA engine for PXA and MMP platform.
  261. config MMP_TDMA
  262. bool "MMP Two-Channel DMA support"
  263. depends on ARCH_MMP
  264. select DMA_ENGINE
  265. select MMP_SRAM
  266. help
  267. Support the MMP Two-Channel DMA engine.
  268. This engine used for MMP Audio DMA and pxa910 SQU.
  269. It needs sram driver under mach-mmp.
  270. config MOXART_DMA
  271. tristate "MOXART DMA support"
  272. depends on ARCH_MOXART
  273. select DMA_ENGINE
  274. select DMA_OF
  275. select DMA_VIRTUAL_CHANNELS
  276. help
  277. Enable support for the MOXA ART SoC DMA controller.
  278. Say Y here if you enabled MMP ADMA, otherwise say N.
  279. config MPC512X_DMA
  280. tristate "Freescale MPC512x built-in DMA engine support"
  281. depends on PPC_MPC512x || PPC_MPC831x
  282. select DMA_ENGINE
  283. ---help---
  284. Enable support for the Freescale MPC512x built-in DMA engine.
  285. config MV_XOR
  286. bool "Marvell XOR engine support"
  287. depends on PLAT_ORION
  288. select DMA_ENGINE
  289. select DMA_ENGINE_RAID
  290. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  291. ---help---
  292. Enable support for the Marvell XOR engine.
  293. config MXS_DMA
  294. bool "MXS DMA support"
  295. depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q || SOC_IMX6UL
  296. select STMP_DEVICE
  297. select DMA_ENGINE
  298. help
  299. Support the MXS DMA engine. This engine including APBH-DMA
  300. and APBX-DMA is integrated into Freescale
  301. i.MX23/28/MX6Q/MX6DL/MX6UL chips.
  302. config MX3_IPU
  303. bool "MX3x Image Processing Unit support"
  304. depends on ARCH_MXC
  305. select DMA_ENGINE
  306. default y
  307. help
  308. If you plan to use the Image Processing unit in the i.MX3x, say
  309. Y here. If unsure, select Y.
  310. config MX3_IPU_IRQS
  311. int "Number of dynamically mapped interrupts for IPU"
  312. depends on MX3_IPU
  313. range 2 137
  314. default 4
  315. help
  316. Out of 137 interrupt sources on i.MX31 IPU only very few are used.
  317. To avoid bloating the irq_desc[] array we allocate a sufficient
  318. number of IRQ slots and map them dynamically to specific sources.
  319. config NBPFAXI_DMA
  320. tristate "Renesas Type-AXI NBPF DMA support"
  321. select DMA_ENGINE
  322. depends on ARM || COMPILE_TEST
  323. help
  324. Support for "Type-AXI" NBPF DMA IPs from Renesas
  325. config PCH_DMA
  326. tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
  327. depends on PCI && (X86_32 || COMPILE_TEST)
  328. select DMA_ENGINE
  329. help
  330. Enable support for Intel EG20T PCH DMA engine.
  331. This driver also can be used for LAPIS Semiconductor IOH(Input/
  332. Output Hub), ML7213, ML7223 and ML7831.
  333. ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
  334. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
  335. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  336. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  337. config PL330_DMA
  338. tristate "DMA API Driver for PL330"
  339. select DMA_ENGINE
  340. depends on ARM_AMBA
  341. help
  342. Select if your platform has one or more PL330 DMACs.
  343. You need to provide platform specific settings via
  344. platform_data for a dma-pl330 device.
  345. config PXA_DMA
  346. bool "PXA DMA support"
  347. depends on (ARCH_MMP || ARCH_PXA)
  348. select DMA_ENGINE
  349. select DMA_VIRTUAL_CHANNELS
  350. help
  351. Support the DMA engine for PXA. It is also compatible with MMP PDMA
  352. platform. The internal DMA IP of all PXA variants is supported, with
  353. 16 to 32 channels for peripheral to memory or memory to memory
  354. transfers.
  355. config SIRF_DMA
  356. tristate "CSR SiRFprimaII/SiRFmarco DMA support"
  357. depends on ARCH_SIRF
  358. select DMA_ENGINE
  359. help
  360. Enable support for the CSR SiRFprimaII DMA engine.
  361. config STE_DMA40
  362. bool "ST-Ericsson DMA40 support"
  363. depends on ARCH_U8500
  364. select DMA_ENGINE
  365. help
  366. Support for ST-Ericsson DMA40 controller
  367. config STM32_DMA
  368. bool "STMicroelectronics STM32 DMA support"
  369. depends on ARCH_STM32
  370. select DMA_ENGINE
  371. select DMA_OF
  372. select DMA_VIRTUAL_CHANNELS
  373. help
  374. Enable support for the on-chip DMA controller on STMicroelectronics
  375. STM32 MCUs.
  376. If you have a board based on such a MCU and wish to use DMA say Y or M
  377. here.
  378. config S3C24XX_DMAC
  379. bool "Samsung S3C24XX DMA support"
  380. depends on ARCH_S3C24XX
  381. select DMA_ENGINE
  382. select DMA_VIRTUAL_CHANNELS
  383. help
  384. Support for the Samsung S3C24XX DMA controller driver. The
  385. DMA controller is having multiple DMA channels which can be
  386. configured for different peripherals like audio, UART, SPI.
  387. The DMA controller can transfer data from memory to peripheral,
  388. periphal to memory, periphal to periphal and memory to memory.
  389. config TXX9_DMAC
  390. tristate "Toshiba TXx9 SoC DMA support"
  391. depends on MACH_TX49XX || MACH_TX39XX
  392. select DMA_ENGINE
  393. help
  394. Support the TXx9 SoC internal DMA controller. This can be
  395. integrated in chips such as the Toshiba TX4927/38/39.
  396. config TEGRA20_APB_DMA
  397. bool "NVIDIA Tegra20 APB DMA support"
  398. depends on ARCH_TEGRA
  399. select DMA_ENGINE
  400. help
  401. Support for the NVIDIA Tegra20 APB DMA controller driver. The
  402. DMA controller is having multiple DMA channel which can be
  403. configured for different peripherals like audio, UART, SPI,
  404. I2C etc which is in APB bus.
  405. This DMA controller transfers data from memory to peripheral fifo
  406. or vice versa. It does not support memory to memory data transfer.
  407. config TIMB_DMA
  408. tristate "Timberdale FPGA DMA support"
  409. depends on MFD_TIMBERDALE
  410. select DMA_ENGINE
  411. help
  412. Enable support for the Timberdale FPGA DMA engine.
  413. config TI_CPPI41
  414. tristate "AM33xx CPPI41 DMA support"
  415. depends on ARCH_OMAP
  416. select DMA_ENGINE
  417. help
  418. The Communications Port Programming Interface (CPPI) 4.1 DMA engine
  419. is currently used by the USB driver on AM335x platforms.
  420. config TI_DMA_CROSSBAR
  421. bool
  422. config TI_EDMA
  423. bool "TI EDMA support"
  424. depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE
  425. select DMA_ENGINE
  426. select DMA_VIRTUAL_CHANNELS
  427. select TI_DMA_CROSSBAR if ARCH_OMAP
  428. default n
  429. help
  430. Enable support for the TI EDMA controller. This DMA
  431. engine is found on TI DaVinci and AM33xx parts.
  432. config XGENE_DMA
  433. tristate "APM X-Gene DMA support"
  434. depends on ARCH_XGENE || COMPILE_TEST
  435. select DMA_ENGINE
  436. select DMA_ENGINE_RAID
  437. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  438. help
  439. Enable support for the APM X-Gene SoC DMA engine.
  440. config XILINX_VDMA
  441. tristate "Xilinx AXI VDMA Engine"
  442. depends on (ARCH_ZYNQ || MICROBLAZE)
  443. select DMA_ENGINE
  444. help
  445. Enable support for Xilinx AXI VDMA Soft IP.
  446. This engine provides high-bandwidth direct memory access
  447. between memory and AXI4-Stream video type target
  448. peripherals including peripherals which support AXI4-
  449. Stream Video Protocol. It has two stream interfaces/
  450. channels, Memory Mapped to Stream (MM2S) and Stream to
  451. Memory Mapped (S2MM) for the data transfers.
  452. config ZX_DMA
  453. tristate "ZTE ZX296702 DMA support"
  454. depends on ARCH_ZX
  455. select DMA_ENGINE
  456. select DMA_VIRTUAL_CHANNELS
  457. help
  458. Support the DMA engine for ZTE ZX296702 platform devices.
  459. # driver files
  460. source "drivers/dma/bestcomm/Kconfig"
  461. source "drivers/dma/qcom/Kconfig"
  462. source "drivers/dma/dw/Kconfig"
  463. source "drivers/dma/hsu/Kconfig"
  464. source "drivers/dma/sh/Kconfig"
  465. # clients
  466. comment "DMA Clients"
  467. depends on DMA_ENGINE
  468. config ASYNC_TX_DMA
  469. bool "Async_tx: Offload support for the async_tx api"
  470. depends on DMA_ENGINE
  471. help
  472. This allows the async_tx api to take advantage of offload engines for
  473. memcpy, memset, xor, and raid6 p+q operations. If your platform has
  474. a dma engine that can perform raid operations and you have enabled
  475. MD_RAID456 say Y.
  476. If unsure, say N.
  477. config DMATEST
  478. tristate "DMA Test client"
  479. depends on DMA_ENGINE
  480. help
  481. Simple DMA test client. Say N unless you're debugging a
  482. DMA Device driver.
  483. config DMA_ENGINE_RAID
  484. bool
  485. endif