Merge tag 'pm-6.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux-block.git] / drivers / dma / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
c13c8260
CL
2#
3# DMA engine configuration
4#
5
2ed6dc34 6menuconfig DMADEVICES
6d4f5879 7 bool "DMA Engine support"
04ce9ab3 8 depends on HAS_DMA
2ed6dc34 9 help
6d4f5879
HS
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
9c402f4e
DW
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.
2ed6dc34 16
6c664a89 17config DMADEVICES_DEBUG
67805a4b
KK
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.
6c664a89
LW
23
24config DMADEVICES_VDEBUG
67805a4b
KK
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.
6c664a89
LW
31
32
2ed6dc34
SN
33if DMADEVICES
34
35comment "DMA Devices"
36
3c216190
VK
37#core
38config ASYNC_TX_ENABLE_CHANNEL_SWITCH
39 bool
95b4ecbf 40
3c216190
VK
41config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
42 bool
95b4ecbf 43
3c216190 44config DMA_ENGINE
138f4c35
DW
45 bool
46
3c216190
VK
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
a85c6f1b
SR
60config ALTERA_MSGDMA
61 tristate "Altera / Intel mSGDMA Engine"
253697b9 62 depends on HAS_IOMEM
a85c6f1b
SR
63 select DMA_ENGINE
64 help
65 Enable support for Altera / Intel mSGDMA controller.
66
e8689e63
LW
67config AMBA_PL08X
68 bool "ARM PrimeCell PL080 or PL081 support"
c6a0aec9 69 depends on ARM_AMBA
e8689e63 70 select DMA_ENGINE
083be28a 71 select DMA_VIRTUAL_CHANNELS
e8689e63 72 help
1e1cfc72
LW
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.
e8689e63 77
3c216190
VK
78config AMCC_PPC440SPE_ADMA
79 tristate "AMCC PPC440SPe ADMA support"
80 depends on 440SPe || 440SP
2ed6dc34 81 select DMA_ENGINE
3cc377b9 82 select DMA_ENGINE_RAID
3c216190 83 select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
5fc6d897 84 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
2ed6dc34 85 help
3c216190 86 Enable support for the AMCC PPC440SPe RAID engines.
2ed6dc34 87
b127315d
MP
88config APPLE_ADMAC
89 tristate "Apple ADMAC support"
90 depends on ARCH_APPLE || COMPILE_TEST
91 select DMA_ENGINE
92 default ARCH_APPLE
93 help
94 Enable support for Audio DMA Controller found on Apple Silicon SoCs.
95
5d099706
RM
96config ARM_DMA350
97 tristate "Arm DMA-350 support"
86071b36 98 depends on ARM || ARM64 || COMPILE_TEST
5d099706
RM
99 select DMA_ENGINE
100 select DMA_VIRTUAL_CHANNELS
101 help
102 Enable support for the Arm DMA-350 controller.
103
dc78baa2
NF
104config AT_HDMAC
105 tristate "Atmel AHB DMA support"
f898fed0 106 depends on ARCH_AT91
dc78baa2 107 select DMA_ENGINE
ac803b56 108 select DMA_VIRTUAL_CHANNELS
dc78baa2 109 help
f898fed0 110 Support the Atmel AHB DMA controller.
2ed6dc34 111
e1f7c9ee
LD
112config AT_XDMAC
113 tristate "Atmel XDMA support"
6e5ae29b 114 depends on ARCH_AT91
e1f7c9ee
LD
115 select DMA_ENGINE
116 help
117 Support the Atmel XDMA controller.
2ed6dc34 118
3c216190
VK
119config AXI_DMAC
120 tristate "Analog Devices AXI-DMAC DMA support"
5c038872 121 depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
2ed6dc34 122 select DMA_ENGINE
3c216190 123 select DMA_VIRTUAL_CHANNELS
fc15be39 124 select REGMAP_MMIO
2ed6dc34 125 help
3c216190 126 Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
2fea2906 127 controller is often used in Analog Devices' reference designs for FPGA
3c216190 128 platforms.
c13c8260 129
743e1c8f
AP
130config BCM_SBA_RAID
131 tristate "Broadcom SBA RAID engine support"
58d96125
AB
132 depends on ARM64 || COMPILE_TEST
133 depends on MAILBOX && RAID6_PQ
743e1c8f
AP
134 select DMA_ENGINE
135 select DMA_ENGINE_RAID
136 select ASYNC_TX_DISABLE_XOR_VAL_DMA
137 select ASYNC_TX_DISABLE_PQ_VAL_DMA
7076a1e4 138 default m if ARCH_BCM_IPROC
743e1c8f
AP
139 help
140 Enable support for Broadcom SBA RAID Engine. The SBA RAID
141 engine is available on most of the Broadcom iProc SoCs. It
142 has the capability to offload memcpy, xor and pq computation
143 for raid5/6.
144
3c216190
VK
145config DMA_BCM2835
146 tristate "BCM2835 DMA engine support"
147 depends on ARCH_BCM2835
148 select DMA_ENGINE
149 select DMA_VIRTUAL_CHANNELS
150
3c216190
VK
151config DMA_JZ4780
152 tristate "JZ4780 DMA support"
c558ecd2 153 depends on MIPS || COMPILE_TEST
667dfed9
AS
154 select DMA_ENGINE
155 select DMA_VIRTUAL_CHANNELS
156 help
3c216190
VK
157 This selects support for the DMA controller in Ingenic JZ4780 SoCs.
158 If you have a board based on such a SoC and wish to use DMA for
159 devices which can use the DMA controller, say Y or M here.
667dfed9 160
3c216190
VK
161config DMA_SA11X0
162 tristate "SA-11x0 DMA support"
6947c3f2 163 depends on ARCH_SA1100 || COMPILE_TEST
dc78baa2 164 select DMA_ENGINE
3c216190 165 select DMA_VIRTUAL_CHANNELS
dc78baa2 166 help
3c216190
VK
167 Support the DMA engine found on Intel StrongARM SA-1100 and
168 SA-1110 SoCs. This DMA engine can only be used with on-chip
169 devices.
dc78baa2 170
3c216190
VK
171config DMA_SUN4I
172 tristate "Allwinner A10 DMA SoCs support"
6faf1cca
MK
173 depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNIV
174 default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNIV)
e1f7c9ee 175 select DMA_ENGINE
3c216190 176 select DMA_VIRTUAL_CHANNELS
e1f7c9ee 177 help
3c216190
VK
178 Enable support for the DMA controller present in the sun4i,
179 sun5i and sun7i Allwinner ARM SoCs.
180
181config DMA_SUN6I
182 tristate "Allwinner A31 SoCs DMA support"
8292a155 183 depends on ARCH_SUNXI || COMPILE_TEST
3c216190
VK
184 depends on RESET_CONTROLLER
185 select DMA_ENGINE
186 select DMA_VIRTUAL_CHANNELS
187 help
188 Support for the DMA engine first found in Allwinner A31 SoCs.
189
1fe20f1b
EP
190config DW_AXI_DMAC
191 tristate "Synopsys DesignWare AXI DMA support"
84dd3b2b 192 depends on OF
cd0f00c3 193 depends on HAS_IOMEM
1fe20f1b
EP
194 select DMA_ENGINE
195 select DMA_VIRTUAL_CHANNELS
196 help
197 Enable support for Synopsys DesignWare AXI DMA controller.
198 NOTE: This driver wasn't tested on 64 bit platform because
199 of lack 64 bit platform with Synopsys DW AXI DMAC.
200
3c216190
VK
201config EP93XX_DMA
202 bool "Cirrus Logic EP93xx DMA support"
49ad6d7d 203 depends on ARCH_EP93XX || COMPILE_TEST
3c216190
VK
204 select DMA_ENGINE
205 help
206 Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
e1f7c9ee 207
173acc7c 208config FSL_DMA
8de7a7d9 209 tristate "Freescale Elo series DMA support"
77cd62e8 210 depends on FSL_SOC
173acc7c 211 select DMA_ENGINE
5fc6d897 212 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
a7f7f624 213 help
8de7a7d9
HZ
214 Enable support for the Freescale Elo series DMA controllers.
215 The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the
216 EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
217 some Txxx and Bxxx parts.
173acc7c 218
3c216190
VK
219config FSL_EDMA
220 tristate "Freescale eDMA engine support"
221 depends on OF
b1e213a9 222 depends on HAS_IOMEM
3c216190
VK
223 select DMA_ENGINE
224 select DMA_VIRTUAL_CHANNELS
225 help
226 Support the Freescale eDMA engine with programmable channel
227 multiplexing capability for DMA request sources(slot).
228 This module can be found on Freescale Vybrid and LS-1 SoCs.
229
b092529e 230config FSL_QDMA
67805a4b
KK
231 tristate "NXP Layerscape qDMA engine support"
232 depends on ARM || ARM64
233 select DMA_ENGINE
234 select DMA_VIRTUAL_CHANNELS
235 select DMA_ENGINE_RAID
236 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
237 help
238 Support the NXP Layerscape qDMA engine with command queue and legacy mode.
239 Channel virtualization is supported through enqueuing of DMA jobs to,
240 or dequeuing DMA jobs from, different work queues.
241 This module can be found on NXP Layerscape SoCs.
b092529e
PM
242 The qdma driver only work on SoCs with a DPAA hardware block.
243
ad80da65 244config FSL_RAID
67805a4b
KK
245 tristate "Freescale RAID engine Support"
246 depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
247 select DMA_ENGINE
248 select DMA_ENGINE_RAID
a7f7f624 249 help
67805a4b
KK
250 Enable support for Freescale RAID Engine. RAID Engine is
251 available on some QorIQ SoCs (like P5020/P5040). It has
252 the capability to offload memcpy, xor and pq computation
ad80da65
XS
253 for raid5/6.
254
e9f08b65
ZW
255config HISI_DMA
256 tristate "HiSilicon DMA Engine support"
dcca9d04 257 depends on ARCH_HISI || COMPILE_TEST
ae148b43 258 depends on PCI_MSI
e9f08b65
ZW
259 select DMA_ENGINE
260 select DMA_VIRTUAL_CHANNELS
261 help
262 Support HiSilicon Kunpeng DMA engine.
263
3c216190
VK
264config IMG_MDC_DMA
265 tristate "IMG MDC support"
266 depends on MIPS || COMPILE_TEST
267 depends on MFD_SYSCON
0fb6f739 268 select DMA_ENGINE
3c216190
VK
269 select DMA_VIRTUAL_CHANNELS
270 help
271 Enable support for the IMG multi-threaded DMA controller (MDC).
9a322993 272
3c216190
VK
273config IMX_DMA
274 tristate "i.MX DMA support"
8e2d41f8 275 depends on ARCH_MXC
ff7b0479 276 select DMA_ENGINE
5296b56d 277 help
3c216190
VK
278 Support the i.MX DMA engine. This engine is integrated into
279 Freescale i.MX1/21/27 chips.
ff7b0479 280
3c216190
VK
281config IMX_SDMA
282 tristate "i.MX SDMA support"
8e2d41f8 283 depends on ARCH_MXC
5296b56d 284 select DMA_ENGINE
57b772b8 285 select DMA_VIRTUAL_CHANNELS
5296b56d 286 help
3c216190
VK
287 Support the i.MX SDMA engine. This engine is integrated into
288 Freescale i.MX25/31/35/51/53/6 chips.
5296b56d 289
9ab8b4e7 290config INTEL_IDMA64
35271227 291 tristate "Intel integrated DMA 64-bit support"
b1e213a9 292 depends on HAS_IOMEM
35271227
LT
293 select DMA_ENGINE
294 select DMA_VIRTUAL_CHANNELS
5296b56d 295 help
35271227
LT
296 Enable DMA support for Intel Low Power Subsystem such as found on
297 Intel Skylake PCH.
5296b56d 298
d9e5481f
DJ
299config INTEL_IDXD_BUS
300 tristate
301 default INTEL_IDXD
302
bfe1d560
DJ
303config INTEL_IDXD
304 tristate "Intel Data Accelerators support"
b2296eea 305 depends on PCI && X86_64 && !UML
d6a7bb86 306 depends on PCI_MSI
d8071323 307 depends on PCI_PASID
0705107f 308 depends on SBITMAP
bfe1d560 309 select DMA_ENGINE
bfe1d560
DJ
310 help
311 Enable support for the Intel(R) data accelerators present
312 in Intel Xeon CPU.
313
314 Say Y if you have such a platform.
315
316 If unsure, say N.
317
6e7f3ee9
DJ
318config INTEL_IDXD_COMPAT
319 bool "Legacy behavior for idxd driver"
320 depends on PCI && X86_64
321 select INTEL_IDXD_BUS
322 help
323 Compatible driver to support old /sys/bus/dsa/drivers/dsa behavior.
324 The old behavior performed driver bind/unbind for device and wq
325 devices all under the dsa driver. The compat driver will emulate
326 the legacy behavior in order to allow existing support apps (i.e.
327 accel-config) to continue function. It is expected that accel-config
328 v3.2 and earlier will need the compat mode. A distro with later
329 accel-config version can disable this compat config.
330
331 Say Y if you have old applications that require such behavior.
332
333 If unsure, say N.
334
8e50d392
DJ
335# Config symbol that collects all the dependencies that's necessary to
336# support shared virtual memory for the devices supported by idxd.
337config INTEL_IDXD_SVM
338 bool "Accelerator Shared Virtual Memory Support"
339 depends on INTEL_IDXD
340 depends on INTEL_IOMMU_SVM
341 depends on PCI_PRI
342 depends on PCI_PASID
343 depends on PCI_IOV
344
81dd4d4d
TZ
345config INTEL_IDXD_PERFMON
346 bool "Intel Data Accelerators performance monitor support"
347 depends on INTEL_IDXD
348 help
349 Enable performance monitor (pmu) support for the Intel(R)
350 data accelerators present in Intel Xeon CPU. With this
351 enabled, perf can be used to monitor the DSA (Intel Data
352 Streaming Accelerator) events described in the Intel DSA
353 spec.
354
355 If unsure, say N.
356
3c216190
VK
357config INTEL_IOATDMA
358 tristate "Intel I/OAT DMA support"
bbac7a92 359 depends on PCI && X86_64 && !UML
a57e16cf 360 select DMA_ENGINE
3c216190
VK
361 select DMA_ENGINE_RAID
362 select DCA
a57e16cf 363 help
3c216190
VK
364 Enable support for the Intel(R) I/OAT DMA engine present
365 in recent Intel Xeon chipsets.
a57e16cf 366
3c216190
VK
367 Say Y here if you have such a chipset.
368
369 If unsure, say N.
370
3c216190
VK
371config K3_DMA
372 tristate "Hisilicon K3 DMA support"
65b87548 373 depends on ARCH_HISI || COMPILE_TEST
ddeccb8d
HS
374 select DMA_ENGINE
375 select DMA_VIRTUAL_CHANNELS
376 help
3c216190
VK
377 Support the DMA engine for Hisilicon K3 platform
378 devices.
ddeccb8d 379
e06c4323
KZ
380config LOONGSON1_APB_DMA
381 tristate "Loongson1 APB DMA support"
382 depends on MACH_LOONGSON32 || COMPILE_TEST
383 select DMA_ENGINE
384 select DMA_VIRTUAL_CHANNELS
385 help
386 This selects support for the APB DMA controller in Loongson1 SoCs,
387 which is required by Loongson1 NAND and audio support.
388
8974f34d
BZ
389config LOONGSON2_APB_DMA
390 tristate "Loongson2 APB DMA support"
391 depends on LOONGARCH || COMPILE_TEST
392 select DMA_ENGINE
393 select DMA_VIRTUAL_CHANNELS
394 help
395 Support for the Loongson2 APB DMA controller driver. The
396 DMA controller is having single DMA channel which can be
397 configured for different peripherals like audio, nand, sdio
398 etc which is in APB bus.
399
400 This DMA controller transfers data from memory to peripheral fifo.
401 It does not support memory to memory data transfer.
402
3c216190
VK
403config LPC18XX_DMAMUX
404 bool "NXP LPC18xx/43xx DMA MUX for PL080"
405 depends on ARCH_LPC18XX || COMPILE_TEST
406 depends on OF && AMBA_PL08X
407 select MFD_SYSCON
408 help
409 Enable support for DMA on NXP LPC18xx/43xx platforms
410 with PL080 and multiplexed DMA request lines.
d8902adc 411
5d318b59
PW
412config LPC32XX_DMAMUX
413 bool "NXP LPC32xx DMA MUX for PL080"
414 depends on ARCH_LPC32XX || COMPILE_TEST
415 depends on OF && AMBA_PL08X
416 select MFD_SYSCON
417 help
418 Support for PL080 multiplexed DMA request lines on
419 LPC32XX platrofm.
420
e7a3ff92
AD
421config MCF_EDMA
422 tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
fa555b50 423 depends on M5441x || (COMPILE_TEST && FSL_EDMA=n)
e7a3ff92
AD
424 select DMA_ENGINE
425 select DMA_VIRTUAL_CHANNELS
426 help
427 Support the Freescale ColdFire eDMA engine, 64-channel
428 implementation that performs complex data transfers with
429 minimal intervention from a host processor.
430 This module can be found on Freescale ColdFire mcf5441x SoCs.
431
6c3214e6
JB
432config MILBEAUT_HDMAC
433 tristate "Milbeaut AHB DMA support"
434 depends on ARCH_MILBEAUT || COMPILE_TEST
435 depends on OF
436 select DMA_ENGINE
437 select DMA_VIRTUAL_CHANNELS
438 help
439 Say yes here to support the Socionext Milbeaut
440 HDMAC device.
441
a6e9be05
JB
442config MILBEAUT_XDMAC
443 tristate "Milbeaut AXI DMA support"
444 depends on ARCH_MILBEAUT || COMPILE_TEST
445 depends on OF
446 select DMA_ENGINE
447 select DMA_VIRTUAL_CHANNELS
448 help
449 Say yes here to support the Socionext Milbeaut
450 XDMAC device.
451
3c216190 452config MMP_PDMA
793dff4b 453 tristate "MMP PDMA support"
cd3a792a 454 depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
61f135b9 455 select DMA_ENGINE
61f135b9 456 help
3c216190 457 Support the MMP PDMA engine for PXA and MMP platform.
61f135b9 458
3c216190 459config MMP_TDMA
9f3c14d4 460 tristate "MMP Two-Channel DMA support"
93d05f1e 461 depends on ARCH_MMP || COMPILE_TEST
8d318a50 462 select DMA_ENGINE
d6619761 463 select GENERIC_ALLOCATOR
8d318a50 464 help
3c216190
VK
465 Support the MMP Two-Channel DMA engine.
466 This engine used for MMP Audio DMA and pxa910 SQU.
8d318a50 467
3c216190
VK
468config MOXART_DMA
469 tristate "MOXART DMA support"
470 depends on ARCH_MOXART
12458ea0 471 select DMA_ENGINE
3c216190 472 select DMA_VIRTUAL_CHANNELS
12458ea0 473 help
3c216190
VK
474 Enable support for the MOXA ART SoC DMA controller.
475
476 Say Y here if you enabled MMP ADMA, otherwise say N.
12458ea0 477
3c216190
VK
478config MPC512X_DMA
479 tristate "Freescale MPC512x built-in DMA engine support"
480 depends on PPC_MPC512x || PPC_MPC831x
de5d4453 481 select DMA_ENGINE
a7f7f624 482 help
3c216190 483 Enable support for the Freescale MPC512x built-in DMA engine.
de5d4453 484
3c216190
VK
485config MV_XOR
486 bool "Marvell XOR engine support"
c39290a1 487 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
ca21a146 488 select DMA_ENGINE
3c216190
VK
489 select DMA_ENGINE_RAID
490 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
a7f7f624 491 help
3c216190 492 Enable support for the Marvell XOR engine.
ca21a146 493
19a340b1
TP
494config MV_XOR_V2
495 bool "Marvell XOR engine version 2 support "
496 depends on ARM64
497 select DMA_ENGINE
498 select DMA_ENGINE_RAID
499 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
13e7accb 500 select GENERIC_MSI_IRQ
a7f7f624 501 help
19a340b1
TP
502 Enable support for the Marvell version 2 XOR engine.
503
504 This engine provides acceleration for copy, XOR and RAID6
505 operations, and is available on Marvell Armada 7K and 8K
506 platforms.
507
3c216190
VK
508config MXS_DMA
509 bool "MXS DMA support"
d762e4f3 510 depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
3c216190 511 select STMP_DEVICE
ca21a146
RY
512 select DMA_ENGINE
513 help
3c216190 514 Support the MXS DMA engine. This engine including APBH-DMA
2446563c 515 and APBX-DMA is integrated into some Freescale chips.
ca21a146 516
3c216190
VK
517config NBPFAXI_DMA
518 tristate "Renesas Type-AXI NBPF DMA support"
b3040e40 519 select DMA_ENGINE
3c216190 520 depends on ARM || COMPILE_TEST
b3040e40 521 help
3c216190 522 Support for "Type-AXI" NBPF DMA IPs from Renesas
b3040e40 523
47e20577
MS
524config OWL_DMA
525 tristate "Actions Semi Owl SoCs DMA support"
526 depends on ARCH_ACTIONS
527 select DMA_ENGINE
528 select DMA_VIRTUAL_CHANNELS
529 help
530 Enable support for the Actions Semi Owl SoCs DMA controller.
531
0c42bd0e 532config PCH_DMA
ca7fe2db 533 tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
4828b493 534 depends on PCI && (X86_32 || COMPILE_TEST)
0c42bd0e
YW
535 select DMA_ENGINE
536 help
2cdf2455
TM
537 Enable support for Intel EG20T PCH DMA engine.
538
e79e72be 539 This driver also can be used for LAPIS Semiconductor IOH(Input/
ca7fe2db
TM
540 Output Hub), ML7213, ML7223 and ML7831.
541 ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
542 for MP(Media Phone) use and ML7831 IOH is for general purpose use.
543 ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
544 ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
0c42bd0e 545
3c216190
VK
546config PL330_DMA
547 tristate "DMA API Driver for PL330"
1ec1e82f 548 select DMA_ENGINE
3c216190 549 depends on ARM_AMBA
1ec1e82f 550 help
3c216190
VK
551 Select if your platform has one or more PL330 DMACs.
552 You need to provide platform specific settings via
553 platform_data for a dma-pl330 device.
1ec1e82f 554
3c216190
VK
555config PXA_DMA
556 bool "PXA DMA support"
9fc2f03e 557 depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
1f1846c6 558 select DMA_ENGINE
3c216190 559 select DMA_VIRTUAL_CHANNELS
1f1846c6 560 help
3c216190
VK
561 Support the DMA engine for PXA. It is also compatible with MMP PDMA
562 platform. The internal DMA IP of all PXA variants is supported, with
563 16 to 32 channels for peripheral to memory or memory to memory
564 transfers.
1f1846c6 565
905ca51e
LG
566config PLX_DMA
567 tristate "PLX ExpressLane PEX Switch DMA Engine Support"
568 depends on PCI
569 select DMA_ENGINE
570 help
571 Some PLX ExpressLane PCI Switches support additional DMA engines.
572 These are exposed via extra functions on the switch's
573 upstream port. Each function exposes one DMA channel.
574
3c216190
VK
575config STE_DMA40
576 bool "ST-Ericsson DMA40 support"
577 depends on ARCH_U8500
760ee1c4 578 select DMA_ENGINE
5a1a3b9c 579 select SRAM
760ee1c4 580 help
3c216190 581 Support for ST-Ericsson DMA40 controller
760ee1c4 582
6b4cd727
PG
583config ST_FDMA
584 tristate "ST FDMA dmaengine support"
585 depends on ARCH_STI
3d6b3715 586 depends on REMOTEPROC
6b4cd727
PG
587 select ST_SLIM_REMOTEPROC
588 select DMA_ENGINE
589 select DMA_VIRTUAL_CHANNELS
590 help
591 Enable support for ST FDMA controller.
592 It supports 16 independent DMA channels, accepts up to 32 DMA requests
593
594 Say Y here if you have such a chipset.
595 If unsure, say N.
596
9b3b8171
BW
597config SPRD_DMA
598 tristate "Spreadtrum DMA support"
599 depends on ARCH_SPRD || COMPILE_TEST
600 select DMA_ENGINE
601 select DMA_VIRTUAL_CHANNELS
602 help
603 Enable support for the on-chip DMA controller on Spreadtrum platform.
604
3c216190
VK
605config TXX9_DMAC
606 tristate "Toshiba TXx9 SoC DMA support"
455481fc 607 depends on MACH_TX49XX
c6da0ba8
ZG
608 select DMA_ENGINE
609 help
3c216190
VK
610 Support the TXx9 SoC internal DMA controller. This can be
611 integrated in chips such as the Toshiba TX4927/38/39.
c6da0ba8 612
ee170280
A
613config TEGRA186_GPC_DMA
614 tristate "NVIDIA Tegra GPC DMA support"
615 depends on (ARCH_TEGRA || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT
2cdd3ca6 616 depends on IOMMU_API
ee170280 617 select DMA_ENGINE
7511f287 618 select DMA_VIRTUAL_CHANNELS
ee170280
A
619 help
620 Support for the NVIDIA Tegra General Purpose Central DMA controller.
621 The DMA controller has multiple DMA channels which can be configured
622 for different peripherals like UART, SPI, etc which are on APB bus.
623 This DMA controller transfers data from memory to peripheral FIFO
624 or vice versa. It also supports memory to memory data transfer.
625
3c216190 626config TEGRA20_APB_DMA
703b70f4 627 tristate "NVIDIA Tegra20 APB DMA support"
6c41ac96 628 depends on ARCH_TEGRA || COMPILE_TEST
7bedaa55 629 select DMA_ENGINE
3c216190
VK
630 help
631 Support for the NVIDIA Tegra20 APB DMA controller driver. The
632 DMA controller is having multiple DMA channel which can be
633 configured for different peripherals like audio, UART, SPI,
634 I2C etc which is in APB bus.
635 This DMA controller transfers data from memory to peripheral fifo
636 or vice versa. It does not support memory to memory data transfer.
7bedaa55 637
f46b1957 638config TEGRA210_ADMA
3ed16793 639 tristate "NVIDIA Tegra210 ADMA support"
33b7db45 640 depends on (ARCH_TEGRA || COMPILE_TEST)
f46b1957
JH
641 select DMA_ENGINE
642 select DMA_VIRTUAL_CHANNELS
f46b1957 643 help
33b7db45
PR
644 Support for the NVIDIA Tegra210/Tegra186/Tegra194/Tegra234 ADMA
645 controller driver. The DMA controller has multiple DMA channels
646 and is used to service various audio clients in the Tegra210
647 audio processing engine (APE). This DMA controller transfers
648 data from memory to peripheral and vice versa. It does not
649 support memory to memory data transfer.
f46b1957 650
3c216190
VK
651config TIMB_DMA
652 tristate "Timberdale FPGA DMA support"
4aa258af 653 depends on MFD_TIMBERDALE || COMPILE_TEST
96286b57 654 select DMA_ENGINE
3c216190
VK
655 help
656 Enable support for the Timberdale FPGA DMA engine.
96286b57 657
32e74aab
MY
658config UNIPHIER_MDMAC
659 tristate "UniPhier MIO DMAC"
660 depends on ARCH_UNIPHIER || COMPILE_TEST
661 depends on OF
662 select DMA_ENGINE
663 select DMA_VIRTUAL_CHANNELS
664 help
665 Enable support for the MIO DMAC (Media I/O DMA controller) on the
666 UniPhier platform. This DMA controller is used as the external
667 DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs.
668
667b9251
KH
669config UNIPHIER_XDMAC
670 tristate "UniPhier XDMAC support"
671 depends on ARCH_UNIPHIER || COMPILE_TEST
672 depends on OF
673 select DMA_ENGINE
674 select DMA_VIRTUAL_CHANNELS
675 help
676 Enable support for the XDMAC (external DMA controller) on the
677 UniPhier platform. This DMA controller can transfer data from
678 memory to memory, memory to peripheral and peripheral to memory.
679
3c216190
VK
680config XGENE_DMA
681 tristate "APM X-Gene DMA support"
682 depends on ARCH_XGENE || COMPILE_TEST
d6be34fb 683 select DMA_ENGINE
3c216190
VK
684 select DMA_ENGINE_RAID
685 select ASYNC_TX_ENABLE_CHANNEL_SWITCH
d6be34fb 686 help
3c216190 687 Enable support for the APM X-Gene SoC DMA engine.
5f9e685a 688
fde57a7c
KA
689config XILINX_DMA
690 tristate "Xilinx AXI DMAS Engine"
1b13e52c 691 depends on HAS_IOMEM
9cd4360d
ST
692 select DMA_ENGINE
693 help
694 Enable support for Xilinx AXI VDMA Soft IP.
695
fde57a7c 696 AXI VDMA engine provides high-bandwidth direct memory access
9cd4360d
ST
697 between memory and AXI4-Stream video type target
698 peripherals including peripherals which support AXI4-
699 Stream Video Protocol. It has two stream interfaces/
700 channels, Memory Mapped to Stream (MM2S) and Stream to
701 Memory Mapped (S2MM) for the data transfers.
fde57a7c
KA
702 AXI CDMA engine provides high-bandwidth direct memory access
703 between a memory-mapped source address and a memory-mapped
704 destination address.
705 AXI DMA engine provides high-bandwidth one dimensional direct
706 memory access between memory and AXI4-Stream target peripherals.
6ccd692b
RSP
707 AXI MCDMA engine provides high-bandwidth direct memory access
708 between memory and AXI4-Stream target peripherals. It provides
709 the scatter gather interface with multiple channels independent
710 configuration support.
9cd4360d 711
17ce2522
LH
712config XILINX_XDMA
713 tristate "Xilinx DMA/Bridge Subsystem DMA Engine"
714 depends on HAS_IOMEM
715 select DMA_ENGINE
716 select DMA_VIRTUAL_CHANNELS
717 select REGMAP_MMIO
718 help
719 Enable support for Xilinx DMA/Bridge Subsystem DMA engine. The DMA
720 provides high performance block data movement between Host memory
721 and the DMA subsystem. These direct memory transfers can be both in
722 the Host to Card (H2C) and Card to Host (C2H) transfers.
723 The core also provides up to 16 user interrupt wires that generate
724 interrupts to the host.
725
b0cc417c
KA
726config XILINX_ZYNQMP_DMA
727 tristate "Xilinx ZynqMP DMA Engine"
7073b5a8 728 depends on ARCH_ZYNQ || MICROBLAZE || ARM64 || COMPILE_TEST
b0cc417c
KA
729 select DMA_ENGINE
730 help
731 Enable support for Xilinx ZynqMP DMA controller.
9cd4360d 732
7cbb0c63
HK
733config XILINX_ZYNQMP_DPDMA
734 tristate "Xilinx DPDMA Engine"
32828b82 735 depends on HAS_IOMEM && OF
7cbb0c63
HK
736 select DMA_ENGINE
737 select DMA_VIRTUAL_CHANNELS
738 help
739 Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option
740 if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The
741 driver provides the dmaengine required by the DisplayPort subsystem
742 display driver.
743
3c216190 744# driver files
73d5fc92
NS
745source "drivers/dma/amd/Kconfig"
746
3c216190 747source "drivers/dma/bestcomm/Kconfig"
c13c8260 748
548c4597
SW
749source "drivers/dma/mediatek/Kconfig"
750
d9b31efc
SK
751source "drivers/dma/qcom/Kconfig"
752
3c216190 753source "drivers/dma/dw/Kconfig"
50437bff 754
e63d79d1
GP
755source "drivers/dma/dw-edma/Kconfig"
756
3c216190 757source "drivers/dma/hsu/Kconfig"
1b2e98bc 758
6973886a
GW
759source "drivers/dma/sf-pdma/Kconfig"
760
3c216190 761source "drivers/dma/sh/Kconfig"
5fa422c9 762
d88b1397
PU
763source "drivers/dma/ti/Kconfig"
764
7fdf9b05
PM
765source "drivers/dma/fsl-dpaa2-qdma/Kconfig"
766
32d31c79
AM
767source "drivers/dma/lgm/Kconfig"
768
76178a2c
AD
769source "drivers/dma/stm32/Kconfig"
770
3c216190 771# clients
db217334 772comment "DMA Clients"
2ed6dc34 773 depends on DMA_ENGINE
db217334 774
729b5d1b
DW
775config ASYNC_TX_DMA
776 bool "Async_tx: Offload support for the async_tx api"
9a8de639 777 depends on DMA_ENGINE
729b5d1b
DW
778 help
779 This allows the async_tx api to take advantage of offload engines for
780 memcpy, memset, xor, and raid6 p+q operations. If your platform has
781 a dma engine that can perform raid operations and you have enabled
782 MD_RAID456 say Y.
783
784 If unsure, say N.
785
4a776f0a
HS
786config DMATEST
787 tristate "DMA Test client"
788 depends on DMA_ENGINE
58532e66 789 select DMA_ENGINE_RAID
4a776f0a
HS
790 help
791 Simple DMA test client. Say N unless you're debugging a
792 DMA Device driver.
793
3cc377b9
DW
794config DMA_ENGINE_RAID
795 bool
796
2ed6dc34 797endif