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