]>
Commit | Line | Data |
---|---|---|
c13c8260 CL |
1 | # |
2 | # DMA engine configuration | |
3 | # | |
4 | ||
2ed6dc34 | 5 | menuconfig DMADEVICES |
6d4f5879 | 6 | bool "DMA Engine support" |
04ce9ab3 | 7 | depends on HAS_DMA |
2ed6dc34 | 8 | help |
6d4f5879 HS |
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 | |
9c402f4e DW |
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. | |
2ed6dc34 | 15 | |
6c664a89 LW |
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 | ||
2ed6dc34 SN |
32 | if DMADEVICES |
33 | ||
34 | comment "DMA Devices" | |
35 | ||
b3c567e4 VK |
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 | ||
5fc6d897 | 49 | config ASYNC_TX_ENABLE_CHANNEL_SWITCH |
138f4c35 DW |
50 | bool |
51 | ||
e8689e63 LW |
52 | config AMBA_PL08X |
53 | bool "ARM PrimeCell PL080 or PL081 support" | |
c6a0aec9 | 54 | depends on ARM_AMBA |
e8689e63 | 55 | select DMA_ENGINE |
083be28a | 56 | select DMA_VIRTUAL_CHANNELS |
e8689e63 LW |
57 | help |
58 | Platform has a PL08x DMAC device | |
59 | which can provide DMA engine support | |
60 | ||
2ed6dc34 SN |
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 | |
2ed6dc34 | 77 | select DMA_ENGINE |
5fc6d897 | 78 | select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
2ed6dc34 SN |
79 | help |
80 | Enable support for the Intel(R) IOP Series RAID engines. | |
c13c8260 | 81 | |
61a76496 | 82 | source "drivers/dma/dw/Kconfig" |
d5ea7b5e | 83 | |
dc78baa2 NF |
84 | config AT_HDMAC |
85 | tristate "Atmel AHB DMA support" | |
f898fed0 | 86 | depends on ARCH_AT91 |
dc78baa2 NF |
87 | select DMA_ENGINE |
88 | help | |
f898fed0 | 89 | Support the Atmel AHB DMA controller. |
dc78baa2 | 90 | |
173acc7c | 91 | config FSL_DMA |
8de7a7d9 | 92 | tristate "Freescale Elo series DMA support" |
77cd62e8 | 93 | depends on FSL_SOC |
173acc7c | 94 | select DMA_ENGINE |
5fc6d897 | 95 | select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
173acc7c | 96 | ---help--- |
8de7a7d9 HZ |
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. | |
173acc7c | 101 | |
0fb6f739 PZ |
102 | config MPC512X_DMA |
103 | tristate "Freescale MPC512x built-in DMA engine support" | |
ba2eea25 | 104 | depends on PPC_MPC512x || PPC_MPC831x |
0fb6f739 PZ |
105 | select DMA_ENGINE |
106 | ---help--- | |
107 | Enable support for the Freescale MPC512x built-in DMA engine. | |
108 | ||
9a322993 PDM |
109 | source "drivers/dma/bestcomm/Kconfig" |
110 | ||
ff7b0479 SB |
111 | config MV_XOR |
112 | bool "Marvell XOR engine support" | |
113 | depends on PLAT_ORION | |
ff7b0479 | 114 | select DMA_ENGINE |
5fc6d897 | 115 | select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
ff7b0479 SB |
116 | ---help--- |
117 | Enable support for the Marvell XOR engine. | |
118 | ||
5296b56d GL |
119 | config MX3_IPU |
120 | bool "MX3x Image Processing Unit support" | |
8e2d41f8 | 121 | depends on ARCH_MXC |
5296b56d GL |
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 | ||
ea76f0b3 AN |
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 | ||
ec8a1586 LD |
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 | ||
ddeccb8d HS |
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 | ||
189b4ee8 | 170 | source "drivers/dma/sh/Kconfig" |
d8902adc | 171 | |
61f135b9 LW |
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 | ||
8d318a50 LW |
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 | ||
12458ea0 AG |
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 | |
5fc6d897 | 191 | select ASYNC_TX_ENABLE_CHANNEL_SWITCH |
12458ea0 AG |
192 | help |
193 | Enable support for the AMCC PPC440SPe RAID engines. | |
194 | ||
de5d4453 RR |
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 | ||
ca21a146 | 202 | config SIRF_DMA |
f7d935dc BS |
203 | tristate "CSR SiRFprimaII/SiRFmarco DMA support" |
204 | depends on ARCH_SIRF | |
ca21a146 RY |
205 | select DMA_ENGINE |
206 | help | |
207 | Enable support for the CSR SiRFprimaII DMA engine. | |
208 | ||
c2dde5f8 | 209 | config TI_EDMA |
76448041 | 210 | bool "TI EDMA support" |
e7ed8b40 | 211 | depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE |
c2dde5f8 MP |
212 | select DMA_ENGINE |
213 | select DMA_VIRTUAL_CHANNELS | |
c2b9e974 | 214 | select TI_PRIV_EDMA |
c2dde5f8 MP |
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 | ||
12458ea0 AG |
220 | config ARCH_HAS_ASYNC_TX_FIND_CHANNEL |
221 | bool | |
222 | ||
b3040e40 JB |
223 | config PL330_DMA |
224 | tristate "DMA API Driver for PL330" | |
225 | select DMA_ENGINE | |
1b9bb715 | 226 | depends on ARM_AMBA |
b3040e40 JB |
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 | ||
0c42bd0e | 232 | config PCH_DMA |
ca7fe2db | 233 | tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA" |
0c42bd0e YW |
234 | depends on PCI && X86 |
235 | select DMA_ENGINE | |
236 | help | |
2cdf2455 TM |
237 | Enable support for Intel EG20T PCH DMA engine. |
238 | ||
e79e72be | 239 | This driver also can be used for LAPIS Semiconductor IOH(Input/ |
ca7fe2db TM |
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. | |
0c42bd0e | 245 | |
1ec1e82f SH |
246 | config IMX_SDMA |
247 | tristate "i.MX SDMA support" | |
8e2d41f8 | 248 | depends on ARCH_MXC |
1ec1e82f SH |
249 | select DMA_ENGINE |
250 | help | |
251 | Support the i.MX SDMA engine. This engine is integrated into | |
8e2d41f8 | 252 | Freescale i.MX25/31/35/51/53 chips. |
1ec1e82f | 253 | |
1f1846c6 SH |
254 | config IMX_DMA |
255 | tristate "i.MX DMA support" | |
5b2e02e4 | 256 | depends on ARCH_MXC |
1f1846c6 SH |
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 | ||
a580b8c5 SG |
262 | config MXS_DMA |
263 | bool "MXS DMA support" | |
f5c55847 | 264 | depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q |
f5b7efcc | 265 | select STMP_DEVICE |
a580b8c5 SG |
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 | ||
760ee1c4 MW |
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 | ||
6365bead RK |
278 | config DMA_SA11X0 |
279 | tristate "SA-11x0 DMA support" | |
280 | depends on ARCH_SA1100 | |
281 | select DMA_ENGINE | |
50437bff | 282 | select DMA_VIRTUAL_CHANNELS |
6365bead RK |
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 | ||
c6da0ba8 ZG |
288 | config MMP_TDMA |
289 | bool "MMP Two-Channel DMA support" | |
49d57b5e | 290 | depends on ARCH_MMP |
c6da0ba8 ZG |
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 | ||
7bedaa55 RK |
298 | config DMA_OMAP |
299 | tristate "OMAP DMA support" | |
300 | depends on ARCH_OMAP | |
301 | select DMA_ENGINE | |
302 | select DMA_VIRTUAL_CHANNELS | |
303 | ||
9b3452d1 SAS |
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 | ||
c8acd6aa ZG |
312 | config MMP_PDMA |
313 | bool "MMP PDMA support" | |
314 | depends on (ARCH_MMP || ARCH_PXA) | |
315 | select DMA_ENGINE | |
316 | help | |
8c88126b | 317 | Support the MMP PDMA engine for PXA and MMP platform. |
c8acd6aa | 318 | |
7c169a42 LPC |
319 | config DMA_JZ4740 |
320 | tristate "JZ4740 DMA support" | |
321 | depends on MACH_JZ4740 | |
322 | select DMA_ENGINE | |
323 | select DMA_VIRTUAL_CHANNELS | |
324 | ||
8e6152bc ZG |
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 | ||
c13c8260 | 334 | config DMA_ENGINE |
2ed6dc34 | 335 | bool |
c13c8260 | 336 | |
50437bff RK |
337 | config DMA_VIRTUAL_CHANNELS |
338 | tristate | |
339 | ||
1b2e98bc AS |
340 | config DMA_ACPI |
341 | def_bool y | |
342 | depends on ACPI | |
343 | ||
5fa422c9 VK |
344 | config DMA_OF |
345 | def_bool y | |
346 | depends on OF | |
347 | ||
db217334 | 348 | comment "DMA Clients" |
2ed6dc34 | 349 | depends on DMA_ENGINE |
db217334 CL |
350 | |
351 | config NET_DMA | |
352 | bool "Network: TCP receive copy offload" | |
353 | depends on DMA_ENGINE && NET | |
9c402f4e | 354 | default (INTEL_IOATDMA || FSL_DMA) |
2ed6dc34 | 355 | help |
db217334 CL |
356 | This enables the use of DMA engines in the network stack to |
357 | offload receive copy-to-user operations, freeing CPU cycles. | |
9c402f4e DW |
358 | |
359 | Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise | |
360 | say N. | |
db217334 | 361 | |
729b5d1b DW |
362 | config ASYNC_TX_DMA |
363 | bool "Async_tx: Offload support for the async_tx api" | |
9a8de639 | 364 | depends on DMA_ENGINE |
729b5d1b DW |
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 | ||
4a776f0a HS |
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 | ||
2ed6dc34 | 380 | endif |