Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[linux-drm-fsl-dcu.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 config S3C24XX_DMAC
159         tristate "Samsung S3C24XX DMA support"
160         depends on ARCH_S3C24XX && !S3C24XX_DMA
161         select DMA_ENGINE
162         select DMA_VIRTUAL_CHANNELS
163         help
164           Support for the Samsung S3C24XX DMA controller driver. The
165           DMA controller is having multiple DMA channels which can be
166           configured for different peripherals like audio, UART, SPI.
167           The DMA controller can transfer data from memory to peripheral,
168           periphal to memory, periphal to periphal and memory to memory.
169
170 source "drivers/dma/sh/Kconfig"
171
172 config COH901318
173         bool "ST-Ericsson COH901318 DMA support"
174         select DMA_ENGINE
175         depends on ARCH_U300
176         help
177           Enable support for ST-Ericsson COH 901 318 DMA.
178
179 config STE_DMA40
180         bool "ST-Ericsson DMA40 support"
181         depends on ARCH_U8500
182         select DMA_ENGINE
183         help
184           Support for ST-Ericsson DMA40 controller
185
186 config AMCC_PPC440SPE_ADMA
187         tristate "AMCC PPC440SPe ADMA support"
188         depends on 440SPe || 440SP
189         select DMA_ENGINE
190         select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
191         select ASYNC_TX_ENABLE_CHANNEL_SWITCH
192         help
193           Enable support for the AMCC PPC440SPe RAID engines.
194
195 config TIMB_DMA
196         tristate "Timberdale FPGA DMA support"
197         depends on MFD_TIMBERDALE || HAS_IOMEM
198         select DMA_ENGINE
199         help
200           Enable support for the Timberdale FPGA DMA engine.
201
202 config SIRF_DMA
203         tristate "CSR SiRFprimaII/SiRFmarco DMA support"
204         depends on ARCH_SIRF
205         select DMA_ENGINE
206         help
207           Enable support for the CSR SiRFprimaII DMA engine.
208
209 config TI_EDMA
210         bool "TI EDMA support"
211         depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE
212         select DMA_ENGINE
213         select DMA_VIRTUAL_CHANNELS
214         select TI_PRIV_EDMA
215         default n
216         help
217           Enable support for the TI EDMA controller. This DMA
218           engine is found on TI DaVinci and AM33xx parts.
219
220 config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
221         bool
222
223 config PL330_DMA
224         tristate "DMA API Driver for PL330"
225         select DMA_ENGINE
226         depends on ARM_AMBA
227         help
228           Select if your platform has one or more PL330 DMACs.
229           You need to provide platform specific settings via
230           platform_data for a dma-pl330 device.
231
232 config PCH_DMA
233         tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
234         depends on PCI && X86
235         select DMA_ENGINE
236         help
237           Enable support for Intel EG20T PCH DMA engine.
238
239           This driver also can be used for LAPIS Semiconductor IOH(Input/
240           Output Hub), ML7213, ML7223 and ML7831.
241           ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
242           for MP(Media Phone) use and ML7831 IOH is for general purpose use.
243           ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
244           ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
245
246 config IMX_SDMA
247         tristate "i.MX SDMA support"
248         depends on ARCH_MXC
249         select DMA_ENGINE
250         help
251           Support the i.MX SDMA engine. This engine is integrated into
252           Freescale i.MX25/31/35/51/53 chips.
253
254 config IMX_DMA
255         tristate "i.MX DMA support"
256         depends on ARCH_MXC
257         select DMA_ENGINE
258         help
259           Support the i.MX DMA engine. This engine is integrated into
260           Freescale i.MX1/21/27 chips.
261
262 config MXS_DMA
263         bool "MXS DMA support"
264         depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q
265         select STMP_DEVICE
266         select DMA_ENGINE
267         help
268           Support the MXS DMA engine. This engine including APBH-DMA
269           and APBX-DMA is integrated into Freescale i.MX23/28 chips.
270
271 config EP93XX_DMA
272         bool "Cirrus Logic EP93xx DMA support"
273         depends on ARCH_EP93XX
274         select DMA_ENGINE
275         help
276           Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
277
278 config DMA_SA11X0
279         tristate "SA-11x0 DMA support"
280         depends on ARCH_SA1100
281         select DMA_ENGINE
282         select DMA_VIRTUAL_CHANNELS
283         help
284           Support the DMA engine found on Intel StrongARM SA-1100 and
285           SA-1110 SoCs.  This DMA engine can only be used with on-chip
286           devices.
287
288 config MMP_TDMA
289         bool "MMP Two-Channel DMA support"
290         depends on ARCH_MMP
291         select DMA_ENGINE
292         help
293           Support the MMP Two-Channel DMA engine.
294           This engine used for MMP Audio DMA and pxa910 SQU.
295
296           Say Y here if you enabled MMP ADMA, otherwise say N.
297
298 config DMA_OMAP
299         tristate "OMAP DMA support"
300         depends on ARCH_OMAP
301         select DMA_ENGINE
302         select DMA_VIRTUAL_CHANNELS
303
304 config TI_CPPI41
305         tristate "AM33xx CPPI41 DMA support"
306         depends on ARCH_OMAP
307         select DMA_ENGINE
308         help
309           The Communications Port Programming Interface (CPPI) 4.1 DMA engine
310           is currently used by the USB driver on AM335x platforms.
311
312 config MMP_PDMA
313         bool "MMP PDMA support"
314         depends on (ARCH_MMP || ARCH_PXA)
315         select DMA_ENGINE
316         help
317           Support the MMP PDMA engine for PXA and MMP platform.
318
319 config DMA_JZ4740
320         tristate "JZ4740 DMA support"
321         depends on MACH_JZ4740
322         select DMA_ENGINE
323         select DMA_VIRTUAL_CHANNELS
324
325 config K3_DMA
326         tristate "Hisilicon K3 DMA support"
327         depends on ARCH_HI3xxx
328         select DMA_ENGINE
329         select DMA_VIRTUAL_CHANNELS
330         help
331           Support the DMA engine for Hisilicon K3 platform
332           devices.
333
334 config DMA_ENGINE
335         bool
336
337 config DMA_VIRTUAL_CHANNELS
338         tristate
339
340 config DMA_ACPI
341         def_bool y
342         depends on ACPI
343
344 config DMA_OF
345         def_bool y
346         depends on OF
347
348 comment "DMA Clients"
349         depends on DMA_ENGINE
350
351 config NET_DMA
352         bool "Network: TCP receive copy offload"
353         depends on DMA_ENGINE && NET
354         default (INTEL_IOATDMA || FSL_DMA)
355         help
356           This enables the use of DMA engines in the network stack to
357           offload receive copy-to-user operations, freeing CPU cycles.
358
359           Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
360           say N.
361
362 config ASYNC_TX_DMA
363         bool "Async_tx: Offload support for the async_tx api"
364         depends on DMA_ENGINE
365         help
366           This allows the async_tx api to take advantage of offload engines for
367           memcpy, memset, xor, and raid6 p+q operations.  If your platform has
368           a dma engine that can perform raid operations and you have enabled
369           MD_RAID456 say Y.
370
371           If unsure, say N.
372
373 config DMATEST
374         tristate "DMA Test client"
375         depends on DMA_ENGINE
376         help
377           Simple DMA test client. Say N unless you're debugging a
378           DMA Device driver.
379
380 endif