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