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