Kconfig 21.5 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
C
Chris Leech 已提交
2 3 4 5
#
# DMA engine configuration
#

S
Shannon Nelson 已提交
6
menuconfig DMADEVICES
7
	bool "DMA Engine support"
8
	depends on HAS_DMA
S
Shannon Nelson 已提交
9
	help
10 11 12
	  DMA engines can do asynchronous data transfers without
	  involving the host CPU.  Currently, this framework can be
	  used to offload memory copies in the network stack and
13 14 15
	  RAID operations in the MD driver.  This menu only presents
	  DMA Device drivers supported by the configured arch, it may
	  be empty in some cases.
S
Shannon Nelson 已提交
16

17
config DMADEVICES_DEBUG
18 19 20 21 22
	bool "DMA Engine debugging"
	depends on DMADEVICES != n
	help
	  This is an option for use by developers; most people should
	  say N here.  This enables DMA engine core and driver debugging.
23 24

config DMADEVICES_VDEBUG
25 26 27 28 29 30
	bool "DMA Engine verbose debugging"
	depends on DMADEVICES_DEBUG != n
	help
	  This is an option for use by developers; most people should
	  say N here.  This enables deeper (more verbose) debugging of
	  the DMA engine core and drivers.
31 32


S
Shannon Nelson 已提交
33 34 35 36
if DMADEVICES

comment "DMA Devices"

V
Vinod Koul 已提交
37 38 39
#core
config ASYNC_TX_ENABLE_CHANNEL_SWITCH
	bool
S
Siva Yerramreddy 已提交
40

V
Vinod Koul 已提交
41 42
config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
	bool
S
Siva Yerramreddy 已提交
43

V
Vinod Koul 已提交
44
config DMA_ENGINE
45 46
	bool

V
Vinod Koul 已提交
47 48 49 50 51 52 53 54 55 56 57 58 59
config DMA_VIRTUAL_CHANNELS
	tristate

config DMA_ACPI
	def_bool y
	depends on ACPI

config DMA_OF
	def_bool y
	depends on OF
	select DMA_ENGINE

#devices
60 61
config ALTERA_MSGDMA
	tristate "Altera / Intel mSGDMA Engine"
62
	depends on HAS_IOMEM
63 64 65 66
	select DMA_ENGINE
	help
	  Enable support for Altera / Intel mSGDMA controller.

67 68
config AMBA_PL08X
	bool "ARM PrimeCell PL080 or PL081 support"
69
	depends on ARM_AMBA
70
	select DMA_ENGINE
71
	select DMA_VIRTUAL_CHANNELS
72
	help
73 74 75 76
	  Say yes if your platform has a PL08x DMAC device which can
	  provide DMA engine support. This includes the original ARM
	  PL080 and PL081, Samsungs PL080 derivative and Faraday
	  Technology's FTDMAC020 PL080 derivative.
77

V
Vinod Koul 已提交
78 79 80
config AMCC_PPC440SPE_ADMA
	tristate "AMCC PPC440SPe ADMA support"
	depends on 440SPe || 440SP
S
Shannon Nelson 已提交
81
	select DMA_ENGINE
82
	select DMA_ENGINE_RAID
V
Vinod Koul 已提交
83
	select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
84
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
S
Shannon Nelson 已提交
85
	help
V
Vinod Koul 已提交
86
	  Enable support for the AMCC PPC440SPe RAID engines.
S
Shannon Nelson 已提交
87

88 89
config AT_HDMAC
	tristate "Atmel AHB DMA support"
90
	depends on ARCH_AT91
91 92
	select DMA_ENGINE
	help
93
	  Support the Atmel AHB DMA controller.
S
Shannon Nelson 已提交
94

95 96
config AT_XDMAC
	tristate "Atmel XDMA support"
97
	depends on ARCH_AT91
98 99 100
	select DMA_ENGINE
	help
	  Support the Atmel XDMA controller.
S
Shannon Nelson 已提交
101

V
Vinod Koul 已提交
102 103
config AXI_DMAC
	tristate "Analog Devices AXI-DMAC DMA support"
104
	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
S
Shannon Nelson 已提交
105
	select DMA_ENGINE
V
Vinod Koul 已提交
106
	select DMA_VIRTUAL_CHANNELS
107
	select REGMAP_MMIO
S
Shannon Nelson 已提交
108
	help
V
Vinod Koul 已提交
109
	  Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
110
	  controller is often used in Analog Devices' reference designs for FPGA
V
Vinod Koul 已提交
111
	  platforms.
C
Chris Leech 已提交
112

113 114
config BCM_SBA_RAID
	tristate "Broadcom SBA RAID engine support"
115 116
	depends on ARM64 || COMPILE_TEST
	depends on MAILBOX && RAID6_PQ
117 118 119 120
	select DMA_ENGINE
	select DMA_ENGINE_RAID
	select ASYNC_TX_DISABLE_XOR_VAL_DMA
	select ASYNC_TX_DISABLE_PQ_VAL_DMA
121
	default m if ARCH_BCM_IPROC
122 123 124 125 126 127
	help
	  Enable support for Broadcom SBA RAID Engine. The SBA RAID
	  engine is available on most of the Broadcom iProc SoCs. It
	  has the capability to offload memcpy, xor and pq computation
	  for raid5/6.

V
Vinod Koul 已提交
128 129 130 131 132 133 134 135
config DMA_BCM2835
	tristate "BCM2835 DMA engine support"
	depends on ARCH_BCM2835
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS

config DMA_JZ4780
	tristate "JZ4780 DMA support"
136
	depends on MIPS || COMPILE_TEST
137 138 139
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
V
Vinod Koul 已提交
140 141 142
	  This selects support for the DMA controller in Ingenic JZ4780 SoCs.
	  If you have a board based on such a SoC and wish to use DMA for
	  devices which can use the DMA controller, say Y or M here.
143

V
Vinod Koul 已提交
144 145
config DMA_SA11X0
	tristate "SA-11x0 DMA support"
146
	depends on ARCH_SA1100 || COMPILE_TEST
147
	select DMA_ENGINE
V
Vinod Koul 已提交
148
	select DMA_VIRTUAL_CHANNELS
149
	help
V
Vinod Koul 已提交
150 151 152
	  Support the DMA engine found on Intel StrongARM SA-1100 and
	  SA-1110 SoCs.  This DMA engine can only be used with on-chip
	  devices.
153

V
Vinod Koul 已提交
154 155
config DMA_SUN4I
	tristate "Allwinner A10 DMA SoCs support"
156
	depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
V
Vinod Koul 已提交
157
	default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
158
	select DMA_ENGINE
V
Vinod Koul 已提交
159
	select DMA_VIRTUAL_CHANNELS
160
	help
V
Vinod Koul 已提交
161 162 163 164 165
	  Enable support for the DMA controller present in the sun4i,
	  sun5i and sun7i Allwinner ARM SoCs.

config DMA_SUN6I
	tristate "Allwinner A31 SoCs DMA support"
166
	depends on MACH_SUN6I || MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
V
Vinod Koul 已提交
167 168 169 170 171 172
	depends on RESET_CONTROLLER
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support for the DMA engine first found in Allwinner A31 SoCs.

173 174 175
config DW_AXI_DMAC
	tristate "Synopsys DesignWare AXI DMA support"
	depends on OF || COMPILE_TEST
176
	depends on HAS_IOMEM
177 178 179 180 181 182 183
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Synopsys DesignWare AXI DMA controller.
	  NOTE: This driver wasn't tested on 64 bit platform because
	  of lack 64 bit platform with Synopsys DW AXI DMAC.

V
Vinod Koul 已提交
184 185
config EP93XX_DMA
	bool "Cirrus Logic EP93xx DMA support"
186
	depends on ARCH_EP93XX || COMPILE_TEST
V
Vinod Koul 已提交
187 188 189
	select DMA_ENGINE
	help
	  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 198 199 200
	  Enable support for the Freescale Elo series DMA controllers.
	  The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the
	  EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
	  some Txxx and Bxxx parts.
201

V
Vinod Koul 已提交
202 203 204 205 206 207 208 209 210 211
config FSL_EDMA
	tristate "Freescale eDMA engine support"
	depends on OF
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support the Freescale eDMA engine with programmable channel
	  multiplexing capability for DMA request sources(slot).
	  This module can be found on Freescale Vybrid and LS-1 SoCs.

212
config FSL_QDMA
213 214 215 216 217 218 219 220 221 222 223
	tristate "NXP Layerscape qDMA engine support"
	depends on ARM || ARM64
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
	help
	 Support the NXP Layerscape qDMA engine with command queue and legacy mode.
	 Channel virtualization is supported through enqueuing of DMA jobs to,
	 or dequeuing DMA jobs from, different work queues.
	 This module can be found on NXP Layerscape SoCs.
224 225
	  The qdma driver only work on  SoCs with a DPAA hardware block.

226
config FSL_RAID
227 228 229 230
	tristate "Freescale RAID engine Support"
	depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
	select DMA_ENGINE
	select DMA_ENGINE_RAID
231
	help
232 233 234
	  Enable support for Freescale RAID Engine. RAID Engine is
	  available on some QorIQ SoCs (like P5020/P5040). It has
	  the capability to offload memcpy, xor and pq computation
235 236
	  for raid5/6.

237 238
config HISI_DMA
	tristate "HiSilicon DMA Engine support"
239 240
	depends on ARM64 || COMPILE_TEST
	depends on PCI_MSI
241 242 243 244 245
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support HiSilicon Kunpeng DMA engine.

V
Vinod Koul 已提交
246 247 248 249
config IMG_MDC_DMA
	tristate "IMG MDC support"
	depends on MIPS || COMPILE_TEST
	depends on MFD_SYSCON
P
Piotr Ziecik 已提交
250
	select DMA_ENGINE
V
Vinod Koul 已提交
251 252 253
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the IMG multi-threaded DMA controller (MDC).
254

V
Vinod Koul 已提交
255 256
config IMX_DMA
	tristate "i.MX DMA support"
257
	depends on ARCH_MXC
258
	select DMA_ENGINE
259
	help
V
Vinod Koul 已提交
260 261
	  Support the i.MX DMA engine. This engine is integrated into
	  Freescale i.MX1/21/27 chips.
262

V
Vinod Koul 已提交
263 264
config IMX_SDMA
	tristate "i.MX SDMA support"
265
	depends on ARCH_MXC
266
	select DMA_ENGINE
267
	select DMA_VIRTUAL_CHANNELS
268
	help
V
Vinod Koul 已提交
269 270
	  Support the i.MX SDMA engine. This engine is integrated into
	  Freescale i.MX25/31/35/51/53/6 chips.
271

272
config INTEL_IDMA64
273 274 275
	tristate "Intel integrated DMA 64-bit support"
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
276
	help
277 278
	  Enable DMA support for Intel Low Power Subsystem such as found on
	  Intel Skylake PCH.
279

280 281 282
config INTEL_IDXD
	tristate "Intel Data Accelerators support"
	depends on PCI && X86_64
283
	depends on PCI_MSI
284
	depends on SBITMAP
285 286 287 288 289 290 291 292 293
	select DMA_ENGINE
	help
	  Enable support for the Intel(R) data accelerators present
	  in Intel Xeon CPU.

	  Say Y if you have such a platform.

	  If unsure, say N.

294 295 296 297 298 299 300 301 302 303
# Config symbol that collects all the dependencies that's necessary to
# support shared virtual memory for the devices supported by idxd.
config INTEL_IDXD_SVM
	bool "Accelerator Shared Virtual Memory Support"
	depends on INTEL_IDXD
	depends on INTEL_IOMMU_SVM
	depends on PCI_PRI
	depends on PCI_PASID
	depends on PCI_IOV

304 305 306 307 308 309 310 311 312 313 314 315
config INTEL_IDXD_PERFMON
	bool "Intel Data Accelerators performance monitor support"
	depends on INTEL_IDXD
	help
	  Enable performance monitor (pmu) support for the Intel(R)
	  data accelerators present in Intel Xeon CPU.  With this
	  enabled, perf can be used to monitor the DSA (Intel Data
	  Streaming Accelerator) events described in the Intel DSA
	  spec.

	  If unsure, say N.

V
Vinod Koul 已提交
316 317 318
config INTEL_IOATDMA
	tristate "Intel I/OAT DMA support"
	depends on PCI && X86_64
319
	select DMA_ENGINE
V
Vinod Koul 已提交
320 321
	select DMA_ENGINE_RAID
	select DCA
322
	help
V
Vinod Koul 已提交
323 324
	  Enable support for the Intel(R) I/OAT DMA engine present
	  in recent Intel Xeon chipsets.
325

V
Vinod Koul 已提交
326 327 328 329 330
	  Say Y here if you have such a chipset.

	  If unsure, say N.

config INTEL_IOP_ADMA
331
	tristate "Intel IOP32x ADMA support"
332
	depends on ARCH_IOP32X || COMPILE_TEST
333
	select DMA_ENGINE
V
Vinod Koul 已提交
334
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
335
	help
V
Vinod Koul 已提交
336
	  Enable support for the Intel(R) IOP Series RAID engines.
337

V
Vinod Koul 已提交
338 339
config K3_DMA
	tristate "Hisilicon K3 DMA support"
340
	depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
341 342 343
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
V
Vinod Koul 已提交
344 345
	  Support the DMA engine for Hisilicon K3 platform
	  devices.
346

V
Vinod Koul 已提交
347 348 349 350 351 352 353 354
config LPC18XX_DMAMUX
	bool "NXP LPC18xx/43xx DMA MUX for PL080"
	depends on ARCH_LPC18XX || COMPILE_TEST
	depends on OF && AMBA_PL08X
	select MFD_SYSCON
	help
	  Enable support for DMA on NXP LPC18xx/43xx platforms
	  with PL080 and multiplexed DMA request lines.
355

356 357 358 359 360 361 362 363 364 365 366
config MCF_EDMA
	tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
	depends on M5441x || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support the Freescale ColdFire eDMA engine, 64-channel
	  implementation that performs complex data transfers with
	  minimal intervention from a host processor.
	  This module can be found on Freescale ColdFire mcf5441x SoCs.

367 368 369 370 371 372 373 374 375 376
config MILBEAUT_HDMAC
	tristate "Milbeaut AHB DMA support"
	depends on ARCH_MILBEAUT || COMPILE_TEST
	depends on OF
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Say yes here to support the Socionext Milbeaut
	  HDMAC device.

377 378 379 380 381 382 383 384 385 386
config MILBEAUT_XDMAC
	tristate "Milbeaut AXI DMA support"
	depends on ARCH_MILBEAUT || COMPILE_TEST
	depends on OF
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Say yes here to support the Socionext Milbeaut
	  XDMAC device.

V
Vinod Koul 已提交
387
config MMP_PDMA
388
	tristate "MMP PDMA support"
389
	depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
390 391
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
392
	  Support the MMP PDMA engine for PXA and MMP platform.
393

V
Vinod Koul 已提交
394
config MMP_TDMA
395
	tristate "MMP Two-Channel DMA support"
396
	depends on ARCH_MMP || COMPILE_TEST
397
	select DMA_ENGINE
398
	select GENERIC_ALLOCATOR
399
	help
V
Vinod Koul 已提交
400 401
	  Support the MMP Two-Channel DMA engine.
	  This engine used for MMP Audio DMA and pxa910 SQU.
402

V
Vinod Koul 已提交
403 404 405
config MOXART_DMA
	tristate "MOXART DMA support"
	depends on ARCH_MOXART
406
	select DMA_ENGINE
V
Vinod Koul 已提交
407
	select DMA_VIRTUAL_CHANNELS
408
	help
V
Vinod Koul 已提交
409 410 411
	  Enable support for the MOXA ART SoC DMA controller.
 
	  Say Y here if you enabled MMP ADMA, otherwise say N.
412

V
Vinod Koul 已提交
413 414 415
config MPC512X_DMA
	tristate "Freescale MPC512x built-in DMA engine support"
	depends on PPC_MPC512x || PPC_MPC831x
R
Richard Röjfors 已提交
416
	select DMA_ENGINE
417
	help
V
Vinod Koul 已提交
418
	  Enable support for the Freescale MPC512x built-in DMA engine.
R
Richard Röjfors 已提交
419

V
Vinod Koul 已提交
420 421
config MV_XOR
	bool "Marvell XOR engine support"
422
	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
423
	select DMA_ENGINE
V
Vinod Koul 已提交
424 425
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
426
	help
V
Vinod Koul 已提交
427
	  Enable support for the Marvell XOR engine.
428

429 430 431 432 433 434 435
config MV_XOR_V2
	bool "Marvell XOR engine version 2 support "
	depends on ARM64
	select DMA_ENGINE
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
	select GENERIC_MSI_IRQ_DOMAIN
436
	help
437 438 439 440 441 442
	  Enable support for the Marvell version 2 XOR engine.

	  This engine provides acceleration for copy, XOR and RAID6
	  operations, and is available on Marvell Armada 7K and 8K
	  platforms.

V
Vinod Koul 已提交
443 444
config MXS_DMA
	bool "MXS DMA support"
445
	depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
V
Vinod Koul 已提交
446
	select STMP_DEVICE
447 448
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
449
	  Support the MXS DMA engine. This engine including APBH-DMA
450
	  and APBX-DMA is integrated into some Freescale chips.
451

V
Vinod Koul 已提交
452 453 454
config MX3_IPU
	bool "MX3x Image Processing Unit support"
	depends on ARCH_MXC
455
	select DMA_ENGINE
V
Vinod Koul 已提交
456
	default y
457
	help
V
Vinod Koul 已提交
458 459
	  If you plan to use the Image Processing unit in the i.MX3x, say
	  Y here. If unsure, select Y.
460

V
Vinod Koul 已提交
461 462 463 464 465 466 467 468 469
config MX3_IPU_IRQS
	int "Number of dynamically mapped interrupts for IPU"
	depends on MX3_IPU
	range 2 137
	default 4
	help
	  Out of 137 interrupt sources on i.MX31 IPU only very few are used.
	  To avoid bloating the irq_desc[] array we allocate a sufficient
	  number of IRQ slots and map them dynamically to specific sources.
470

V
Vinod Koul 已提交
471 472
config NBPFAXI_DMA
	tristate "Renesas Type-AXI NBPF DMA support"
J
Jassi Brar 已提交
473
	select DMA_ENGINE
V
Vinod Koul 已提交
474
	depends on ARM || COMPILE_TEST
J
Jassi Brar 已提交
475
	help
V
Vinod Koul 已提交
476
	  Support for "Type-AXI" NBPF DMA IPs from Renesas
J
Jassi Brar 已提交
477

478 479 480 481 482 483 484 485
config OWL_DMA
	tristate "Actions Semi Owl SoCs DMA support"
	depends on ARCH_ACTIONS
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the Actions Semi Owl SoCs DMA controller.

486
config PCH_DMA
487
	tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
488
	depends on PCI && (X86_32 || COMPILE_TEST)
489 490
	select DMA_ENGINE
	help
491 492
	  Enable support for Intel EG20T PCH DMA engine.

493
	  This driver also can be used for LAPIS Semiconductor IOH(Input/
494 495 496 497 498
	  Output Hub), ML7213, ML7223 and ML7831.
	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
499

V
Vinod Koul 已提交
500 501
config PL330_DMA
	tristate "DMA API Driver for PL330"
502
	select DMA_ENGINE
V
Vinod Koul 已提交
503
	depends on ARM_AMBA
504
	help
V
Vinod Koul 已提交
505 506 507
	  Select if your platform has one or more PL330 DMACs.
	  You need to provide platform specific settings via
	  platform_data for a dma-pl330 device.
508

V
Vinod Koul 已提交
509 510 511
config PXA_DMA
	bool "PXA DMA support"
	depends on (ARCH_MMP || ARCH_PXA)
512
	select DMA_ENGINE
V
Vinod Koul 已提交
513
	select DMA_VIRTUAL_CHANNELS
514
	help
V
Vinod Koul 已提交
515 516 517 518
	  Support the DMA engine for PXA. It is also compatible with MMP PDMA
	  platform. The internal DMA IP of all PXA variants is supported, with
	  16 to 32 channels for peripheral to memory or memory to memory
	  transfers.
519

520 521 522 523 524 525 526 527 528
config PLX_DMA
	tristate "PLX ExpressLane PEX Switch DMA Engine Support"
	depends on PCI
	select DMA_ENGINE
	help
	  Some PLX ExpressLane PCI Switches support additional DMA engines.
	  These are exposed via extra functions on the switch's
	  upstream port. Each function exposes one DMA channel.

V
Vinod Koul 已提交
529 530 531
config STE_DMA40
	bool "ST-Ericsson DMA40 support"
	depends on ARCH_U8500
532 533
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
534
	  Support for ST-Ericsson DMA40 controller
535

536 537 538
config ST_FDMA
	tristate "ST FDMA dmaengine support"
	depends on ARCH_STI
539
	depends on REMOTEPROC
540 541 542 543 544 545 546 547 548 549
	select ST_SLIM_REMOTEPROC
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for ST FDMA controller.
	  It supports 16 independent DMA channels, accepts up to 32 DMA requests

	  Say Y here if you have such a chipset.
	  If unsure, say N.

550 551
config STM32_DMA
	bool "STMicroelectronics STM32 DMA support"
552
	depends on ARCH_STM32 || COMPILE_TEST
553 554 555 556 557
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the on-chip DMA controller on STMicroelectronics
	  STM32 MCUs.
558
	  If you have a board based on such a MCU and wish to use DMA say Y
559 560
	  here.

561 562 563 564 565 566 567 568 569
config STM32_DMAMUX
	bool "STMicroelectronics STM32 dma multiplexer support"
	depends on STM32_DMA || COMPILE_TEST
	help
	  Enable support for the on-chip DMA multiplexer on STMicroelectronics
	  STM32 MCUs.
	  If you have a board based on such a MCU and wish to use DMAMUX say Y
	  here.

570 571 572
config STM32_MDMA
	bool "STMicroelectronics STM32 master dma support"
	depends on ARCH_STM32 || COMPILE_TEST
573
	depends on OF
574 575 576 577 578 579 580 581
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the on-chip MDMA controller on STMicroelectronics
	  STM32 platforms.
	  If you have a board based on STM32 SoC and wish to use the master DMA
	  say Y here.

582 583 584 585 586 587 588 589
config SPRD_DMA
	tristate "Spreadtrum DMA support"
	depends on ARCH_SPRD || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the on-chip DMA controller on Spreadtrum platform.

V
Vinod Koul 已提交
590
config S3C24XX_DMAC
591
	bool "Samsung S3C24XX DMA support"
592
	depends on ARCH_S3C24XX || COMPILE_TEST
593
	select DMA_ENGINE
594
	select DMA_VIRTUAL_CHANNELS
595
	help
V
Vinod Koul 已提交
596 597 598 599 600
	  Support for the Samsung S3C24XX DMA controller driver. The
	  DMA controller is having multiple DMA channels which can be
	  configured for different peripherals like audio, UART, SPI.
	  The DMA controller can transfer data from memory to peripheral,
	  periphal to memory, periphal to periphal and memory to memory.
601

V
Vinod Koul 已提交
602 603 604
config TXX9_DMAC
	tristate "Toshiba TXx9 SoC DMA support"
	depends on MACH_TX49XX || MACH_TX39XX
605 606
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
607 608
	  Support the TXx9 SoC internal DMA controller.  This can be
	  integrated in chips such as the Toshiba TX4927/38/39.
609

V
Vinod Koul 已提交
610
config TEGRA20_APB_DMA
611
	tristate "NVIDIA Tegra20 APB DMA support"
612
	depends on ARCH_TEGRA || COMPILE_TEST
613
	select DMA_ENGINE
V
Vinod Koul 已提交
614 615 616 617 618 619 620
	help
	  Support for the NVIDIA Tegra20 APB DMA controller driver. The
	  DMA controller is having multiple DMA channel which can be
	  configured for different peripherals like audio, UART, SPI,
	  I2C etc which is in APB bus.
	  This DMA controller transfers data from memory to peripheral fifo
	  or vice versa. It does not support memory to memory data transfer.
621

622
config TEGRA210_ADMA
623
	tristate "NVIDIA Tegra210 ADMA support"
624
	depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
625 626 627 628 629 630 631 632 633 634
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support for the NVIDIA Tegra210 ADMA controller driver. The
	  DMA controller has multiple DMA channels and is used to service
	  various audio clients in the Tegra210 audio processing engine
	  (APE). This DMA controller transfers data from memory to
	  peripheral and vice versa. It does not support memory to
	  memory data transfer.

V
Vinod Koul 已提交
635 636
config TIMB_DMA
	tristate "Timberdale FPGA DMA support"
637
	depends on MFD_TIMBERDALE || COMPILE_TEST
638
	select DMA_ENGINE
V
Vinod Koul 已提交
639 640
	help
	  Enable support for the Timberdale FPGA DMA engine.
641

642 643 644 645 646 647 648 649 650 651 652
config UNIPHIER_MDMAC
	tristate "UniPhier MIO DMAC"
	depends on ARCH_UNIPHIER || COMPILE_TEST
	depends on OF
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the MIO DMAC (Media I/O DMA controller) on the
	  UniPhier platform.  This DMA controller is used as the external
	  DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs.

653 654 655 656 657 658 659 660 661 662 663
config UNIPHIER_XDMAC
	tristate "UniPhier XDMAC support"
	depends on ARCH_UNIPHIER || COMPILE_TEST
	depends on OF
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the XDMAC (external DMA controller) on the
	  UniPhier platform. This DMA controller can transfer data from
	  memory to memory, memory to peripheral and peripheral to memory.

V
Vinod Koul 已提交
664 665 666
config XGENE_DMA
	tristate "APM X-Gene DMA support"
	depends on ARCH_XGENE || COMPILE_TEST
667
	select DMA_ENGINE
V
Vinod Koul 已提交
668 669
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
670
	help
V
Vinod Koul 已提交
671
	  Enable support for the APM X-Gene SoC DMA engine.
672

673 674
config XILINX_DMA
	tristate "Xilinx AXI DMAS Engine"
675
	depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
676 677 678 679
	select DMA_ENGINE
	help
	  Enable support for Xilinx AXI VDMA Soft IP.

680
	  AXI VDMA engine provides high-bandwidth direct memory access
681 682 683 684 685
	  between memory and AXI4-Stream video type target
	  peripherals including peripherals which support AXI4-
	  Stream Video Protocol.  It has two stream interfaces/
	  channels, Memory Mapped to Stream (MM2S) and Stream to
	  Memory Mapped (S2MM) for the data transfers.
686 687 688 689 690
	  AXI CDMA engine provides high-bandwidth direct memory access
	  between a memory-mapped source address and a memory-mapped
	  destination address.
	  AXI DMA engine provides high-bandwidth one dimensional direct
	  memory access between memory and AXI4-Stream target peripherals.
691 692 693 694
	  AXI MCDMA engine provides high-bandwidth direct memory access
	  between memory and AXI4-Stream target peripherals. It provides
	  the scatter gather interface with multiple channels independent
	  configuration support.
695

696 697 698 699 700 701
config XILINX_ZYNQMP_DMA
	tristate "Xilinx ZynqMP DMA Engine"
	depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
	select DMA_ENGINE
	help
	  Enable support for Xilinx ZynqMP DMA controller.
702

703 704
config XILINX_ZYNQMP_DPDMA
	tristate "Xilinx DPDMA Engine"
705
	depends on HAS_IOMEM && OF
706 707 708 709 710 711 712 713
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option
	  if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The
	  driver provides the dmaengine required by the DisplayPort subsystem
	  display driver.

V
Vinod Koul 已提交
714 715
# driver files
source "drivers/dma/bestcomm/Kconfig"
C
Chris Leech 已提交
716

717 718
source "drivers/dma/mediatek/Kconfig"

719 720
source "drivers/dma/qcom/Kconfig"

V
Vinod Koul 已提交
721
source "drivers/dma/dw/Kconfig"
722

723 724
source "drivers/dma/dw-edma/Kconfig"

V
Vinod Koul 已提交
725
source "drivers/dma/hsu/Kconfig"
726

727 728
source "drivers/dma/sf-pdma/Kconfig"

V
Vinod Koul 已提交
729
source "drivers/dma/sh/Kconfig"
730

731 732
source "drivers/dma/ti/Kconfig"

733 734
source "drivers/dma/fsl-dpaa2-qdma/Kconfig"

735 736
source "drivers/dma/lgm/Kconfig"

V
Vinod Koul 已提交
737
# clients
738
comment "DMA Clients"
S
Shannon Nelson 已提交
739
	depends on DMA_ENGINE
740

741 742
config ASYNC_TX_DMA
	bool "Async_tx: Offload support for the async_tx api"
743
	depends on DMA_ENGINE
744 745 746 747 748 749 750 751
	help
	  This allows the async_tx api to take advantage of offload engines for
	  memcpy, memset, xor, and raid6 p+q operations.  If your platform has
	  a dma engine that can perform raid operations and you have enabled
	  MD_RAID456 say Y.

	  If unsure, say N.

752 753 754
config DMATEST
	tristate "DMA Test client"
	depends on DMA_ENGINE
755
	select DMA_ENGINE_RAID
756 757 758 759
	help
	  Simple DMA test client. Say N unless you're debugging a
	  DMA Device driver.

760 761 762
config DMA_ENGINE_RAID
	bool

S
Shannon Nelson 已提交
763
endif