staging:iio:adc:ad7606 move to info_mask_(shared_by_type/separate)
[linux/fpc-iii.git] / arch / sh / drivers / dma / Kconfig
blobcfd5b90a862820c5a55cf69e2f9612ed1ba765b5
1 menu "DMA support"
4 config SH_DMA
5         bool "SuperH on-chip DMA controller (DMAC) support"
6         depends on CPU_SH3 || CPU_SH4
7         default n
9 config SH_DMA_IRQ_MULTI
10         bool
11         depends on SH_DMA
12         default y if CPU_SUBTYPE_SH7750  || CPU_SUBTYPE_SH7751  || \
13                      CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
14                      CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091  || \
15                      CPU_SUBTYPE_SH7763  || CPU_SUBTYPE_SH7764  || \
16                      CPU_SUBTYPE_SH7780  || CPU_SUBTYPE_SH7785  || \
17                      CPU_SUBTYPE_SH7760
19 config SH_DMA_API
20         depends on SH_DMA
21         bool "SuperH DMA API support"
22         default n
23         help
24           SH_DMA_API always enabled DMA API of used SuperH.
25           If you want to use DMA ENGINE, you must not enable this.
26           Please enable DMA_ENGINE and SH_DMAE.
28 config NR_ONCHIP_DMA_CHANNELS
29         int
30         depends on SH_DMA
31         default "4" if CPU_SUBTYPE_SH7750  || CPU_SUBTYPE_SH7751  || \
32                        CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091
33         default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
34                        CPU_SUBTYPE_SH7760
35         default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780  || \
36                         CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724
37         default "6"
38         help
39           This allows you to specify the number of channels that the on-chip
40           DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the
41           SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6.
43 config SH_DMABRG
44         bool "SH7760 DMABRG support"
45         depends on CPU_SUBTYPE_SH7760
46         help
47           The DMABRG does data transfers from main memory to Audio/USB units
48           of the SH7760.
49           Say Y if you want to use Audio/USB DMA on your SH7760 board.
51 config PVR2_DMA
52         tristate "PowerVR 2 DMAC support"
53         depends on SH_DREAMCAST && SH_DMA
54         help
55           Selecting this will enable support for the PVR2 DMA controller.
56           As this chains off of the on-chip DMAC, that must also be
57           enabled by default.
59           This is primarily used by the pvr2fb framebuffer driver for
60           certain optimizations, but is not necessary for functionality.
62           If in doubt, say N.
64 config G2_DMA
65         tristate "G2 Bus DMA support"
66         depends on SH_DREAMCAST
67         select SH_DMA_API
68         help
69           This enables support for the DMA controller for the Dreamcast's
70           G2 bus. Drivers that want this will generally enable this on
71           their own.
73           If in doubt, say N.
75 endmenu