1# 2# DMA engine configuration 3# 4 5menuconfig DMADEVICES 6 bool "DMA Engine support" 7 depends on HAS_DMA 8 help 9 DMA engines can do asynchronous data transfers without 10 involving the host CPU. Currently, this framework can be 11 used to offload memory copies in the network stack and 12 RAID operations in the MD driver. This menu only presents 13 DMA Device drivers supported by the configured arch, it may 14 be empty in some cases. 15 16config DMADEVICES_DEBUG 17 bool "DMA Engine debugging" 18 depends on DMADEVICES != n 19 help 20 This is an option for use by developers; most people should 21 say N here. This enables DMA engine core and driver debugging. 22 23config DMADEVICES_VDEBUG 24 bool "DMA Engine verbose debugging" 25 depends on DMADEVICES_DEBUG != n 26 help 27 This is an option for use by developers; most people should 28 say N here. This enables deeper (more verbose) debugging of 29 the DMA engine core and drivers. 30 31 32if DMADEVICES 33 34comment "DMA Devices" 35 36config INTEL_MIC_X100_DMA 37 tristate "Intel MIC X100 DMA Driver" 38 depends on 64BIT && X86 && INTEL_MIC_BUS 39 select DMA_ENGINE 40 help 41 This enables DMA support for the Intel Many Integrated Core 42 (MIC) family of PCIe form factor coprocessor X100 devices that 43 run a 64 bit Linux OS. This driver will be used by both MIC 44 host and card drivers. 45 46 If you are building host kernel with a MIC device or a card 47 kernel for a MIC device, then say M (recommended) or Y, else 48 say N. If unsure say N. 49 50 More information about the Intel MIC family as well as the Linux 51 OS and tools for MIC to use with this driver are available from 52 <http://software.intel.com/en-us/mic-developer>. 53 54config ASYNC_TX_ENABLE_CHANNEL_SWITCH 55 bool 56 57config AMBA_PL08X 58 bool "ARM PrimeCell PL080 or PL081 support" 59 depends on ARM_AMBA 60 select DMA_ENGINE 61 select DMA_VIRTUAL_CHANNELS 62 help 63 Platform has a PL08x DMAC device 64 which can provide DMA engine support 65 66config INTEL_IOATDMA 67 tristate "Intel I/OAT DMA support" 68 depends on PCI && X86 69 select DMA_ENGINE 70 select DMA_ENGINE_RAID 71 select DCA 72 help 73 Enable support for the Intel(R) I/OAT DMA engine present 74 in recent Intel Xeon chipsets. 75 76 Say Y here if you have such a chipset. 77 78 If unsure, say N. 79 80config INTEL_IOP_ADMA 81 tristate "Intel IOP ADMA support" 82 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX 83 select DMA_ENGINE 84 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 85 help 86 Enable support for the Intel(R) IOP Series RAID engines. 87 88source "drivers/dma/dw/Kconfig" 89 90config AT_HDMAC 91 tristate "Atmel AHB DMA support" 92 depends on ARCH_AT91 93 select DMA_ENGINE 94 help 95 Support the Atmel AHB DMA controller. 96 97config AT_XDMAC 98 tristate "Atmel XDMA support" 99 depends on ARCH_AT91 100 select DMA_ENGINE 101 help 102 Support the Atmel XDMA controller. 103 104config FSL_DMA 105 tristate "Freescale Elo series DMA support" 106 depends on FSL_SOC 107 select DMA_ENGINE 108 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 109 ---help--- 110 Enable support for the Freescale Elo series DMA controllers. 111 The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the 112 EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on 113 some Txxx and Bxxx parts. 114 115config MPC512X_DMA 116 tristate "Freescale MPC512x built-in DMA engine support" 117 depends on PPC_MPC512x || PPC_MPC831x 118 select DMA_ENGINE 119 ---help--- 120 Enable support for the Freescale MPC512x built-in DMA engine. 121 122source "drivers/dma/bestcomm/Kconfig" 123 124config MV_XOR 125 bool "Marvell XOR engine support" 126 depends on PLAT_ORION 127 select DMA_ENGINE 128 select DMA_ENGINE_RAID 129 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 130 ---help--- 131 Enable support for the Marvell XOR engine. 132 133config MX3_IPU 134 bool "MX3x Image Processing Unit support" 135 depends on ARCH_MXC 136 select DMA_ENGINE 137 default y 138 help 139 If you plan to use the Image Processing unit in the i.MX3x, say 140 Y here. If unsure, select Y. 141 142config MX3_IPU_IRQS 143 int "Number of dynamically mapped interrupts for IPU" 144 depends on MX3_IPU 145 range 2 137 146 default 4 147 help 148 Out of 137 interrupt sources on i.MX31 IPU only very few are used. 149 To avoid bloating the irq_desc[] array we allocate a sufficient 150 number of IRQ slots and map them dynamically to specific sources. 151 152config TXX9_DMAC 153 tristate "Toshiba TXx9 SoC DMA support" 154 depends on MACH_TX49XX || MACH_TX39XX 155 select DMA_ENGINE 156 help 157 Support the TXx9 SoC internal DMA controller. This can be 158 integrated in chips such as the Toshiba TX4927/38/39. 159 160config TEGRA20_APB_DMA 161 bool "NVIDIA Tegra20 APB DMA support" 162 depends on ARCH_TEGRA 163 select DMA_ENGINE 164 help 165 Support for the NVIDIA Tegra20 APB DMA controller driver. The 166 DMA controller is having multiple DMA channel which can be 167 configured for different peripherals like audio, UART, SPI, 168 I2C etc which is in APB bus. 169 This DMA controller transfers data from memory to peripheral fifo 170 or vice versa. It does not support memory to memory data transfer. 171 172config S3C24XX_DMAC 173 tristate "Samsung S3C24XX DMA support" 174 depends on ARCH_S3C24XX 175 select DMA_ENGINE 176 select DMA_VIRTUAL_CHANNELS 177 help 178 Support for the Samsung S3C24XX DMA controller driver. The 179 DMA controller is having multiple DMA channels which can be 180 configured for different peripherals like audio, UART, SPI. 181 The DMA controller can transfer data from memory to peripheral, 182 periphal to memory, periphal to periphal and memory to memory. 183 184source "drivers/dma/sh/Kconfig" 185 186config COH901318 187 bool "ST-Ericsson COH901318 DMA support" 188 select DMA_ENGINE 189 depends on ARCH_U300 190 help 191 Enable support for ST-Ericsson COH 901 318 DMA. 192 193config STE_DMA40 194 bool "ST-Ericsson DMA40 support" 195 depends on ARCH_U8500 196 select DMA_ENGINE 197 help 198 Support for ST-Ericsson DMA40 controller 199 200config AMCC_PPC440SPE_ADMA 201 tristate "AMCC PPC440SPe ADMA support" 202 depends on 440SPe || 440SP 203 select DMA_ENGINE 204 select DMA_ENGINE_RAID 205 select ARCH_HAS_ASYNC_TX_FIND_CHANNEL 206 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 207 help 208 Enable support for the AMCC PPC440SPe RAID engines. 209 210config TIMB_DMA 211 tristate "Timberdale FPGA DMA support" 212 depends on MFD_TIMBERDALE 213 select DMA_ENGINE 214 help 215 Enable support for the Timberdale FPGA DMA engine. 216 217config SIRF_DMA 218 tristate "CSR SiRFprimaII/SiRFmarco DMA support" 219 depends on ARCH_SIRF 220 select DMA_ENGINE 221 help 222 Enable support for the CSR SiRFprimaII DMA engine. 223 224config TI_EDMA 225 bool "TI EDMA support" 226 depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE 227 select DMA_ENGINE 228 select DMA_VIRTUAL_CHANNELS 229 select TI_PRIV_EDMA 230 default n 231 help 232 Enable support for the TI EDMA controller. This DMA 233 engine is found on TI DaVinci and AM33xx parts. 234 235config ARCH_HAS_ASYNC_TX_FIND_CHANNEL 236 bool 237 238config PL330_DMA 239 tristate "DMA API Driver for PL330" 240 select DMA_ENGINE 241 depends on ARM_AMBA 242 help 243 Select if your platform has one or more PL330 DMACs. 244 You need to provide platform specific settings via 245 platform_data for a dma-pl330 device. 246 247config PCH_DMA 248 tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA" 249 depends on PCI && (X86_32 || COMPILE_TEST) 250 select DMA_ENGINE 251 help 252 Enable support for Intel EG20T PCH DMA engine. 253 254 This driver also can be used for LAPIS Semiconductor IOH(Input/ 255 Output Hub), ML7213, ML7223 and ML7831. 256 ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is 257 for MP(Media Phone) use and ML7831 IOH is for general purpose use. 258 ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series. 259 ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH. 260 261config IMX_SDMA 262 tristate "i.MX SDMA support" 263 depends on ARCH_MXC 264 select DMA_ENGINE 265 help 266 Support the i.MX SDMA engine. This engine is integrated into 267 Freescale i.MX25/31/35/51/53/6 chips. 268 269config IMX_DMA 270 tristate "i.MX DMA support" 271 depends on ARCH_MXC 272 select DMA_ENGINE 273 help 274 Support the i.MX DMA engine. This engine is integrated into 275 Freescale i.MX1/21/27 chips. 276 277config MXS_DMA 278 bool "MXS DMA support" 279 depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q 280 select STMP_DEVICE 281 select DMA_ENGINE 282 help 283 Support the MXS DMA engine. This engine including APBH-DMA 284 and APBX-DMA is integrated into Freescale i.MX23/28/MX6Q/MX6DL chips. 285 286config EP93XX_DMA 287 bool "Cirrus Logic EP93xx DMA support" 288 depends on ARCH_EP93XX 289 select DMA_ENGINE 290 help 291 Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller. 292 293config DMA_SA11X0 294 tristate "SA-11x0 DMA support" 295 depends on ARCH_SA1100 296 select DMA_ENGINE 297 select DMA_VIRTUAL_CHANNELS 298 help 299 Support the DMA engine found on Intel StrongARM SA-1100 and 300 SA-1110 SoCs. This DMA engine can only be used with on-chip 301 devices. 302 303config MMP_TDMA 304 bool "MMP Two-Channel DMA support" 305 depends on ARCH_MMP 306 select DMA_ENGINE 307 select MMP_SRAM 308 help 309 Support the MMP Two-Channel DMA engine. 310 This engine used for MMP Audio DMA and pxa910 SQU. 311 It needs sram driver under mach-mmp. 312 313 Say Y here if you enabled MMP ADMA, otherwise say N. 314 315config DMA_OMAP 316 tristate "OMAP DMA support" 317 depends on ARCH_OMAP 318 select DMA_ENGINE 319 select DMA_VIRTUAL_CHANNELS 320 321config DMA_BCM2835 322 tristate "BCM2835 DMA engine support" 323 depends on ARCH_BCM2835 324 select DMA_ENGINE 325 select DMA_VIRTUAL_CHANNELS 326 327config TI_CPPI41 328 tristate "AM33xx CPPI41 DMA support" 329 depends on ARCH_OMAP 330 select DMA_ENGINE 331 help 332 The Communications Port Programming Interface (CPPI) 4.1 DMA engine 333 is currently used by the USB driver on AM335x platforms. 334 335config MMP_PDMA 336 bool "MMP PDMA support" 337 depends on (ARCH_MMP || ARCH_PXA) 338 select DMA_ENGINE 339 help 340 Support the MMP PDMA engine for PXA and MMP platform. 341 342config DMA_JZ4740 343 tristate "JZ4740 DMA support" 344 depends on MACH_JZ4740 345 select DMA_ENGINE 346 select DMA_VIRTUAL_CHANNELS 347 348config K3_DMA 349 tristate "Hisilicon K3 DMA support" 350 depends on ARCH_HI3xxx 351 select DMA_ENGINE 352 select DMA_VIRTUAL_CHANNELS 353 help 354 Support the DMA engine for Hisilicon K3 platform 355 devices. 356 357config MOXART_DMA 358 tristate "MOXART DMA support" 359 depends on ARCH_MOXART 360 select DMA_ENGINE 361 select DMA_OF 362 select DMA_VIRTUAL_CHANNELS 363 help 364 Enable support for the MOXA ART SoC DMA controller. 365 366config FSL_EDMA 367 tristate "Freescale eDMA engine support" 368 depends on OF 369 select DMA_ENGINE 370 select DMA_VIRTUAL_CHANNELS 371 help 372 Support the Freescale eDMA engine with programmable channel 373 multiplexing capability for DMA request sources(slot). 374 This module can be found on Freescale Vybrid and LS-1 SoCs. 375 376config XILINX_VDMA 377 tristate "Xilinx AXI VDMA Engine" 378 depends on (ARCH_ZYNQ || MICROBLAZE) 379 select DMA_ENGINE 380 help 381 Enable support for Xilinx AXI VDMA Soft IP. 382 383 This engine provides high-bandwidth direct memory access 384 between memory and AXI4-Stream video type target 385 peripherals including peripherals which support AXI4- 386 Stream Video Protocol. It has two stream interfaces/ 387 channels, Memory Mapped to Stream (MM2S) and Stream to 388 Memory Mapped (S2MM) for the data transfers. 389 390config DMA_SUN6I 391 tristate "Allwinner A31 SoCs DMA support" 392 depends on MACH_SUN6I || MACH_SUN8I || COMPILE_TEST 393 depends on RESET_CONTROLLER 394 select DMA_ENGINE 395 select DMA_VIRTUAL_CHANNELS 396 help 397 Support for the DMA engine first found in Allwinner A31 SoCs. 398 399config NBPFAXI_DMA 400 tristate "Renesas Type-AXI NBPF DMA support" 401 select DMA_ENGINE 402 depends on ARM || COMPILE_TEST 403 help 404 Support for "Type-AXI" NBPF DMA IPs from Renesas 405 406config IMG_MDC_DMA 407 tristate "IMG MDC support" 408 depends on MIPS || COMPILE_TEST 409 depends on MFD_SYSCON 410 select DMA_ENGINE 411 select DMA_VIRTUAL_CHANNELS 412 help 413 Enable support for the IMG multi-threaded DMA controller (MDC). 414 415config DMA_ENGINE 416 bool 417 418config DMA_VIRTUAL_CHANNELS 419 tristate 420 421config DMA_ACPI 422 def_bool y 423 depends on ACPI 424 425config DMA_OF 426 def_bool y 427 depends on OF 428 select DMA_ENGINE 429 430comment "DMA Clients" 431 depends on DMA_ENGINE 432 433config ASYNC_TX_DMA 434 bool "Async_tx: Offload support for the async_tx api" 435 depends on DMA_ENGINE 436 help 437 This allows the async_tx api to take advantage of offload engines for 438 memcpy, memset, xor, and raid6 p+q operations. If your platform has 439 a dma engine that can perform raid operations and you have enabled 440 MD_RAID456 say Y. 441 442 If unsure, say N. 443 444config DMATEST 445 tristate "DMA Test client" 446 depends on DMA_ENGINE 447 help 448 Simple DMA test client. Say N unless you're debugging a 449 DMA Device driver. 450 451config DMA_ENGINE_RAID 452 bool 453 454config QCOM_BAM_DMA 455 tristate "QCOM BAM DMA support" 456 depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM) 457 select DMA_ENGINE 458 select DMA_VIRTUAL_CHANNELS 459 ---help--- 460 Enable support for the QCOM BAM DMA controller. This controller 461 provides DMA capabilities for a variety of on-chip devices. 462 463endif 464