Kconfig 23 KB

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