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_MID_DMAC 37 tristate "Intel MID DMA support for Peripheral DMA controllers" 38 depends on PCI && X86 39 select DMA_ENGINE 40 default n 41 help 42 Enable support for the Intel(R) MID DMA engine present 43 in Intel MID chipsets. 44 45 Say Y here if you have such a chipset. 46 47 If unsure, say N. 48 49config ASYNC_TX_ENABLE_CHANNEL_SWITCH 50 bool 51 52config AMBA_PL08X 53 bool "ARM PrimeCell PL080 or PL081 support" 54 depends on ARM_AMBA 55 select DMA_ENGINE 56 select DMA_VIRTUAL_CHANNELS 57 help 58 Platform has a PL08x DMAC device 59 which can provide DMA engine support 60 61config INTEL_IOATDMA 62 tristate "Intel I/OAT DMA support" 63 depends on PCI && X86 64 select DMA_ENGINE 65 select DMA_ENGINE_RAID 66 select DCA 67 help 68 Enable support for the Intel(R) I/OAT DMA engine present 69 in recent Intel Xeon chipsets. 70 71 Say Y here if you have such a chipset. 72 73 If unsure, say N. 74 75config INTEL_IOP_ADMA 76 tristate "Intel IOP ADMA support" 77 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX 78 select DMA_ENGINE 79 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 80 help 81 Enable support for the Intel(R) IOP Series RAID engines. 82 83source "drivers/dma/dw/Kconfig" 84 85config AT_HDMAC 86 tristate "Atmel AHB DMA support" 87 depends on ARCH_AT91 88 select DMA_ENGINE 89 help 90 Support the Atmel AHB DMA controller. 91 92config FSL_DMA 93 tristate "Freescale Elo series DMA support" 94 depends on FSL_SOC 95 select DMA_ENGINE 96 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 97 ---help--- 98 Enable support for the Freescale Elo series DMA controllers. 99 The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the 100 EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on 101 some Txxx and Bxxx parts. 102 103config MPC512X_DMA 104 tristate "Freescale MPC512x built-in DMA engine support" 105 depends on PPC_MPC512x || PPC_MPC831x 106 select DMA_ENGINE 107 ---help--- 108 Enable support for the Freescale MPC512x built-in DMA engine. 109 110source "drivers/dma/bestcomm/Kconfig" 111 112config MV_XOR 113 bool "Marvell XOR engine support" 114 depends on PLAT_ORION 115 select DMA_ENGINE 116 select DMA_ENGINE_RAID 117 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 118 ---help--- 119 Enable support for the Marvell XOR engine. 120 121config MX3_IPU 122 bool "MX3x Image Processing Unit support" 123 depends on ARCH_MXC 124 select DMA_ENGINE 125 default y 126 help 127 If you plan to use the Image Processing unit in the i.MX3x, say 128 Y here. If unsure, select Y. 129 130config MX3_IPU_IRQS 131 int "Number of dynamically mapped interrupts for IPU" 132 depends on MX3_IPU 133 range 2 137 134 default 4 135 help 136 Out of 137 interrupt sources on i.MX31 IPU only very few are used. 137 To avoid bloating the irq_desc[] array we allocate a sufficient 138 number of IRQ slots and map them dynamically to specific sources. 139 140config TXX9_DMAC 141 tristate "Toshiba TXx9 SoC DMA support" 142 depends on MACH_TX49XX || MACH_TX39XX 143 select DMA_ENGINE 144 help 145 Support the TXx9 SoC internal DMA controller. This can be 146 integrated in chips such as the Toshiba TX4927/38/39. 147 148config TEGRA20_APB_DMA 149 bool "NVIDIA Tegra20 APB DMA support" 150 depends on ARCH_TEGRA 151 select DMA_ENGINE 152 help 153 Support for the NVIDIA Tegra20 APB DMA controller driver. The 154 DMA controller is having multiple DMA channel which can be 155 configured for different peripherals like audio, UART, SPI, 156 I2C etc which is in APB bus. 157 This DMA controller transfers data from memory to peripheral fifo 158 or vice versa. It does not support memory to memory data transfer. 159 160config S3C24XX_DMAC 161 tristate "Samsung S3C24XX DMA support" 162 depends on ARCH_S3C24XX && !S3C24XX_DMA 163 select DMA_ENGINE 164 select DMA_VIRTUAL_CHANNELS 165 help 166 Support for the Samsung S3C24XX DMA controller driver. The 167 DMA controller is having multiple DMA channels which can be 168 configured for different peripherals like audio, UART, SPI. 169 The DMA controller can transfer data from memory to peripheral, 170 periphal to memory, periphal to periphal and memory to memory. 171 172source "drivers/dma/sh/Kconfig" 173 174config COH901318 175 bool "ST-Ericsson COH901318 DMA support" 176 select DMA_ENGINE 177 depends on ARCH_U300 178 help 179 Enable support for ST-Ericsson COH 901 318 DMA. 180 181config STE_DMA40 182 bool "ST-Ericsson DMA40 support" 183 depends on ARCH_U8500 184 select DMA_ENGINE 185 help 186 Support for ST-Ericsson DMA40 controller 187 188config AMCC_PPC440SPE_ADMA 189 tristate "AMCC PPC440SPe ADMA support" 190 depends on 440SPe || 440SP 191 select DMA_ENGINE 192 select DMA_ENGINE_RAID 193 select ARCH_HAS_ASYNC_TX_FIND_CHANNEL 194 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 195 help 196 Enable support for the AMCC PPC440SPe RAID engines. 197 198config TIMB_DMA 199 tristate "Timberdale FPGA DMA support" 200 depends on MFD_TIMBERDALE || HAS_IOMEM 201 select DMA_ENGINE 202 help 203 Enable support for the Timberdale FPGA DMA engine. 204 205config SIRF_DMA 206 tristate "CSR SiRFprimaII/SiRFmarco DMA support" 207 depends on ARCH_SIRF 208 select DMA_ENGINE 209 help 210 Enable support for the CSR SiRFprimaII DMA engine. 211 212config TI_EDMA 213 bool "TI EDMA support" 214 depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE 215 select DMA_ENGINE 216 select DMA_VIRTUAL_CHANNELS 217 select TI_PRIV_EDMA 218 default n 219 help 220 Enable support for the TI EDMA controller. This DMA 221 engine is found on TI DaVinci and AM33xx parts. 222 223config ARCH_HAS_ASYNC_TX_FIND_CHANNEL 224 bool 225 226config PL330_DMA 227 tristate "DMA API Driver for PL330" 228 select DMA_ENGINE 229 depends on ARM_AMBA 230 help 231 Select if your platform has one or more PL330 DMACs. 232 You need to provide platform specific settings via 233 platform_data for a dma-pl330 device. 234 235config PCH_DMA 236 tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA" 237 depends on PCI && X86 238 select DMA_ENGINE 239 help 240 Enable support for Intel EG20T PCH DMA engine. 241 242 This driver also can be used for LAPIS Semiconductor IOH(Input/ 243 Output Hub), ML7213, ML7223 and ML7831. 244 ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is 245 for MP(Media Phone) use and ML7831 IOH is for general purpose use. 246 ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series. 247 ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH. 248 249config IMX_SDMA 250 tristate "i.MX SDMA support" 251 depends on ARCH_MXC 252 select DMA_ENGINE 253 help 254 Support the i.MX SDMA engine. This engine is integrated into 255 Freescale i.MX25/31/35/51/53 chips. 256 257config IMX_DMA 258 tristate "i.MX DMA support" 259 depends on ARCH_MXC 260 select DMA_ENGINE 261 help 262 Support the i.MX DMA engine. This engine is integrated into 263 Freescale i.MX1/21/27 chips. 264 265config MXS_DMA 266 bool "MXS DMA support" 267 depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q 268 select STMP_DEVICE 269 select DMA_ENGINE 270 help 271 Support the MXS DMA engine. This engine including APBH-DMA 272 and APBX-DMA is integrated into Freescale i.MX23/28 chips. 273 274config EP93XX_DMA 275 bool "Cirrus Logic EP93xx DMA support" 276 depends on ARCH_EP93XX 277 select DMA_ENGINE 278 help 279 Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller. 280 281config DMA_SA11X0 282 tristate "SA-11x0 DMA support" 283 depends on ARCH_SA1100 284 select DMA_ENGINE 285 select DMA_VIRTUAL_CHANNELS 286 help 287 Support the DMA engine found on Intel StrongARM SA-1100 and 288 SA-1110 SoCs. This DMA engine can only be used with on-chip 289 devices. 290 291config MMP_TDMA 292 bool "MMP Two-Channel DMA support" 293 depends on ARCH_MMP 294 select DMA_ENGINE 295 help 296 Support the MMP Two-Channel DMA engine. 297 This engine used for MMP Audio DMA and pxa910 SQU. 298 299 Say Y here if you enabled MMP ADMA, otherwise say N. 300 301config DMA_OMAP 302 tristate "OMAP DMA support" 303 depends on ARCH_OMAP 304 select DMA_ENGINE 305 select DMA_VIRTUAL_CHANNELS 306 307config TI_CPPI41 308 tristate "AM33xx CPPI41 DMA support" 309 depends on ARCH_OMAP 310 select DMA_ENGINE 311 help 312 The Communications Port Programming Interface (CPPI) 4.1 DMA engine 313 is currently used by the USB driver on AM335x platforms. 314 315config MMP_PDMA 316 bool "MMP PDMA support" 317 depends on (ARCH_MMP || ARCH_PXA) 318 select DMA_ENGINE 319 help 320 Support the MMP PDMA engine for PXA and MMP platform. 321 322config DMA_JZ4740 323 tristate "JZ4740 DMA support" 324 depends on MACH_JZ4740 325 select DMA_ENGINE 326 select DMA_VIRTUAL_CHANNELS 327 328config K3_DMA 329 tristate "Hisilicon K3 DMA support" 330 depends on ARCH_HI3xxx 331 select DMA_ENGINE 332 select DMA_VIRTUAL_CHANNELS 333 help 334 Support the DMA engine for Hisilicon K3 platform 335 devices. 336 337config DMA_ENGINE 338 bool 339 340config DMA_VIRTUAL_CHANNELS 341 tristate 342 343config DMA_ACPI 344 def_bool y 345 depends on ACPI 346 347config DMA_OF 348 def_bool y 349 depends on OF 350 351comment "DMA Clients" 352 depends on DMA_ENGINE 353 354config NET_DMA 355 bool "Network: TCP receive copy offload" 356 depends on DMA_ENGINE && NET 357 default (INTEL_IOATDMA || FSL_DMA) 358 depends on BROKEN 359 help 360 This enables the use of DMA engines in the network stack to 361 offload receive copy-to-user operations, freeing CPU cycles. 362 363 Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise 364 say N. 365 366config ASYNC_TX_DMA 367 bool "Async_tx: Offload support for the async_tx api" 368 depends on DMA_ENGINE 369 help 370 This allows the async_tx api to take advantage of offload engines for 371 memcpy, memset, xor, and raid6 p+q operations. If your platform has 372 a dma engine that can perform raid operations and you have enabled 373 MD_RAID456 say Y. 374 375 If unsure, say N. 376 377config DMATEST 378 tristate "DMA Test client" 379 depends on DMA_ENGINE 380 help 381 Simple DMA test client. Say N unless you're debugging a 382 DMA Device driver. 383 384config DMA_ENGINE_RAID 385 bool 386 387endif 388