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