]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/dma/Kconfig
ENGR00317981: pxp: forward pxp driver to 3.14 kernel
[karo-tx-linux.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 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
75 config 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
83 source "drivers/dma/dw/Kconfig"
84
85 config 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
92 config 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
103 config 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
110 source "drivers/dma/bestcomm/Kconfig"
111
112 config 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
121 config 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
130 config 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
140 config MXC_PXP_V2
141         bool "MXC PxP V2 support"
142         depends on ARM
143         select DMA_ENGINE
144         help
145           Support the PxP (Pixel Pipeline) on i.MX6 DualLite and i.MX6 SoloLite.
146           If unsure, select N.
147
148 config MXC_PXP_CLIENT_DEVICE
149         bool "MXC PxP Client Device"
150         default y
151         depends on MXC_PXP_V2
152
153 config TXX9_DMAC
154         tristate "Toshiba TXx9 SoC DMA support"
155         depends on MACH_TX49XX || MACH_TX39XX
156         select DMA_ENGINE
157         help
158           Support the TXx9 SoC internal DMA controller.  This can be
159           integrated in chips such as the Toshiba TX4927/38/39.
160
161 config TEGRA20_APB_DMA
162         bool "NVIDIA Tegra20 APB DMA support"
163         depends on ARCH_TEGRA
164         select DMA_ENGINE
165         help
166           Support for the NVIDIA Tegra20 APB DMA controller driver. The
167           DMA controller is having multiple DMA channel which can be
168           configured for different peripherals like audio, UART, SPI,
169           I2C etc which is in APB bus.
170           This DMA controller transfers data from memory to peripheral fifo
171           or vice versa. It does not support memory to memory data transfer.
172
173 config S3C24XX_DMAC
174         tristate "Samsung S3C24XX DMA support"
175         depends on ARCH_S3C24XX && !S3C24XX_DMA
176         select DMA_ENGINE
177         select DMA_VIRTUAL_CHANNELS
178         help
179           Support for the Samsung S3C24XX DMA controller driver. The
180           DMA controller is having multiple DMA channels which can be
181           configured for different peripherals like audio, UART, SPI.
182           The DMA controller can transfer data from memory to peripheral,
183           periphal to memory, periphal to periphal and memory to memory.
184
185 source "drivers/dma/sh/Kconfig"
186
187 config COH901318
188         bool "ST-Ericsson COH901318 DMA support"
189         select DMA_ENGINE
190         depends on ARCH_U300
191         help
192           Enable support for ST-Ericsson COH 901 318 DMA.
193
194 config STE_DMA40
195         bool "ST-Ericsson DMA40 support"
196         depends on ARCH_U8500
197         select DMA_ENGINE
198         help
199           Support for ST-Ericsson DMA40 controller
200
201 config AMCC_PPC440SPE_ADMA
202         tristate "AMCC PPC440SPe ADMA support"
203         depends on 440SPe || 440SP
204         select DMA_ENGINE
205         select DMA_ENGINE_RAID
206         select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
207         select ASYNC_TX_ENABLE_CHANNEL_SWITCH
208         help
209           Enable support for the AMCC PPC440SPe RAID engines.
210
211 config TIMB_DMA
212         tristate "Timberdale FPGA DMA support"
213         depends on MFD_TIMBERDALE || HAS_IOMEM
214         select DMA_ENGINE
215         help
216           Enable support for the Timberdale FPGA DMA engine.
217
218 config SIRF_DMA
219         tristate "CSR SiRFprimaII/SiRFmarco DMA support"
220         depends on ARCH_SIRF
221         select DMA_ENGINE
222         help
223           Enable support for the CSR SiRFprimaII DMA engine.
224
225 config TI_EDMA
226         bool "TI EDMA support"
227         depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE
228         select DMA_ENGINE
229         select DMA_VIRTUAL_CHANNELS
230         select TI_PRIV_EDMA
231         default n
232         help
233           Enable support for the TI EDMA controller. This DMA
234           engine is found on TI DaVinci and AM33xx parts.
235
236 config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
237         bool
238
239 config PL330_DMA
240         tristate "DMA API Driver for PL330"
241         select DMA_ENGINE
242         depends on ARM_AMBA
243         help
244           Select if your platform has one or more PL330 DMACs.
245           You need to provide platform specific settings via
246           platform_data for a dma-pl330 device.
247
248 config PCH_DMA
249         tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
250         depends on PCI && X86
251         select DMA_ENGINE
252         help
253           Enable support for Intel EG20T PCH DMA engine.
254
255           This driver also can be used for LAPIS Semiconductor IOH(Input/
256           Output Hub), ML7213, ML7223 and ML7831.
257           ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
258           for MP(Media Phone) use and ML7831 IOH is for general purpose use.
259           ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
260           ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
261
262 config IMX_SDMA
263         tristate "i.MX SDMA support"
264         depends on ARCH_MXC
265         select DMA_ENGINE
266         help
267           Support the i.MX SDMA engine. This engine is integrated into
268           Freescale i.MX25/31/35/51/53 chips.
269
270 config IMX_DMA
271         tristate "i.MX DMA support"
272         depends on ARCH_MXC
273         select DMA_ENGINE
274         help
275           Support the i.MX DMA engine. This engine is integrated into
276           Freescale i.MX1/21/27 chips.
277
278 config MXS_DMA
279         bool "MXS DMA support"
280         depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q
281         select STMP_DEVICE
282         select DMA_ENGINE
283         help
284           Support the MXS DMA engine. This engine including APBH-DMA
285           and APBX-DMA is integrated into Freescale i.MX23/28 chips.
286
287 config EP93XX_DMA
288         bool "Cirrus Logic EP93xx DMA support"
289         depends on ARCH_EP93XX
290         select DMA_ENGINE
291         help
292           Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
293
294 config DMA_SA11X0
295         tristate "SA-11x0 DMA support"
296         depends on ARCH_SA1100
297         select DMA_ENGINE
298         select DMA_VIRTUAL_CHANNELS
299         help
300           Support the DMA engine found on Intel StrongARM SA-1100 and
301           SA-1110 SoCs.  This DMA engine can only be used with on-chip
302           devices.
303
304 config MMP_TDMA
305         bool "MMP Two-Channel DMA support"
306         depends on ARCH_MMP
307         select DMA_ENGINE
308         select MMP_SRAM
309         help
310           Support the MMP Two-Channel DMA engine.
311           This engine used for MMP Audio DMA and pxa910 SQU.
312           It needs sram driver under mach-mmp.
313
314           Say Y here if you enabled MMP ADMA, otherwise say N.
315
316 config DMA_OMAP
317         tristate "OMAP DMA support"
318         depends on ARCH_OMAP
319         select DMA_ENGINE
320         select DMA_VIRTUAL_CHANNELS
321
322 config DMA_BCM2835
323         tristate "BCM2835 DMA engine support"
324         depends on (ARCH_BCM2835 || MACH_BCM2708)
325         select DMA_ENGINE
326         select DMA_VIRTUAL_CHANNELS
327
328 config TI_CPPI41
329         tristate "AM33xx CPPI41 DMA support"
330         depends on ARCH_OMAP
331         select DMA_ENGINE
332         help
333           The Communications Port Programming Interface (CPPI) 4.1 DMA engine
334           is currently used by the USB driver on AM335x platforms.
335
336 config MMP_PDMA
337         bool "MMP PDMA support"
338         depends on (ARCH_MMP || ARCH_PXA)
339         select DMA_ENGINE
340         help
341           Support the MMP PDMA engine for PXA and MMP platform.
342
343 config DMA_JZ4740
344         tristate "JZ4740 DMA support"
345         depends on MACH_JZ4740
346         select DMA_ENGINE
347         select DMA_VIRTUAL_CHANNELS
348
349 config K3_DMA
350         tristate "Hisilicon K3 DMA support"
351         depends on ARCH_HI3xxx
352         select DMA_ENGINE
353         select DMA_VIRTUAL_CHANNELS
354         help
355           Support the DMA engine for Hisilicon K3 platform
356           devices.
357
358 config MOXART_DMA
359         tristate "MOXART DMA support"
360         depends on ARCH_MOXART
361         select DMA_ENGINE
362         select DMA_OF
363         select DMA_VIRTUAL_CHANNELS
364         help
365           Enable support for the MOXA ART SoC DMA controller.
366
367 config DMA_ENGINE
368         bool
369
370 config DMA_VIRTUAL_CHANNELS
371         tristate
372
373 config DMA_ACPI
374         def_bool y
375         depends on ACPI
376
377 config DMA_OF
378         def_bool y
379         depends on OF
380
381 comment "DMA Clients"
382         depends on DMA_ENGINE
383
384 config NET_DMA
385         bool "Network: TCP receive copy offload"
386         depends on DMA_ENGINE && NET
387         default (INTEL_IOATDMA || FSL_DMA)
388         depends on BROKEN
389         help
390           This enables the use of DMA engines in the network stack to
391           offload receive copy-to-user operations, freeing CPU cycles.
392
393           Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
394           say N.
395
396 config ASYNC_TX_DMA
397         bool "Async_tx: Offload support for the async_tx api"
398         depends on DMA_ENGINE
399         help
400           This allows the async_tx api to take advantage of offload engines for
401           memcpy, memset, xor, and raid6 p+q operations.  If your platform has
402           a dma engine that can perform raid operations and you have enabled
403           MD_RAID456 say Y.
404
405           If unsure, say N.
406
407 config DMATEST
408         tristate "DMA Test client"
409         depends on DMA_ENGINE
410         help
411           Simple DMA test client. Say N unless you're debugging a
412           DMA Device driver.
413
414 config DMA_ENGINE_RAID
415         bool
416
417 endif