| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# DMA engine configuration |
| 4 |
# |
| 5 |
|
| 6 |
menuconfig 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 |
|
| 17 |
config 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 |
|
| 24 |
config 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 |
|
| 33 |
if DMADEVICES |
| 34 |
|
| 35 |
comment "DMA Devices" |
| 36 |
|
| 37 |
#core |
| 38 |
config ASYNC_TX_ENABLE_CHANNEL_SWITCH |
| 39 |
bool |
| 40 |
|
| 41 |
config ARCH_HAS_ASYNC_TX_FIND_CHANNEL |
| 42 |
bool |
| 43 |
|
| 44 |
config DMA_ENGINE |
| 45 |
bool |
| 46 |
|
| 47 |
config DMA_VIRTUAL_CHANNELS |
| 48 |
tristate |
| 49 |
|
| 50 |
config DMA_ACPI |
| 51 |
def_bool y |
| 52 |
depends on ACPI |
| 53 |
|
| 54 |
config DMA_OF |
| 55 |
def_bool y |
| 56 |
depends on OF |
| 57 |
select DMA_ENGINE |
| 58 |
|
| 59 |
#devices |
| 60 |
config 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 |
|
| 67 |
config 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 |
|
| 78 |
config 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 |
|
| 88 |
config 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 |
|
| 95 |
config 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 |
|
| 103 |
config 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 |
|
| 111 |
config 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 |
|
| 118 |
config 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 |
|
| 129 |
config 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 |
|
| 144 |
config 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 |
|
| 150 |
config 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 |
|
| 160 |
config 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 |
|
| 170 |
config 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 |
|
| 180 |
config 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 |
|
| 189 |
config 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 |
|
| 200 |
config 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 |
|
| 207 |
config 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 |
|
| 218 |
config 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 |
|
| 229 |
config 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 |
|
| 243 |
config 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 |
|
| 254 |
config 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 |
|
| 263 |
config 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 |
|
| 272 |
config 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 |
|
| 280 |
config 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 |
|
| 289 |
config 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 |
|
| 298 |
config INTEL_IDXD_BUS |
| 299 |
tristate |
| 300 |
default INTEL_IDXD |
| 301 |
|
| 302 |
config 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 |
|
| 317 |
config 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. |
| 336 |
config 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 |
|
| 344 |
config 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 |
|
| 356 |
config 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 |
|
| 370 |
config 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 |
|
| 379 |
config LOONGSON1_APB_DMA |
| 380 |
tristate "Loongson1 APB DMA support" |
| 381 |
depends on MACH_LOONGSON32 || COMPILE_TEST |
| 382 |
select DMA_ENGINE |
| 383 |
select DMA_VIRTUAL_CHANNELS |
| 384 |
help |
| 385 |
This selects support for the APB DMA controller in Loongson1 SoCs, |
| 386 |
which is required by Loongson1 NAND and audio support. |
| 387 |
|
| 388 |
config LOONGSON2_APB_DMA |
| 389 |
tristate "Loongson2 APB DMA support" |
| 390 |
depends on LOONGARCH || COMPILE_TEST |
| 391 |
select DMA_ENGINE |
| 392 |
select DMA_VIRTUAL_CHANNELS |
| 393 |
help |
| 394 |
Support for the Loongson2 APB DMA controller driver. The |
| 395 |
DMA controller is having single DMA channel which can be |
| 396 |
configured for different peripherals like audio, nand, sdio |
| 397 |
etc which is in APB bus. |
| 398 |
|
| 399 |
This DMA controller transfers data from memory to peripheral fifo. |
| 400 |
It does not support memory to memory data transfer. |
| 401 |
|
| 402 |
config LPC18XX_DMAMUX |
| 403 |
bool "NXP LPC18xx/43xx DMA MUX for PL080" |
| 404 |
depends on ARCH_LPC18XX || COMPILE_TEST |
| 405 |
depends on OF && AMBA_PL08X |
| 406 |
select MFD_SYSCON |
| 407 |
help |
| 408 |
Enable support for DMA on NXP LPC18xx/43xx platforms |
| 409 |
with PL080 and multiplexed DMA request lines. |
| 410 |
|
| 411 |
config LPC32XX_DMAMUX |
| 412 |
bool "NXP LPC32xx DMA MUX for PL080" |
| 413 |
depends on ARCH_LPC32XX || COMPILE_TEST |
| 414 |
depends on OF && AMBA_PL08X |
| 415 |
select MFD_SYSCON |
| 416 |
help |
| 417 |
Support for PL080 multiplexed DMA request lines on |
| 418 |
LPC32XX platrofm. |
| 419 |
|
| 420 |
config MCF_EDMA |
| 421 |
tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs" |
| 422 |
depends on M5441x || (COMPILE_TEST && FSL_EDMA=n) |
| 423 |
select DMA_ENGINE |
| 424 |
select DMA_VIRTUAL_CHANNELS |
| 425 |
help |
| 426 |
Support the Freescale ColdFire eDMA engine, 64-channel |
| 427 |
implementation that performs complex data transfers with |
| 428 |
minimal intervention from a host processor. |
| 429 |
This module can be found on Freescale ColdFire mcf5441x SoCs. |
| 430 |
|
| 431 |
config MILBEAUT_HDMAC |
| 432 |
tristate "Milbeaut AHB DMA support" |
| 433 |
depends on ARCH_MILBEAUT || COMPILE_TEST |
| 434 |
depends on OF |
| 435 |
select DMA_ENGINE |
| 436 |
select DMA_VIRTUAL_CHANNELS |
| 437 |
help |
| 438 |
Say yes here to support the Socionext Milbeaut |
| 439 |
HDMAC device. |
| 440 |
|
| 441 |
config MILBEAUT_XDMAC |
| 442 |
tristate "Milbeaut AXI DMA support" |
| 443 |
depends on ARCH_MILBEAUT || COMPILE_TEST |
| 444 |
depends on OF |
| 445 |
select DMA_ENGINE |
| 446 |
select DMA_VIRTUAL_CHANNELS |
| 447 |
help |
| 448 |
Say yes here to support the Socionext Milbeaut |
| 449 |
XDMAC device. |
| 450 |
|
| 451 |
config MMP_PDMA |
| 452 |
tristate "MMP PDMA support" |
| 453 |
depends on ARCH_MMP || ARCH_PXA || ARCH_SPACEMIT || COMPILE_TEST |
| 454 |
select DMA_ENGINE |
| 455 |
help |
| 456 |
Support the MMP PDMA engine for PXA and MMP platform. |
| 457 |
|
| 458 |
config MMP_TDMA |
| 459 |
tristate "MMP Two-Channel DMA support" |
| 460 |
depends on ARCH_MMP || COMPILE_TEST |
| 461 |
select DMA_ENGINE |
| 462 |
select GENERIC_ALLOCATOR |
| 463 |
help |
| 464 |
Support the MMP Two-Channel DMA engine. |
| 465 |
This engine used for MMP Audio DMA and pxa910 SQU. |
| 466 |
|
| 467 |
config MOXART_DMA |
| 468 |
tristate "MOXART DMA support" |
| 469 |
depends on ARCH_MOXART |
| 470 |
select DMA_ENGINE |
| 471 |
select DMA_VIRTUAL_CHANNELS |
| 472 |
help |
| 473 |
Enable support for the MOXA ART SoC DMA controller. |
| 474 |
|
| 475 |
Say Y here if you enabled MMP ADMA, otherwise say N. |
| 476 |
|
| 477 |
config MPC512X_DMA |
| 478 |
tristate "Freescale MPC512x built-in DMA engine support" |
| 479 |
depends on PPC_MPC512x || PPC_MPC831x |
| 480 |
select DMA_ENGINE |
| 481 |
help |
| 482 |
Enable support for the Freescale MPC512x built-in DMA engine. |
| 483 |
|
| 484 |
config MV_XOR |
| 485 |
bool "Marvell XOR engine support" |
| 486 |
depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST |
| 487 |
select DMA_ENGINE |
| 488 |
select DMA_ENGINE_RAID |
| 489 |
select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
| 490 |
help |
| 491 |
Enable support for the Marvell XOR engine. |
| 492 |
|
| 493 |
config MV_XOR_V2 |
| 494 |
bool "Marvell XOR engine version 2 support " |
| 495 |
depends on ARM64 |
| 496 |
select DMA_ENGINE |
| 497 |
select DMA_ENGINE_RAID |
| 498 |
select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
| 499 |
select GENERIC_MSI_IRQ |
| 500 |
help |
| 501 |
Enable support for the Marvell version 2 XOR engine. |
| 502 |
|
| 503 |
This engine provides acceleration for copy, XOR and RAID6 |
| 504 |
operations, and is available on Marvell Armada 7K and 8K |
| 505 |
platforms. |
| 506 |
|
| 507 |
config MXS_DMA |
| 508 |
bool "MXS DMA support" |
| 509 |
depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST |
| 510 |
select STMP_DEVICE |
| 511 |
select DMA_ENGINE |
| 512 |
help |
| 513 |
Support the MXS DMA engine. This engine including APBH-DMA |
| 514 |
and APBX-DMA is integrated into some Freescale chips. |
| 515 |
|
| 516 |
config NBPFAXI_DMA |
| 517 |
tristate "Renesas Type-AXI NBPF DMA support" |
| 518 |
select DMA_ENGINE |
| 519 |
depends on ARM || COMPILE_TEST |
| 520 |
help |
| 521 |
Support for "Type-AXI" NBPF DMA IPs from Renesas |
| 522 |
|
| 523 |
config OWL_DMA |
| 524 |
tristate "Actions Semi Owl SoCs DMA support" |
| 525 |
depends on ARCH_ACTIONS |
| 526 |
select DMA_ENGINE |
| 527 |
select DMA_VIRTUAL_CHANNELS |
| 528 |
help |
| 529 |
Enable support for the Actions Semi Owl SoCs DMA controller. |
| 530 |
|
| 531 |
config PCH_DMA |
| 532 |
tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA" |
| 533 |
depends on PCI && (X86_32 || COMPILE_TEST) |
| 534 |
select DMA_ENGINE |
| 535 |
help |
| 536 |
Enable support for Intel EG20T PCH DMA engine. |
| 537 |
|
| 538 |
This driver also can be used for LAPIS Semiconductor IOH(Input/ |
| 539 |
Output Hub), ML7213, ML7223 and ML7831. |
| 540 |
ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is |
| 541 |
for MP(Media Phone) use and ML7831 IOH is for general purpose use. |
| 542 |
ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series. |
| 543 |
ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH. |
| 544 |
|
| 545 |
config PL330_DMA |
| 546 |
tristate "DMA API Driver for PL330" |
| 547 |
select DMA_ENGINE |
| 548 |
depends on ARM_AMBA |
| 549 |
help |
| 550 |
Select if your platform has one or more PL330 DMACs. |
| 551 |
You need to provide platform specific settings via |
| 552 |
platform_data for a dma-pl330 device. |
| 553 |
|
| 554 |
config PXA_DMA |
| 555 |
bool "PXA DMA support" |
| 556 |
depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST |
| 557 |
select DMA_ENGINE |
| 558 |
select DMA_VIRTUAL_CHANNELS |
| 559 |
help |
| 560 |
Support the DMA engine for PXA. It is also compatible with MMP PDMA |
| 561 |
platform. The internal DMA IP of all PXA variants is supported, with |
| 562 |
16 to 32 channels for peripheral to memory or memory to memory |
| 563 |
transfers. |
| 564 |
|
| 565 |
config PLX_DMA |
| 566 |
tristate "PLX ExpressLane PEX Switch DMA Engine Support" |
| 567 |
depends on PCI |
| 568 |
select DMA_ENGINE |
| 569 |
help |
| 570 |
Some PLX ExpressLane PCI Switches support additional DMA engines. |
| 571 |
These are exposed via extra functions on the switch's |
| 572 |
upstream port. Each function exposes one DMA channel. |
| 573 |
|
| 574 |
config SOPHGO_CV1800B_DMAMUX |
| 575 |
tristate "Sophgo CV1800/SG2000 series SoC DMA multiplexer support" |
| 576 |
depends on MFD_SYSCON |
| 577 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 578 |
help |
| 579 |
Support for the DMA multiplexer on Sophgo CV1800/SG2000 |
| 580 |
series SoCs. |
| 581 |
Say Y here if your board have this soc. |
| 582 |
|
| 583 |
config STE_DMA40 |
| 584 |
bool "ST-Ericsson DMA40 support" |
| 585 |
depends on ARCH_U8500 |
| 586 |
select DMA_ENGINE |
| 587 |
select SRAM |
| 588 |
help |
| 589 |
Support for ST-Ericsson DMA40 controller |
| 590 |
|
| 591 |
config ST_FDMA |
| 592 |
tristate "ST FDMA dmaengine support" |
| 593 |
depends on ARCH_STI || COMPILE_TEST |
| 594 |
depends on REMOTEPROC |
| 595 |
select ST_SLIM_REMOTEPROC |
| 596 |
select DMA_ENGINE |
| 597 |
select DMA_VIRTUAL_CHANNELS |
| 598 |
help |
| 599 |
Enable support for ST FDMA controller. |
| 600 |
It supports 16 independent DMA channels, accepts up to 32 DMA requests |
| 601 |
|
| 602 |
Say Y here if you have such a chipset. |
| 603 |
If unsure, say N. |
| 604 |
|
| 605 |
config SPRD_DMA |
| 606 |
tristate "Spreadtrum DMA support" |
| 607 |
depends on ARCH_SPRD || COMPILE_TEST |
| 608 |
select DMA_ENGINE |
| 609 |
select DMA_VIRTUAL_CHANNELS |
| 610 |
help |
| 611 |
Enable support for the on-chip DMA controller on Spreadtrum platform. |
| 612 |
|
| 613 |
config TXX9_DMAC |
| 614 |
tristate "Toshiba TXx9 SoC DMA support" |
| 615 |
depends on MACH_TX49XX |
| 616 |
select DMA_ENGINE |
| 617 |
help |
| 618 |
Support the TXx9 SoC internal DMA controller. This can be |
| 619 |
integrated in chips such as the Toshiba TX4927/38/39. |
| 620 |
|
| 621 |
config TEGRA186_GPC_DMA |
| 622 |
tristate "NVIDIA Tegra GPC DMA support" |
| 623 |
depends on (ARCH_TEGRA || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT |
| 624 |
depends on IOMMU_API |
| 625 |
select DMA_ENGINE |
| 626 |
select DMA_VIRTUAL_CHANNELS |
| 627 |
help |
| 628 |
Support for the NVIDIA Tegra General Purpose Central DMA controller. |
| 629 |
The DMA controller has multiple DMA channels which can be configured |
| 630 |
for different peripherals like UART, SPI, etc which are on APB bus. |
| 631 |
This DMA controller transfers data from memory to peripheral FIFO |
| 632 |
or vice versa. It also supports memory to memory data transfer. |
| 633 |
|
| 634 |
config TEGRA20_APB_DMA |
| 635 |
tristate "NVIDIA Tegra20 APB DMA support" |
| 636 |
depends on ARCH_TEGRA || COMPILE_TEST |
| 637 |
select DMA_ENGINE |
| 638 |
help |
| 639 |
Support for the NVIDIA Tegra20 APB DMA controller driver. The |
| 640 |
DMA controller is having multiple DMA channel which can be |
| 641 |
configured for different peripherals like audio, UART, SPI, |
| 642 |
I2C etc which is in APB bus. |
| 643 |
This DMA controller transfers data from memory to peripheral fifo |
| 644 |
or vice versa. It does not support memory to memory data transfer. |
| 645 |
|
| 646 |
config TEGRA210_ADMA |
| 647 |
tristate "NVIDIA Tegra210 ADMA support" |
| 648 |
depends on (ARCH_TEGRA || COMPILE_TEST) |
| 649 |
select DMA_ENGINE |
| 650 |
select DMA_VIRTUAL_CHANNELS |
| 651 |
help |
| 652 |
Support for the NVIDIA Tegra210/Tegra186/Tegra194/Tegra234 ADMA |
| 653 |
controller driver. The DMA controller has multiple DMA channels |
| 654 |
and is used to service various audio clients in the Tegra210 |
| 655 |
audio processing engine (APE). This DMA controller transfers |
| 656 |
data from memory to peripheral and vice versa. It does not |
| 657 |
support memory to memory data transfer. |
| 658 |
|
| 659 |
config TIMB_DMA |
| 660 |
tristate "Timberdale FPGA DMA support" |
| 661 |
depends on MFD_TIMBERDALE || COMPILE_TEST |
| 662 |
select DMA_ENGINE |
| 663 |
help |
| 664 |
Enable support for the Timberdale FPGA DMA engine. |
| 665 |
|
| 666 |
config UNIPHIER_MDMAC |
| 667 |
tristate "UniPhier MIO DMAC" |
| 668 |
depends on ARCH_UNIPHIER || COMPILE_TEST |
| 669 |
depends on OF |
| 670 |
select DMA_ENGINE |
| 671 |
select DMA_VIRTUAL_CHANNELS |
| 672 |
help |
| 673 |
Enable support for the MIO DMAC (Media I/O DMA controller) on the |
| 674 |
UniPhier platform. This DMA controller is used as the external |
| 675 |
DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs. |
| 676 |
|
| 677 |
config UNIPHIER_XDMAC |
| 678 |
tristate "UniPhier XDMAC support" |
| 679 |
depends on ARCH_UNIPHIER || COMPILE_TEST |
| 680 |
depends on OF |
| 681 |
select DMA_ENGINE |
| 682 |
select DMA_VIRTUAL_CHANNELS |
| 683 |
help |
| 684 |
Enable support for the XDMAC (external DMA controller) on the |
| 685 |
UniPhier platform. This DMA controller can transfer data from |
| 686 |
memory to memory, memory to peripheral and peripheral to memory. |
| 687 |
|
| 688 |
config XGENE_DMA |
| 689 |
tristate "APM X-Gene DMA support" |
| 690 |
depends on ARCH_XGENE || COMPILE_TEST |
| 691 |
select DMA_ENGINE |
| 692 |
select DMA_ENGINE_RAID |
| 693 |
select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
| 694 |
help |
| 695 |
Enable support for the APM X-Gene SoC DMA engine. |
| 696 |
|
| 697 |
config XILINX_DMA |
| 698 |
tristate "Xilinx AXI DMAS Engine" |
| 699 |
depends on HAS_IOMEM |
| 700 |
select DMA_ENGINE |
| 701 |
help |
| 702 |
Enable support for Xilinx AXI VDMA Soft IP. |
| 703 |
|
| 704 |
AXI VDMA engine provides high-bandwidth direct memory access |
| 705 |
between memory and AXI4-Stream video type target |
| 706 |
peripherals including peripherals which support AXI4- |
| 707 |
Stream Video Protocol. It has two stream interfaces/ |
| 708 |
channels, Memory Mapped to Stream (MM2S) and Stream to |
| 709 |
Memory Mapped (S2MM) for the data transfers. |
| 710 |
AXI CDMA engine provides high-bandwidth direct memory access |
| 711 |
between a memory-mapped source address and a memory-mapped |
| 712 |
destination address. |
| 713 |
AXI DMA engine provides high-bandwidth one dimensional direct |
| 714 |
memory access between memory and AXI4-Stream target peripherals. |
| 715 |
AXI MCDMA engine provides high-bandwidth direct memory access |
| 716 |
between memory and AXI4-Stream target peripherals. It provides |
| 717 |
the scatter gather interface with multiple channels independent |
| 718 |
configuration support. |
| 719 |
|
| 720 |
config XILINX_XDMA |
| 721 |
tristate "Xilinx DMA/Bridge Subsystem DMA Engine" |
| 722 |
depends on HAS_IOMEM |
| 723 |
select DMA_ENGINE |
| 724 |
select DMA_VIRTUAL_CHANNELS |
| 725 |
select REGMAP_MMIO |
| 726 |
help |
| 727 |
Enable support for Xilinx DMA/Bridge Subsystem DMA engine. The DMA |
| 728 |
provides high performance block data movement between Host memory |
| 729 |
and the DMA subsystem. These direct memory transfers can be both in |
| 730 |
the Host to Card (H2C) and Card to Host (C2H) transfers. |
| 731 |
The core also provides up to 16 user interrupt wires that generate |
| 732 |
interrupts to the host. |
| 733 |
|
| 734 |
config XILINX_ZYNQMP_DMA |
| 735 |
tristate "Xilinx ZynqMP DMA Engine" |
| 736 |
depends on ARCH_ZYNQ || MICROBLAZE || ARM64 || COMPILE_TEST |
| 737 |
select DMA_ENGINE |
| 738 |
help |
| 739 |
Enable support for Xilinx ZynqMP DMA controller. |
| 740 |
|
| 741 |
config XILINX_ZYNQMP_DPDMA |
| 742 |
tristate "Xilinx DPDMA Engine" |
| 743 |
depends on HAS_IOMEM && OF |
| 744 |
select DMA_ENGINE |
| 745 |
select DMA_VIRTUAL_CHANNELS |
| 746 |
help |
| 747 |
Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option |
| 748 |
if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The |
| 749 |
driver provides the dmaengine required by the DisplayPort subsystem |
| 750 |
display driver. |
| 751 |
|
| 752 |
# driver files |
| 753 |
source "drivers/dma/amd/Kconfig" |
| 754 |
|
| 755 |
source "drivers/dma/bestcomm/Kconfig" |
| 756 |
|
| 757 |
source "drivers/dma/mediatek/Kconfig" |
| 758 |
|
| 759 |
source "drivers/dma/qcom/Kconfig" |
| 760 |
|
| 761 |
source "drivers/dma/dw/Kconfig" |
| 762 |
|
| 763 |
source "drivers/dma/dw-edma/Kconfig" |
| 764 |
|
| 765 |
source "drivers/dma/hsu/Kconfig" |
| 766 |
|
| 767 |
source "drivers/dma/sf-pdma/Kconfig" |
| 768 |
|
| 769 |
source "drivers/dma/sh/Kconfig" |
| 770 |
|
| 771 |
source "drivers/dma/ti/Kconfig" |
| 772 |
|
| 773 |
source "drivers/dma/fsl-dpaa2-qdma/Kconfig" |
| 774 |
|
| 775 |
source "drivers/dma/lgm/Kconfig" |
| 776 |
|
| 777 |
source "drivers/dma/stm32/Kconfig" |
| 778 |
|
| 779 |
# clients |
| 780 |
comment "DMA Clients" |
| 781 |
depends on DMA_ENGINE |
| 782 |
|
| 783 |
config ASYNC_TX_DMA |
| 784 |
bool "Async_tx: Offload support for the async_tx api" |
| 785 |
depends on DMA_ENGINE |
| 786 |
help |
| 787 |
This allows the async_tx api to take advantage of offload engines for |
| 788 |
memcpy, memset, xor, and raid6 p+q operations. If your platform has |
| 789 |
a dma engine that can perform raid operations and you have enabled |
| 790 |
MD_RAID456 say Y. |
| 791 |
|
| 792 |
If unsure, say N. |
| 793 |
|
| 794 |
config DMATEST |
| 795 |
tristate "DMA Test client" |
| 796 |
depends on DMA_ENGINE |
| 797 |
select DMA_ENGINE_RAID |
| 798 |
help |
| 799 |
Simple DMA test client. Say N unless you're debugging a |
| 800 |
DMA Device driver. |
| 801 |
|
| 802 |
config DMA_ENGINE_RAID |
| 803 |
bool |
| 804 |
|
| 805 |
endif |