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