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