Kconfig 16.8 KB
Newer Older
C
Chris Leech 已提交
1 2 3 4
#
# DMA engine configuration
#

S
Shannon Nelson 已提交
5
menuconfig DMADEVICES
6
	bool "DMA Engine support"
7
	depends on HAS_DMA
S
Shannon Nelson 已提交
8
	help
9 10 11
	  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
12 13 14
	  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 已提交
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
config DMADEVICES_DEBUG
        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.

config DMADEVICES_VDEBUG
        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.


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

comment "DMA Devices"

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

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

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

V
Vinod Koul 已提交
46 47 48 49 50 51 52 53 54 55 56 57 58
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
59 60
config AMBA_PL08X
	bool "ARM PrimeCell PL080 or PL081 support"
61
	depends on ARM_AMBA
62
	select DMA_ENGINE
63
	select DMA_VIRTUAL_CHANNELS
64 65 66 67
	help
	  Platform has a PL08x DMAC device
	  which can provide DMA engine support

V
Vinod Koul 已提交
68 69 70
config AMCC_PPC440SPE_ADMA
	tristate "AMCC PPC440SPe ADMA support"
	depends on 440SPe || 440SP
S
Shannon Nelson 已提交
71
	select DMA_ENGINE
72
	select DMA_ENGINE_RAID
V
Vinod Koul 已提交
73
	select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
74
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
S
Shannon Nelson 已提交
75
	help
V
Vinod Koul 已提交
76
	  Enable support for the AMCC PPC440SPe RAID engines.
S
Shannon Nelson 已提交
77

78 79
config AT_HDMAC
	tristate "Atmel AHB DMA support"
80
	depends on ARCH_AT91
81 82
	select DMA_ENGINE
	help
83
	  Support the Atmel AHB DMA controller.
S
Shannon Nelson 已提交
84

85 86
config AT_XDMAC
	tristate "Atmel XDMA support"
87
	depends on ARCH_AT91
88 89 90
	select DMA_ENGINE
	help
	  Support the Atmel XDMA controller.
S
Shannon Nelson 已提交
91

V
Vinod Koul 已提交
92 93 94
config AXI_DMAC
	tristate "Analog Devices AXI-DMAC DMA support"
	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_SOCFPGA || COMPILE_TEST
S
Shannon Nelson 已提交
95
	select DMA_ENGINE
V
Vinod Koul 已提交
96
	select DMA_VIRTUAL_CHANNELS
S
Shannon Nelson 已提交
97
	help
V
Vinod Koul 已提交
98 99 100
	  Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
	  controller is often used in Analog Device's reference designs for FPGA
	  platforms.
C
Chris Leech 已提交
101

V
Vinod Koul 已提交
102 103 104
config COH901318
	bool "ST-Ericsson COH901318 DMA support"
	select DMA_ENGINE
105
	depends on ARCH_U300 || COMPILE_TEST
V
Vinod Koul 已提交
106 107 108 109 110 111 112 113 114 115 116
	help
	  Enable support for ST-Ericsson COH 901 318 DMA.

config DMA_BCM2835
	tristate "BCM2835 DMA engine support"
	depends on ARCH_BCM2835
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS

config DMA_JZ4740
	tristate "JZ4740 DMA support"
117
	depends on MACH_JZ4740 || COMPILE_TEST
V
Vinod Koul 已提交
118 119 120 121 122
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS

config DMA_JZ4780
	tristate "JZ4780 DMA support"
123
	depends on MACH_JZ4780 || COMPILE_TEST
124 125 126
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
V
Vinod Koul 已提交
127 128 129
	  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.
130

V
Vinod Koul 已提交
131 132
config DMA_OMAP
	tristate "OMAP DMA support"
133
	depends on ARCH_OMAP || COMPILE_TEST
V
Vinod Koul 已提交
134 135
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
136
	select TI_DMA_CROSSBAR if (SOC_DRA7XX || COMPILE_TEST)
137

V
Vinod Koul 已提交
138 139
config DMA_SA11X0
	tristate "SA-11x0 DMA support"
140
	depends on ARCH_SA1100 || COMPILE_TEST
141
	select DMA_ENGINE
V
Vinod Koul 已提交
142
	select DMA_VIRTUAL_CHANNELS
143
	help
V
Vinod Koul 已提交
144 145 146
	  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.
147

V
Vinod Koul 已提交
148 149
config DMA_SUN4I
	tristate "Allwinner A10 DMA SoCs support"
150
	depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
V
Vinod Koul 已提交
151
	default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
152
	select DMA_ENGINE
V
Vinod Koul 已提交
153
	select DMA_VIRTUAL_CHANNELS
154
	help
V
Vinod Koul 已提交
155 156 157 158 159 160 161 162 163 164 165 166 167 168
	  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"
	depends on MACH_SUN6I || MACH_SUN8I || COMPILE_TEST
	depends on RESET_CONTROLLER
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support for the DMA engine first found in Allwinner A31 SoCs.

config EP93XX_DMA
	bool "Cirrus Logic EP93xx DMA support"
169
	depends on ARCH_EP93XX || COMPILE_TEST
V
Vinod Koul 已提交
170 171 172
	select DMA_ENGINE
	help
	  Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
173

174
config FSL_DMA
175
	tristate "Freescale Elo series DMA support"
176
	depends on FSL_SOC
177
	select DMA_ENGINE
178
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
179
	---help---
180 181 182 183
	  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.
184

V
Vinod Koul 已提交
185 186 187 188 189 190 191 192 193 194
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.

195 196 197 198 199 200 201 202 203 204 205
config FSL_RAID
        tristate "Freescale RAID engine Support"
        depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
        select DMA_ENGINE
        select DMA_ENGINE_RAID
        ---help---
          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
	  for raid5/6.

V
Vinod Koul 已提交
206 207 208 209
config IMG_MDC_DMA
	tristate "IMG MDC support"
	depends on MIPS || COMPILE_TEST
	depends on MFD_SYSCON
P
Piotr Ziecik 已提交
210
	select DMA_ENGINE
V
Vinod Koul 已提交
211 212 213
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the IMG multi-threaded DMA controller (MDC).
214

V
Vinod Koul 已提交
215 216
config IMX_DMA
	tristate "i.MX DMA support"
217
	depends on ARCH_MXC
218
	select DMA_ENGINE
219
	help
V
Vinod Koul 已提交
220 221
	  Support the i.MX DMA engine. This engine is integrated into
	  Freescale i.MX1/21/27 chips.
222

V
Vinod Koul 已提交
223 224
config IMX_SDMA
	tristate "i.MX SDMA support"
225
	depends on ARCH_MXC
226 227
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
228 229
	  Support the i.MX SDMA engine. This engine is integrated into
	  Freescale i.MX25/31/35/51/53/6 chips.
230

231
config INTEL_IDMA64
232 233 234
	tristate "Intel integrated DMA 64-bit support"
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
235
	help
236 237
	  Enable DMA support for Intel Low Power Subsystem such as found on
	  Intel Skylake PCH.
238

V
Vinod Koul 已提交
239 240 241
config INTEL_IOATDMA
	tristate "Intel I/OAT DMA support"
	depends on PCI && X86_64
242
	select DMA_ENGINE
V
Vinod Koul 已提交
243 244
	select DMA_ENGINE_RAID
	select DCA
245
	help
V
Vinod Koul 已提交
246 247
	  Enable support for the Intel(R) I/OAT DMA engine present
	  in recent Intel Xeon chipsets.
248

V
Vinod Koul 已提交
249 250 251 252 253 254 255
	  Say Y here if you have such a chipset.

	  If unsure, say N.

config INTEL_IOP_ADMA
	tristate "Intel IOP ADMA support"
	depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
256
	select DMA_ENGINE
V
Vinod Koul 已提交
257
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
258
	help
V
Vinod Koul 已提交
259
	  Enable support for the Intel(R) IOP Series RAID engines.
260

V
Vinod Koul 已提交
261 262 263
config INTEL_MIC_X100_DMA
	tristate "Intel MIC X100 DMA Driver"
	depends on 64BIT && X86 && INTEL_MIC_BUS
264 265
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
266 267 268 269
	  This enables DMA support for the Intel Many Integrated Core
	  (MIC) family of PCIe form factor coprocessor X100 devices that
	  run a 64 bit Linux OS. This driver will be used by both MIC
	  host and card drivers.
270

V
Vinod Koul 已提交
271 272 273 274 275 276 277 278 279 280
	  If you are building host kernel with a MIC device or a card
	  kernel for a MIC device, then say M (recommended) or Y, else
	  say N. If unsure say N.

	  More information about the Intel MIC family as well as the Linux
	  OS and tools for MIC to use with this driver are available from
	  <http://software.intel.com/en-us/mic-developer>.

config K3_DMA
	tristate "Hisilicon K3 DMA support"
281
	depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
282 283 284
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
V
Vinod Koul 已提交
285 286
	  Support the DMA engine for Hisilicon K3 platform
	  devices.
287

V
Vinod Koul 已提交
288 289 290 291 292 293 294 295
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.
296

V
Vinod Koul 已提交
297 298
config MMP_PDMA
	bool "MMP PDMA support"
299
	depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
300 301
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
302
	  Support the MMP PDMA engine for PXA and MMP platform.
303

V
Vinod Koul 已提交
304 305
config MMP_TDMA
	bool "MMP Two-Channel DMA support"
306
	depends on ARCH_MMP || COMPILE_TEST
307
	select DMA_ENGINE
308
	select MMP_SRAM if ARCH_MMP
309
	help
V
Vinod Koul 已提交
310 311 312
	  Support the MMP Two-Channel DMA engine.
	  This engine used for MMP Audio DMA and pxa910 SQU.
	  It needs sram driver under mach-mmp.
313

V
Vinod Koul 已提交
314 315 316
config MOXART_DMA
	tristate "MOXART DMA support"
	depends on ARCH_MOXART
317
	select DMA_ENGINE
V
Vinod Koul 已提交
318
	select DMA_VIRTUAL_CHANNELS
319
	help
V
Vinod Koul 已提交
320 321 322
	  Enable support for the MOXA ART SoC DMA controller.
 
	  Say Y here if you enabled MMP ADMA, otherwise say N.
323

V
Vinod Koul 已提交
324 325 326
config MPC512X_DMA
	tristate "Freescale MPC512x built-in DMA engine support"
	depends on PPC_MPC512x || PPC_MPC831x
R
Richard Röjfors 已提交
327
	select DMA_ENGINE
V
Vinod Koul 已提交
328 329
	---help---
	  Enable support for the Freescale MPC512x built-in DMA engine.
R
Richard Röjfors 已提交
330

V
Vinod Koul 已提交
331 332
config MV_XOR
	bool "Marvell XOR engine support"
333
	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
334
	select DMA_ENGINE
V
Vinod Koul 已提交
335 336 337 338
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
	---help---
	  Enable support for the Marvell XOR engine.
339

340 341 342 343 344 345 346 347 348 349 350 351 352 353
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
	---help---
	  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 已提交
354 355
config MXS_DMA
	bool "MXS DMA support"
356
	depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q || SOC_IMX6UL
V
Vinod Koul 已提交
357
	select STMP_DEVICE
358 359
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
360
	  Support the MXS DMA engine. This engine including APBH-DMA
361 362
	  and APBX-DMA is integrated into Freescale
	  i.MX23/28/MX6Q/MX6DL/MX6UL chips.
363

V
Vinod Koul 已提交
364 365 366
config MX3_IPU
	bool "MX3x Image Processing Unit support"
	depends on ARCH_MXC
367
	select DMA_ENGINE
V
Vinod Koul 已提交
368
	default y
369
	help
V
Vinod Koul 已提交
370 371
	  If you plan to use the Image Processing unit in the i.MX3x, say
	  Y here. If unsure, select Y.
372

V
Vinod Koul 已提交
373 374 375 376 377 378 379 380 381
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.
382

V
Vinod Koul 已提交
383 384
config NBPFAXI_DMA
	tristate "Renesas Type-AXI NBPF DMA support"
J
Jassi Brar 已提交
385
	select DMA_ENGINE
V
Vinod Koul 已提交
386
	depends on ARM || COMPILE_TEST
J
Jassi Brar 已提交
387
	help
V
Vinod Koul 已提交
388
	  Support for "Type-AXI" NBPF DMA IPs from Renesas
J
Jassi Brar 已提交
389

390
config PCH_DMA
391
	tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
392
	depends on PCI && (X86_32 || COMPILE_TEST)
393 394
	select DMA_ENGINE
	help
395 396
	  Enable support for Intel EG20T PCH DMA engine.

397
	  This driver also can be used for LAPIS Semiconductor IOH(Input/
398 399 400 401 402
	  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.
403

V
Vinod Koul 已提交
404 405
config PL330_DMA
	tristate "DMA API Driver for PL330"
406
	select DMA_ENGINE
V
Vinod Koul 已提交
407
	depends on ARM_AMBA
408
	help
V
Vinod Koul 已提交
409 410 411
	  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.
412

V
Vinod Koul 已提交
413 414 415
config PXA_DMA
	bool "PXA DMA support"
	depends on (ARCH_MMP || ARCH_PXA)
416
	select DMA_ENGINE
V
Vinod Koul 已提交
417
	select DMA_VIRTUAL_CHANNELS
418
	help
V
Vinod Koul 已提交
419 420 421 422
	  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.
423

V
Vinod Koul 已提交
424 425 426
config SIRF_DMA
	tristate "CSR SiRFprimaII/SiRFmarco DMA support"
	depends on ARCH_SIRF
427 428
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
429
	  Enable support for the CSR SiRFprimaII DMA engine.
430

V
Vinod Koul 已提交
431 432 433
config STE_DMA40
	bool "ST-Ericsson DMA40 support"
	depends on ARCH_U8500
434 435
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
436
	  Support for ST-Ericsson DMA40 controller
437

438 439
config STM32_DMA
	bool "STMicroelectronics STM32 DMA support"
440
	depends on ARCH_STM32 || COMPILE_TEST
441 442 443 444 445 446 447 448
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for the on-chip DMA controller on STMicroelectronics
	  STM32 MCUs.
	  If you have a board based on such a MCU and wish to use DMA say Y or M
	  here.

V
Vinod Koul 已提交
449
config S3C24XX_DMAC
450
	bool "Samsung S3C24XX DMA support"
451
	depends on ARCH_S3C24XX || COMPILE_TEST
452
	select DMA_ENGINE
453
	select DMA_VIRTUAL_CHANNELS
454
	help
V
Vinod Koul 已提交
455 456 457 458 459
	  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.
460

V
Vinod Koul 已提交
461 462 463
config TXX9_DMAC
	tristate "Toshiba TXx9 SoC DMA support"
	depends on MACH_TX49XX || MACH_TX39XX
464 465
	select DMA_ENGINE
	help
V
Vinod Koul 已提交
466 467
	  Support the TXx9 SoC internal DMA controller.  This can be
	  integrated in chips such as the Toshiba TX4927/38/39.
468

V
Vinod Koul 已提交
469 470 471
config TEGRA20_APB_DMA
	bool "NVIDIA Tegra20 APB DMA support"
	depends on ARCH_TEGRA
472
	select DMA_ENGINE
V
Vinod Koul 已提交
473 474 475 476 477 478 479
	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.
480

481
config TEGRA210_ADMA
482
	tristate "NVIDIA Tegra210 ADMA support"
483
	depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST) && PM_CLK
484 485 486 487 488 489 490 491 492 493
	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 已提交
494 495
config TIMB_DMA
	tristate "Timberdale FPGA DMA support"
496
	depends on MFD_TIMBERDALE || COMPILE_TEST
497
	select DMA_ENGINE
V
Vinod Koul 已提交
498 499
	help
	  Enable support for the Timberdale FPGA DMA engine.
500

501 502 503 504 505 506 507 508
config TI_CPPI41
	tristate "AM33xx CPPI41 DMA support"
	depends on ARCH_OMAP
	select DMA_ENGINE
	help
	  The Communications Port Programming Interface (CPPI) 4.1 DMA engine
	  is currently used by the USB driver on AM335x platforms.

V
Vinod Koul 已提交
509 510
config TI_DMA_CROSSBAR
	bool
511

V
Vinod Koul 已提交
512 513
config TI_EDMA
	bool "TI EDMA support"
514
	depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE || COMPILE_TEST
515 516
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
517
	select TI_DMA_CROSSBAR if (ARCH_OMAP || COMPILE_TEST)
V
Vinod Koul 已提交
518
	default n
519
	help
V
Vinod Koul 已提交
520 521
	  Enable support for the TI EDMA controller. This DMA
	  engine is found on TI DaVinci and AM33xx parts.
522

V
Vinod Koul 已提交
523 524 525
config XGENE_DMA
	tristate "APM X-Gene DMA support"
	depends on ARCH_XGENE || COMPILE_TEST
526
	select DMA_ENGINE
V
Vinod Koul 已提交
527 528
	select DMA_ENGINE_RAID
	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
529
	help
V
Vinod Koul 已提交
530
	  Enable support for the APM X-Gene SoC DMA engine.
531

532 533
config XILINX_DMA
	tristate "Xilinx AXI DMAS Engine"
534
	depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
535 536 537 538
	select DMA_ENGINE
	help
	  Enable support for Xilinx AXI VDMA Soft IP.

539
	  AXI VDMA engine provides high-bandwidth direct memory access
540 541 542 543 544
	  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.
545 546 547 548 549
	  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.
550

551 552 553 554 555 556
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.
557

558 559
config ZX_DMA
	tristate "ZTE ZX296702 DMA support"
560
	depends on ARCH_ZX || COMPILE_TEST
561 562 563
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
564
	  Support the DMA engine for ZTE ZX296702 platform devices.
565

566

V
Vinod Koul 已提交
567 568
# driver files
source "drivers/dma/bestcomm/Kconfig"
C
Chris Leech 已提交
569

570 571
source "drivers/dma/qcom/Kconfig"

V
Vinod Koul 已提交
572
source "drivers/dma/dw/Kconfig"
573

V
Vinod Koul 已提交
574
source "drivers/dma/hsu/Kconfig"
575

V
Vinod Koul 已提交
576
source "drivers/dma/sh/Kconfig"
577

V
Vinod Koul 已提交
578
# clients
579
comment "DMA Clients"
S
Shannon Nelson 已提交
580
	depends on DMA_ENGINE
581

582 583
config ASYNC_TX_DMA
	bool "Async_tx: Offload support for the async_tx api"
584
	depends on DMA_ENGINE
585 586 587 588 589 590 591 592
	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.

593 594 595 596 597 598 599
config DMATEST
	tristate "DMA Test client"
	depends on DMA_ENGINE
	help
	  Simple DMA test client. Say N unless you're debugging a
	  DMA Device driver.

600 601 602
config DMA_ENGINE_RAID
	bool

S
Shannon Nelson 已提交
603
endif