Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  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 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
  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 i.MX23/28/MX6Q/MX6DL chips.
  301. config MX3_IPU
  302. bool "MX3x Image Processing Unit support"
  303. depends on ARCH_MXC
  304. select DMA_ENGINE
  305. default y
  306. help
  307. If you plan to use the Image Processing unit in the i.MX3x, say
  308. Y here. If unsure, select Y.
  309. config MX3_IPU_IRQS
  310. int "Number of dynamically mapped interrupts for IPU"
  311. depends on MX3_IPU
  312. range 2 137
  313. default 4
  314. help
  315. Out of 137 interrupt sources on i.MX31 IPU only very few are used.
  316. To avoid bloating the irq_desc[] array we allocate a sufficient
  317. number of IRQ slots and map them dynamically to specific sources.
  318. config NBPFAXI_DMA
  319. tristate "Renesas Type-AXI NBPF DMA support"
  320. select DMA_ENGINE
  321. depends on ARM || COMPILE_TEST
  322. help
  323. Support for "Type-AXI" NBPF DMA IPs from Renesas
  324. config PCH_DMA
  325. tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
  326. depends on PCI && (X86_32 || COMPILE_TEST)
  327. select DMA_ENGINE
  328. help
  329. Enable support for Intel EG20T PCH DMA engine.
  330. This driver also can be used for LAPIS Semiconductor IOH(Input/
  331. Output Hub), ML7213, ML7223 and ML7831.
  332. ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
  333. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
  334. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  335. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  336. config PL330_DMA
  337. tristate "DMA API Driver for PL330"
  338. select DMA_ENGINE
  339. depends on ARM_AMBA
  340. help
  341. Select if your platform has one or more PL330 DMACs.
  342. You need to provide platform specific settings via
  343. platform_data for a dma-pl330 device.
  344. config PXA_DMA
  345. bool "PXA DMA support"
  346. depends on (ARCH_MMP || ARCH_PXA)
  347. select DMA_ENGINE
  348. select DMA_VIRTUAL_CHANNELS
  349. help
  350. Support the DMA engine for PXA. It is also compatible with MMP PDMA
  351. platform. The internal DMA IP of all PXA variants is supported, with
  352. 16 to 32 channels for peripheral to memory or memory to memory
  353. transfers.
  354. config QCOM_BAM_DMA
  355. tristate "QCOM BAM DMA support"
  356. depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM)
  357. select DMA_ENGINE
  358. select DMA_VIRTUAL_CHANNELS
  359. ---help---
  360. Enable support for the QCOM BAM DMA controller. This controller
  361. provides DMA capabilities for a variety of on-chip devices.
  362. config SIRF_DMA
  363. tristate "CSR SiRFprimaII/SiRFmarco DMA support"
  364. depends on ARCH_SIRF
  365. select DMA_ENGINE
  366. help
  367. Enable support for the CSR SiRFprimaII DMA engine.
  368. config STE_DMA40
  369. bool "ST-Ericsson DMA40 support"
  370. depends on ARCH_U8500
  371. select DMA_ENGINE
  372. help
  373. Support for ST-Ericsson DMA40 controller
  374. config S3C24XX_DMAC
  375. tristate "Samsung S3C24XX DMA support"
  376. depends on ARCH_S3C24XX
  377. select DMA_ENGINE
  378. select DMA_VIRTUAL_CHANNELS
  379. help
  380. Support for the Samsung S3C24XX DMA controller driver. The
  381. DMA controller is having multiple DMA channels which can be
  382. configured for different peripherals like audio, UART, SPI.
  383. The DMA controller can transfer data from memory to peripheral,
  384. periphal to memory, periphal to periphal and memory to memory.
  385. config TXX9_DMAC
  386. tristate "Toshiba TXx9 SoC DMA support"
  387. depends on MACH_TX49XX || MACH_TX39XX
  388. select DMA_ENGINE
  389. help
  390. Support the TXx9 SoC internal DMA controller. This can be
  391. integrated in chips such as the Toshiba TX4927/38/39.
  392. config TEGRA20_APB_DMA
  393. bool "NVIDIA Tegra20 APB DMA support"
  394. depends on ARCH_TEGRA
  395. select DMA_ENGINE
  396. help
  397. Support for the NVIDIA Tegra20 APB DMA controller driver. The
  398. DMA controller is having multiple DMA channel which can be
  399. configured for different peripherals like audio, UART, SPI,
  400. I2C etc which is in APB bus.
  401. This DMA controller transfers data from memory to peripheral fifo
  402. or vice versa. It does not support memory to memory data transfer.
  403. config TIMB_DMA
  404. tristate "Timberdale FPGA DMA support"
  405. depends on MFD_TIMBERDALE
  406. select DMA_ENGINE
  407. help
  408. Enable support for the Timberdale FPGA DMA engine.
  409. config TI_CPPI41
  410. tristate "AM33xx CPPI41 DMA support"
  411. depends on ARCH_OMAP
  412. select DMA_ENGINE
  413. help
  414. The Communications Port Programming Interface (CPPI) 4.1 DMA engine
  415. is currently used by the USB driver on AM335x platforms.
  416. config TI_DMA_CROSSBAR
  417. bool
  418. config TI_EDMA
  419. bool "TI EDMA support"
  420. depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE
  421. select DMA_ENGINE
  422. select DMA_VIRTUAL_CHANNELS
  423. select TI_PRIV_EDMA
  424. default n
  425. help
  426. Enable support for the TI EDMA controller. This DMA
  427. engine is found on TI DaVinci and AM33xx parts.
  428. config XGENE_DMA
  429. tristate "APM X-Gene DMA support"
  430. depends on ARCH_XGENE || COMPILE_TEST
  431. select DMA_ENGINE
  432. select DMA_ENGINE_RAID
  433. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  434. help
  435. Enable support for the APM X-Gene SoC DMA engine.
  436. config XILINX_VDMA
  437. tristate "Xilinx AXI VDMA Engine"
  438. depends on (ARCH_ZYNQ || MICROBLAZE)
  439. select DMA_ENGINE
  440. help
  441. Enable support for Xilinx AXI VDMA Soft IP.
  442. This engine provides high-bandwidth direct memory access
  443. between memory and AXI4-Stream video type target
  444. peripherals including peripherals which support AXI4-
  445. Stream Video Protocol. It has two stream interfaces/
  446. channels, Memory Mapped to Stream (MM2S) and Stream to
  447. Memory Mapped (S2MM) for the data transfers.
  448. config ZX_DMA
  449. tristate "ZTE ZX296702 DMA support"
  450. depends on ARCH_ZX
  451. select DMA_ENGINE
  452. select DMA_VIRTUAL_CHANNELS
  453. help
  454. Support the DMA engine for ZTE ZX296702 platform devices.
  455. # driver files
  456. source "drivers/dma/bestcomm/Kconfig"
  457. source "drivers/dma/dw/Kconfig"
  458. source "drivers/dma/hsu/Kconfig"
  459. source "drivers/dma/sh/Kconfig"
  460. # clients
  461. comment "DMA Clients"
  462. depends on DMA_ENGINE
  463. config ASYNC_TX_DMA
  464. bool "Async_tx: Offload support for the async_tx api"
  465. depends on DMA_ENGINE
  466. help
  467. This allows the async_tx api to take advantage of offload engines for
  468. memcpy, memset, xor, and raid6 p+q operations. If your platform has
  469. a dma engine that can perform raid operations and you have enabled
  470. MD_RAID456 say Y.
  471. If unsure, say N.
  472. config DMATEST
  473. tristate "DMA Test client"
  474. depends on DMA_ENGINE
  475. help
  476. Simple DMA test client. Say N unless you're debugging a
  477. DMA Device driver.
  478. config DMA_ENGINE_RAID
  479. bool
  480. endif