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