Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # DMA engine configuration
  4. #
  5. menuconfig DMADEVICES
  6. bool "DMA Engine support"
  7. depends on HAS_DMA
  8. help
  9. DMA engines can do asynchronous data transfers without
  10. involving the host CPU. Currently, this framework can be
  11. used to offload memory copies in the network stack and
  12. RAID operations in the MD driver. This menu only presents
  13. DMA Device drivers supported by the configured arch, it may
  14. be empty in some cases.
  15. config DMADEVICES_DEBUG
  16. bool "DMA Engine debugging"
  17. depends on DMADEVICES != n
  18. help
  19. This is an option for use by developers; most people should
  20. say N here. This enables DMA engine core and driver debugging.
  21. config DMADEVICES_VDEBUG
  22. bool "DMA Engine verbose debugging"
  23. depends on DMADEVICES_DEBUG != n
  24. help
  25. This is an option for use by developers; most people should
  26. say N here. This enables deeper (more verbose) debugging of
  27. the DMA engine core and drivers.
  28. if DMADEVICES
  29. comment "DMA Devices"
  30. #core
  31. config ASYNC_TX_ENABLE_CHANNEL_SWITCH
  32. bool
  33. config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  34. bool
  35. config DMA_ENGINE
  36. bool
  37. config DMA_VIRTUAL_CHANNELS
  38. tristate
  39. config DMA_ACPI
  40. def_bool y
  41. depends on ACPI
  42. config DMA_OF
  43. def_bool y
  44. depends on OF
  45. select DMA_ENGINE
  46. #devices
  47. config ALTERA_MSGDMA
  48. tristate "Altera / Intel mSGDMA Engine"
  49. depends on HAS_IOMEM
  50. select DMA_ENGINE
  51. help
  52. Enable support for Altera / Intel mSGDMA controller.
  53. config AMBA_PL08X
  54. bool "ARM PrimeCell PL080 or PL081 support"
  55. depends on ARM_AMBA
  56. select DMA_ENGINE
  57. select DMA_VIRTUAL_CHANNELS
  58. help
  59. Say yes if your platform has a PL08x DMAC device which can
  60. provide DMA engine support. This includes the original ARM
  61. PL080 and PL081, Samsungs PL080 derivative and Faraday
  62. Technology's FTDMAC020 PL080 derivative.
  63. config AMCC_PPC440SPE_ADMA
  64. tristate "AMCC PPC440SPe ADMA support"
  65. depends on 440SPe || 440SP
  66. select DMA_ENGINE
  67. select DMA_ENGINE_RAID
  68. select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
  69. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  70. help
  71. Enable support for the AMCC PPC440SPe RAID engines.
  72. config APPLE_ADMAC
  73. tristate "Apple ADMAC support"
  74. depends on ARCH_APPLE || COMPILE_TEST
  75. select DMA_ENGINE
  76. default ARCH_APPLE
  77. help
  78. Enable support for Audio DMA Controller found on Apple Silicon SoCs.
  79. config AT_HDMAC
  80. tristate "Atmel AHB DMA support"
  81. depends on ARCH_AT91
  82. select DMA_ENGINE
  83. help
  84. Support the Atmel AHB DMA controller.
  85. config AT_XDMAC
  86. tristate "Atmel XDMA support"
  87. depends on ARCH_AT91
  88. select DMA_ENGINE
  89. help
  90. Support the Atmel XDMA controller.
  91. config AXI_DMAC
  92. tristate "Analog Devices AXI-DMAC DMA support"
  93. depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
  94. select DMA_ENGINE
  95. select DMA_VIRTUAL_CHANNELS
  96. select REGMAP_MMIO
  97. help
  98. Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
  99. controller is often used in Analog Devices' reference designs for FPGA
  100. platforms.
  101. config BCM_SBA_RAID
  102. tristate "Broadcom SBA RAID engine support"
  103. depends on ARM64 || COMPILE_TEST
  104. depends on MAILBOX && RAID6_PQ
  105. select DMA_ENGINE
  106. select DMA_ENGINE_RAID
  107. select ASYNC_TX_DISABLE_XOR_VAL_DMA
  108. select ASYNC_TX_DISABLE_PQ_VAL_DMA
  109. default m if ARCH_BCM_IPROC
  110. help
  111. Enable support for Broadcom SBA RAID Engine. The SBA RAID
  112. engine is available on most of the Broadcom iProc SoCs. It
  113. has the capability to offload memcpy, xor and pq computation
  114. for raid5/6.
  115. config DMA_BCM2835
  116. tristate "BCM2835 DMA engine support"
  117. depends on ARCH_BCM2835
  118. select DMA_ENGINE
  119. select DMA_VIRTUAL_CHANNELS
  120. config DMA_JZ4780
  121. tristate "JZ4780 DMA support"
  122. depends on MIPS || COMPILE_TEST
  123. select DMA_ENGINE
  124. select DMA_VIRTUAL_CHANNELS
  125. help
  126. This selects support for the DMA controller in Ingenic JZ4780 SoCs.
  127. If you have a board based on such a SoC and wish to use DMA for
  128. devices which can use the DMA controller, say Y or M here.
  129. config DMA_SA11X0
  130. tristate "SA-11x0 DMA support"
  131. depends on ARCH_SA1100 || COMPILE_TEST
  132. select DMA_ENGINE
  133. select DMA_VIRTUAL_CHANNELS
  134. help
  135. Support the DMA engine found on Intel StrongARM SA-1100 and
  136. SA-1110 SoCs. This DMA engine can only be used with on-chip
  137. devices.
  138. config DMA_SUN4I
  139. tristate "Allwinner A10 DMA SoCs support"
  140. depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
  141. default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
  142. select DMA_ENGINE
  143. select DMA_VIRTUAL_CHANNELS
  144. help
  145. Enable support for the DMA controller present in the sun4i,
  146. sun5i and sun7i Allwinner ARM SoCs.
  147. config DMA_SUN6I
  148. tristate "Allwinner A31 SoCs DMA support"
  149. depends on ARCH_SUNXI || COMPILE_TEST
  150. depends on RESET_CONTROLLER
  151. select DMA_ENGINE
  152. select DMA_VIRTUAL_CHANNELS
  153. help
  154. Support for the DMA engine first found in Allwinner A31 SoCs.
  155. config DW_AXI_DMAC
  156. tristate "Synopsys DesignWare AXI DMA support"
  157. depends on OF
  158. depends on HAS_IOMEM
  159. select DMA_ENGINE
  160. select DMA_VIRTUAL_CHANNELS
  161. help
  162. Enable support for Synopsys DesignWare AXI DMA controller.
  163. NOTE: This driver wasn't tested on 64 bit platform because
  164. of lack 64 bit platform with Synopsys DW AXI DMAC.
  165. config EP93XX_DMA
  166. bool "Cirrus Logic EP93xx DMA support"
  167. depends on ARCH_EP93XX || COMPILE_TEST
  168. select DMA_ENGINE
  169. help
  170. Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
  171. config FSL_DMA
  172. tristate "Freescale Elo series DMA support"
  173. depends on FSL_SOC
  174. select DMA_ENGINE
  175. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  176. help
  177. Enable support for the Freescale Elo series DMA controllers.
  178. The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the
  179. EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
  180. some Txxx and Bxxx parts.
  181. config FSL_EDMA
  182. tristate "Freescale eDMA engine support"
  183. depends on OF
  184. depends on HAS_IOMEM
  185. select DMA_ENGINE
  186. select DMA_VIRTUAL_CHANNELS
  187. help
  188. Support the Freescale eDMA engine with programmable channel
  189. multiplexing capability for DMA request sources(slot).
  190. This module can be found on Freescale Vybrid and LS-1 SoCs.
  191. config FSL_QDMA
  192. tristate "NXP Layerscape qDMA engine support"
  193. depends on ARM || ARM64
  194. select DMA_ENGINE
  195. select DMA_VIRTUAL_CHANNELS
  196. select DMA_ENGINE_RAID
  197. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  198. help
  199. Support the NXP Layerscape qDMA engine with command queue and legacy mode.
  200. Channel virtualization is supported through enqueuing of DMA jobs to,
  201. or dequeuing DMA jobs from, different work queues.
  202. This module can be found on NXP Layerscape SoCs.
  203. The qdma driver only work on SoCs with a DPAA hardware block.
  204. config FSL_RAID
  205. tristate "Freescale RAID engine Support"
  206. depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
  207. select DMA_ENGINE
  208. select DMA_ENGINE_RAID
  209. help
  210. Enable support for Freescale RAID Engine. RAID Engine is
  211. available on some QorIQ SoCs (like P5020/P5040). It has
  212. the capability to offload memcpy, xor and pq computation
  213. for raid5/6.
  214. config HISI_DMA
  215. tristate "HiSilicon DMA Engine support"
  216. depends on ARCH_HISI || COMPILE_TEST
  217. depends on PCI_MSI
  218. select DMA_ENGINE
  219. select DMA_VIRTUAL_CHANNELS
  220. help
  221. Support HiSilicon Kunpeng DMA engine.
  222. config IMG_MDC_DMA
  223. tristate "IMG MDC support"
  224. depends on MIPS || COMPILE_TEST
  225. depends on MFD_SYSCON
  226. select DMA_ENGINE
  227. select DMA_VIRTUAL_CHANNELS
  228. help
  229. Enable support for the IMG multi-threaded DMA controller (MDC).
  230. config IMX_DMA
  231. tristate "i.MX DMA support"
  232. depends on ARCH_MXC
  233. select DMA_ENGINE
  234. help
  235. Support the i.MX DMA engine. This engine is integrated into
  236. Freescale i.MX1/21/27 chips.
  237. config IMX_SDMA
  238. tristate "i.MX SDMA support"
  239. depends on ARCH_MXC
  240. select DMA_ENGINE
  241. select DMA_VIRTUAL_CHANNELS
  242. help
  243. Support the i.MX SDMA engine. This engine is integrated into
  244. Freescale i.MX25/31/35/51/53/6 chips.
  245. config INTEL_IDMA64
  246. tristate "Intel integrated DMA 64-bit support"
  247. depends on HAS_IOMEM
  248. select DMA_ENGINE
  249. select DMA_VIRTUAL_CHANNELS
  250. help
  251. Enable DMA support for Intel Low Power Subsystem such as found on
  252. Intel Skylake PCH.
  253. config INTEL_IDXD_BUS
  254. tristate
  255. default INTEL_IDXD
  256. config INTEL_IDXD
  257. tristate "Intel Data Accelerators support"
  258. depends on PCI && X86_64 && !UML
  259. depends on PCI_MSI
  260. depends on PCI_PASID
  261. depends on SBITMAP
  262. select DMA_ENGINE
  263. help
  264. Enable support for the Intel(R) data accelerators present
  265. in Intel Xeon CPU.
  266. Say Y if you have such a platform.
  267. If unsure, say N.
  268. config INTEL_IDXD_COMPAT
  269. bool "Legacy behavior for idxd driver"
  270. depends on PCI && X86_64
  271. select INTEL_IDXD_BUS
  272. help
  273. Compatible driver to support old /sys/bus/dsa/drivers/dsa behavior.
  274. The old behavior performed driver bind/unbind for device and wq
  275. devices all under the dsa driver. The compat driver will emulate
  276. the legacy behavior in order to allow existing support apps (i.e.
  277. accel-config) to continue function. It is expected that accel-config
  278. v3.2 and earlier will need the compat mode. A distro with later
  279. accel-config version can disable this compat config.
  280. Say Y if you have old applications that require such behavior.
  281. If unsure, say N.
  282. # Config symbol that collects all the dependencies that's necessary to
  283. # support shared virtual memory for the devices supported by idxd.
  284. config INTEL_IDXD_SVM
  285. bool "Accelerator Shared Virtual Memory Support"
  286. depends on INTEL_IDXD
  287. depends on INTEL_IOMMU_SVM
  288. depends on PCI_PRI
  289. depends on PCI_PASID
  290. depends on PCI_IOV
  291. config INTEL_IDXD_PERFMON
  292. bool "Intel Data Accelerators performance monitor support"
  293. depends on INTEL_IDXD
  294. help
  295. Enable performance monitor (pmu) support for the Intel(R)
  296. data accelerators present in Intel Xeon CPU. With this
  297. enabled, perf can be used to monitor the DSA (Intel Data
  298. Streaming Accelerator) events described in the Intel DSA
  299. spec.
  300. If unsure, say N.
  301. config INTEL_IOATDMA
  302. tristate "Intel I/OAT DMA support"
  303. depends on PCI && X86_64 && !UML
  304. select DMA_ENGINE
  305. select DMA_ENGINE_RAID
  306. select DCA
  307. help
  308. Enable support for the Intel(R) I/OAT DMA engine present
  309. in recent Intel Xeon chipsets.
  310. Say Y here if you have such a chipset.
  311. If unsure, say N.
  312. config INTEL_IOP_ADMA
  313. tristate "Intel IOP32x ADMA support"
  314. depends on ARCH_IOP32X || COMPILE_TEST
  315. select DMA_ENGINE
  316. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  317. help
  318. Enable support for the Intel(R) IOP Series RAID engines.
  319. config K3_DMA
  320. tristate "Hisilicon K3 DMA support"
  321. depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
  322. select DMA_ENGINE
  323. select DMA_VIRTUAL_CHANNELS
  324. help
  325. Support the DMA engine for Hisilicon K3 platform
  326. devices.
  327. config LPC18XX_DMAMUX
  328. bool "NXP LPC18xx/43xx DMA MUX for PL080"
  329. depends on ARCH_LPC18XX || COMPILE_TEST
  330. depends on OF && AMBA_PL08X
  331. select MFD_SYSCON
  332. help
  333. Enable support for DMA on NXP LPC18xx/43xx platforms
  334. with PL080 and multiplexed DMA request lines.
  335. config MCF_EDMA
  336. tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
  337. depends on M5441x || COMPILE_TEST
  338. select DMA_ENGINE
  339. select DMA_VIRTUAL_CHANNELS
  340. help
  341. Support the Freescale ColdFire eDMA engine, 64-channel
  342. implementation that performs complex data transfers with
  343. minimal intervention from a host processor.
  344. This module can be found on Freescale ColdFire mcf5441x SoCs.
  345. config MILBEAUT_HDMAC
  346. tristate "Milbeaut AHB DMA support"
  347. depends on ARCH_MILBEAUT || COMPILE_TEST
  348. depends on OF
  349. select DMA_ENGINE
  350. select DMA_VIRTUAL_CHANNELS
  351. help
  352. Say yes here to support the Socionext Milbeaut
  353. HDMAC device.
  354. config MILBEAUT_XDMAC
  355. tristate "Milbeaut AXI DMA support"
  356. depends on ARCH_MILBEAUT || COMPILE_TEST
  357. depends on OF
  358. select DMA_ENGINE
  359. select DMA_VIRTUAL_CHANNELS
  360. help
  361. Say yes here to support the Socionext Milbeaut
  362. XDMAC device.
  363. config MMP_PDMA
  364. tristate "MMP PDMA support"
  365. depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
  366. select DMA_ENGINE
  367. help
  368. Support the MMP PDMA engine for PXA and MMP platform.
  369. config MMP_TDMA
  370. tristate "MMP Two-Channel DMA support"
  371. depends on ARCH_MMP || COMPILE_TEST
  372. select DMA_ENGINE
  373. select GENERIC_ALLOCATOR
  374. help
  375. Support the MMP Two-Channel DMA engine.
  376. This engine used for MMP Audio DMA and pxa910 SQU.
  377. config MOXART_DMA
  378. tristate "MOXART DMA support"
  379. depends on ARCH_MOXART
  380. select DMA_ENGINE
  381. select DMA_VIRTUAL_CHANNELS
  382. help
  383. Enable support for the MOXA ART SoC DMA controller.
  384. Say Y here if you enabled MMP ADMA, otherwise say N.
  385. config MPC512X_DMA
  386. tristate "Freescale MPC512x built-in DMA engine support"
  387. depends on PPC_MPC512x || PPC_MPC831x
  388. select DMA_ENGINE
  389. help
  390. Enable support for the Freescale MPC512x built-in DMA engine.
  391. config MV_XOR
  392. bool "Marvell XOR engine support"
  393. depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
  394. select DMA_ENGINE
  395. select DMA_ENGINE_RAID
  396. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  397. help
  398. Enable support for the Marvell XOR engine.
  399. config MV_XOR_V2
  400. bool "Marvell XOR engine version 2 support "
  401. depends on ARM64
  402. select DMA_ENGINE
  403. select DMA_ENGINE_RAID
  404. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  405. select GENERIC_MSI_IRQ_DOMAIN
  406. help
  407. Enable support for the Marvell version 2 XOR engine.
  408. This engine provides acceleration for copy, XOR and RAID6
  409. operations, and is available on Marvell Armada 7K and 8K
  410. platforms.
  411. config MXS_DMA
  412. bool "MXS DMA support"
  413. depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
  414. select STMP_DEVICE
  415. select DMA_ENGINE
  416. help
  417. Support the MXS DMA engine. This engine including APBH-DMA
  418. and APBX-DMA is integrated into some Freescale chips.
  419. config MX3_IPU
  420. bool "MX3x Image Processing Unit support"
  421. depends on ARCH_MXC
  422. select DMA_ENGINE
  423. default y
  424. help
  425. If you plan to use the Image Processing unit in the i.MX3x, say
  426. Y here. If unsure, select Y.
  427. config MX3_IPU_IRQS
  428. int "Number of dynamically mapped interrupts for IPU"
  429. depends on MX3_IPU
  430. range 2 137
  431. default 4
  432. help
  433. Out of 137 interrupt sources on i.MX31 IPU only very few are used.
  434. To avoid bloating the irq_desc[] array we allocate a sufficient
  435. number of IRQ slots and map them dynamically to specific sources.
  436. config NBPFAXI_DMA
  437. tristate "Renesas Type-AXI NBPF DMA support"
  438. select DMA_ENGINE
  439. depends on ARM || COMPILE_TEST
  440. help
  441. Support for "Type-AXI" NBPF DMA IPs from Renesas
  442. config OWL_DMA
  443. tristate "Actions Semi Owl SoCs DMA support"
  444. depends on ARCH_ACTIONS
  445. select DMA_ENGINE
  446. select DMA_VIRTUAL_CHANNELS
  447. help
  448. Enable support for the Actions Semi Owl SoCs DMA controller.
  449. config PCH_DMA
  450. tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
  451. depends on PCI && (X86_32 || COMPILE_TEST)
  452. select DMA_ENGINE
  453. help
  454. Enable support for Intel EG20T PCH DMA engine.
  455. This driver also can be used for LAPIS Semiconductor IOH(Input/
  456. Output Hub), ML7213, ML7223 and ML7831.
  457. ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
  458. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
  459. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  460. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  461. config PL330_DMA
  462. tristate "DMA API Driver for PL330"
  463. select DMA_ENGINE
  464. depends on ARM_AMBA
  465. help
  466. Select if your platform has one or more PL330 DMACs.
  467. You need to provide platform specific settings via
  468. platform_data for a dma-pl330 device.
  469. config PXA_DMA
  470. bool "PXA DMA support"
  471. depends on (ARCH_MMP || ARCH_PXA)
  472. select DMA_ENGINE
  473. select DMA_VIRTUAL_CHANNELS
  474. help
  475. Support the DMA engine for PXA. It is also compatible with MMP PDMA
  476. platform. The internal DMA IP of all PXA variants is supported, with
  477. 16 to 32 channels for peripheral to memory or memory to memory
  478. transfers.
  479. config PLX_DMA
  480. tristate "PLX ExpressLane PEX Switch DMA Engine Support"
  481. depends on PCI
  482. select DMA_ENGINE
  483. help
  484. Some PLX ExpressLane PCI Switches support additional DMA engines.
  485. These are exposed via extra functions on the switch's
  486. upstream port. Each function exposes one DMA channel.
  487. config STE_DMA40
  488. bool "ST-Ericsson DMA40 support"
  489. depends on ARCH_U8500
  490. select DMA_ENGINE
  491. help
  492. Support for ST-Ericsson DMA40 controller
  493. config ST_FDMA
  494. tristate "ST FDMA dmaengine support"
  495. depends on ARCH_STI
  496. depends on REMOTEPROC
  497. select ST_SLIM_REMOTEPROC
  498. select DMA_ENGINE
  499. select DMA_VIRTUAL_CHANNELS
  500. help
  501. Enable support for ST FDMA controller.
  502. It supports 16 independent DMA channels, accepts up to 32 DMA requests
  503. Say Y here if you have such a chipset.
  504. If unsure, say N.
  505. config STM32_DMA
  506. bool "STMicroelectronics STM32 DMA support"
  507. depends on ARCH_STM32 || COMPILE_TEST
  508. select DMA_ENGINE
  509. select DMA_VIRTUAL_CHANNELS
  510. help
  511. Enable support for the on-chip DMA controller on STMicroelectronics
  512. STM32 MCUs.
  513. If you have a board based on such a MCU and wish to use DMA say Y
  514. here.
  515. config STM32_DMAMUX
  516. bool "STMicroelectronics STM32 dma multiplexer support"
  517. depends on STM32_DMA || COMPILE_TEST
  518. help
  519. Enable support for the on-chip DMA multiplexer on STMicroelectronics
  520. STM32 MCUs.
  521. If you have a board based on such a MCU and wish to use DMAMUX say Y
  522. here.
  523. config STM32_MDMA
  524. bool "STMicroelectronics STM32 master dma support"
  525. depends on ARCH_STM32 || COMPILE_TEST
  526. depends on OF
  527. select DMA_ENGINE
  528. select DMA_VIRTUAL_CHANNELS
  529. help
  530. Enable support for the on-chip MDMA controller on STMicroelectronics
  531. STM32 platforms.
  532. If you have a board based on STM32 SoC and wish to use the master DMA
  533. say Y here.
  534. config SPRD_DMA
  535. tristate "Spreadtrum DMA support"
  536. depends on ARCH_SPRD || COMPILE_TEST
  537. select DMA_ENGINE
  538. select DMA_VIRTUAL_CHANNELS
  539. help
  540. Enable support for the on-chip DMA controller on Spreadtrum platform.
  541. config S3C24XX_DMAC
  542. bool "Samsung S3C24XX DMA support"
  543. depends on ARCH_S3C24XX || COMPILE_TEST
  544. select DMA_ENGINE
  545. select DMA_VIRTUAL_CHANNELS
  546. help
  547. Support for the Samsung S3C24XX DMA controller driver. The
  548. DMA controller is having multiple DMA channels which can be
  549. configured for different peripherals like audio, UART, SPI.
  550. The DMA controller can transfer data from memory to peripheral,
  551. periphal to memory, periphal to periphal and memory to memory.
  552. config TXX9_DMAC
  553. tristate "Toshiba TXx9 SoC DMA support"
  554. depends on MACH_TX49XX
  555. select DMA_ENGINE
  556. help
  557. Support the TXx9 SoC internal DMA controller. This can be
  558. integrated in chips such as the Toshiba TX4927/38/39.
  559. config TEGRA186_GPC_DMA
  560. tristate "NVIDIA Tegra GPC DMA support"
  561. depends on (ARCH_TEGRA || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT
  562. depends on IOMMU_API
  563. select DMA_ENGINE
  564. help
  565. Support for the NVIDIA Tegra General Purpose Central DMA controller.
  566. The DMA controller has multiple DMA channels which can be configured
  567. for different peripherals like UART, SPI, etc which are on APB bus.
  568. This DMA controller transfers data from memory to peripheral FIFO
  569. or vice versa. It also supports memory to memory data transfer.
  570. config TEGRA20_APB_DMA
  571. tristate "NVIDIA Tegra20 APB DMA support"
  572. depends on ARCH_TEGRA || COMPILE_TEST
  573. select DMA_ENGINE
  574. help
  575. Support for the NVIDIA Tegra20 APB DMA controller driver. The
  576. DMA controller is having multiple DMA channel which can be
  577. configured for different peripherals like audio, UART, SPI,
  578. I2C etc which is in APB bus.
  579. This DMA controller transfers data from memory to peripheral fifo
  580. or vice versa. It does not support memory to memory data transfer.
  581. config TEGRA210_ADMA
  582. tristate "NVIDIA Tegra210 ADMA support"
  583. depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
  584. select DMA_ENGINE
  585. select DMA_VIRTUAL_CHANNELS
  586. help
  587. Support for the NVIDIA Tegra210 ADMA controller driver. The
  588. DMA controller has multiple DMA channels and is used to service
  589. various audio clients in the Tegra210 audio processing engine
  590. (APE). This DMA controller transfers data from memory to
  591. peripheral and vice versa. It does not support memory to
  592. memory data transfer.
  593. config TIMB_DMA
  594. tristate "Timberdale FPGA DMA support"
  595. depends on MFD_TIMBERDALE || COMPILE_TEST
  596. select DMA_ENGINE
  597. help
  598. Enable support for the Timberdale FPGA DMA engine.
  599. config UNIPHIER_MDMAC
  600. tristate "UniPhier MIO DMAC"
  601. depends on ARCH_UNIPHIER || COMPILE_TEST
  602. depends on OF
  603. select DMA_ENGINE
  604. select DMA_VIRTUAL_CHANNELS
  605. help
  606. Enable support for the MIO DMAC (Media I/O DMA controller) on the
  607. UniPhier platform. This DMA controller is used as the external
  608. DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs.
  609. config UNIPHIER_XDMAC
  610. tristate "UniPhier XDMAC support"
  611. depends on ARCH_UNIPHIER || COMPILE_TEST
  612. depends on OF
  613. select DMA_ENGINE
  614. select DMA_VIRTUAL_CHANNELS
  615. help
  616. Enable support for the XDMAC (external DMA controller) on the
  617. UniPhier platform. This DMA controller can transfer data from
  618. memory to memory, memory to peripheral and peripheral to memory.
  619. config XGENE_DMA
  620. tristate "APM X-Gene DMA support"
  621. depends on ARCH_XGENE || COMPILE_TEST
  622. select DMA_ENGINE
  623. select DMA_ENGINE_RAID
  624. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  625. help
  626. Enable support for the APM X-Gene SoC DMA engine.
  627. config XILINX_DMA
  628. tristate "Xilinx AXI DMAS Engine"
  629. depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
  630. select DMA_ENGINE
  631. help
  632. Enable support for Xilinx AXI VDMA Soft IP.
  633. AXI VDMA engine provides high-bandwidth direct memory access
  634. between memory and AXI4-Stream video type target
  635. peripherals including peripherals which support AXI4-
  636. Stream Video Protocol. It has two stream interfaces/
  637. channels, Memory Mapped to Stream (MM2S) and Stream to
  638. Memory Mapped (S2MM) for the data transfers.
  639. AXI CDMA engine provides high-bandwidth direct memory access
  640. between a memory-mapped source address and a memory-mapped
  641. destination address.
  642. AXI DMA engine provides high-bandwidth one dimensional direct
  643. memory access between memory and AXI4-Stream target peripherals.
  644. AXI MCDMA engine provides high-bandwidth direct memory access
  645. between memory and AXI4-Stream target peripherals. It provides
  646. the scatter gather interface with multiple channels independent
  647. configuration support.
  648. config XILINX_ZYNQMP_DMA
  649. tristate "Xilinx ZynqMP DMA Engine"
  650. depends on ARCH_ZYNQ || MICROBLAZE || ARM64 || COMPILE_TEST
  651. select DMA_ENGINE
  652. help
  653. Enable support for Xilinx ZynqMP DMA controller.
  654. config XILINX_ZYNQMP_DPDMA
  655. tristate "Xilinx DPDMA Engine"
  656. depends on HAS_IOMEM && OF
  657. select DMA_ENGINE
  658. select DMA_VIRTUAL_CHANNELS
  659. help
  660. Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option
  661. if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The
  662. driver provides the dmaengine required by the DisplayPort subsystem
  663. display driver.
  664. # driver files
  665. source "drivers/dma/bestcomm/Kconfig"
  666. source "drivers/dma/mediatek/Kconfig"
  667. source "drivers/dma/ptdma/Kconfig"
  668. source "drivers/dma/qcom/Kconfig"
  669. source "drivers/dma/dw/Kconfig"
  670. source "drivers/dma/dw-edma/Kconfig"
  671. source "drivers/dma/hsu/Kconfig"
  672. source "drivers/dma/sf-pdma/Kconfig"
  673. source "drivers/dma/sh/Kconfig"
  674. source "drivers/dma/ti/Kconfig"
  675. source "drivers/dma/fsl-dpaa2-qdma/Kconfig"
  676. source "drivers/dma/lgm/Kconfig"
  677. # clients
  678. comment "DMA Clients"
  679. depends on DMA_ENGINE
  680. config ASYNC_TX_DMA
  681. bool "Async_tx: Offload support for the async_tx api"
  682. depends on DMA_ENGINE
  683. help
  684. This allows the async_tx api to take advantage of offload engines for
  685. memcpy, memset, xor, and raid6 p+q operations. If your platform has
  686. a dma engine that can perform raid operations and you have enabled
  687. MD_RAID456 say Y.
  688. If unsure, say N.
  689. config DMATEST
  690. tristate "DMA Test client"
  691. depends on DMA_ENGINE
  692. select DMA_ENGINE_RAID
  693. help
  694. Simple DMA test client. Say N unless you're debugging a
  695. DMA Device driver.
  696. config DMA_ENGINE_RAID
  697. bool
  698. endif