ASoC: pcm512x: Scrub my work address from the driver
[sfrench/cifs-2.6.git] / arch / cris / arch-v32 / drivers / Kconfig
1 if ETRAX_ARCH_V32
2
3 config ETRAX_ETHERNET
4         bool "Ethernet support"
5         depends on ETRAX_ARCH_V32 && NETDEVICES
6         select MII
7         help
8           This option enables the ETRAX FS built-in 10/100Mbit Ethernet
9           controller.
10
11 config ETRAX_NO_PHY
12         bool "PHY not present"
13         depends on ETRAX_ETHERNET
14         help
15           This option disables all MDIO communication with an ethernet
16           transceiver connected to the MII interface. This option shall
17           typically be enabled if the MII interface is connected to a
18           switch. This option should normally be disabled. If enabled,
19           speed and duplex will be locked to 100 Mbit and full duplex.
20
21 config ETRAXFS_SERIAL
22         bool "Serial-port support"
23         depends on ETRAX_ARCH_V32
24         select SERIAL_CORE
25         select SERIAL_CORE_CONSOLE
26         help
27           Enables the ETRAX FS serial driver for ser0 (ttyS0)
28           You probably want this enabled.
29
30 config ETRAX_RS485
31         bool "RS-485 support"
32         depends on ETRAXFS_SERIAL
33         help
34           Enables support for RS-485 serial communication.
35
36 config ETRAX_RS485_DISABLE_RECEIVER
37         bool "Disable serial receiver"
38         depends on ETRAX_RS485
39         help
40           It is necessary to disable the serial receiver to avoid serial
41           loopback.  Not all products are able to do this in software only.
42
43 config ETRAX_SERIAL_PORT0
44         bool "Serial port 0 enabled"
45         depends on ETRAXFS_SERIAL
46         help
47           Enables the ETRAX FS serial driver for ser0 (ttyS0)
48           Normally you want this on. You can control what DMA channels to use
49           if you do not need DMA to something else.
50           ser0 can use dma4 or dma6 for output and dma5 or dma7 for input.
51
52 config ETRAX_SERIAL_PORT1
53         bool "Serial port 1 enabled"
54         depends on ETRAXFS_SERIAL
55         help
56           Enables the ETRAX FS serial driver for ser1 (ttyS1).
57
58 config ETRAX_SERIAL_PORT2
59         bool "Serial port 2 enabled"
60         depends on ETRAXFS_SERIAL
61         help
62           Enables the ETRAX FS serial driver for ser2 (ttyS2).
63
64 config ETRAX_SERIAL_PORT3
65         bool "Serial port 3 enabled"
66         depends on ETRAXFS_SERIAL
67         help
68           Enables the ETRAX FS serial driver for ser3 (ttyS3).
69
70 config ETRAX_SYNCHRONOUS_SERIAL
71         bool "Synchronous serial-port support"
72         depends on ETRAX_ARCH_V32
73         help
74           Enables the ETRAX FS synchronous serial driver.
75
76 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
77          bool "Synchronous serial port 0 enabled"
78          depends on ETRAX_SYNCHRONOUS_SERIAL
79          help
80            Enabled synchronous serial port 0.
81
82 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
83          bool "Enable DMA on synchronous serial port 0."
84          depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
85          help
86            A synchronous serial port can run in manual or DMA mode.
87            Selecting this option will make it run in DMA mode.
88
89 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
90          bool "Synchronous serial port 1 enabled"
91          depends on ETRAX_SYNCHRONOUS_SERIAL && ETRAXFS
92          help
93            Enabled synchronous serial port 1.
94
95 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
96          bool "Enable DMA on synchronous serial port 1."
97          depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
98          help
99            A synchronous serial port can run in manual or DMA mode.
100            Selecting this option will make it run in DMA mode.
101
102 config ETRAX_AXISFLASHMAP
103         bool "Axis flash-map support"
104         depends on ETRAX_ARCH_V32
105         select MTD
106         select MTD_CFI
107         select MTD_CFI_AMDSTD
108         select MTD_JEDECPROBE
109         select MTD_BLOCK
110         select MTD_COMPLEX_MAPPINGS
111         select MTD_MTDRAM
112         help
113           This option enables MTD mapping of flash devices.  Needed to use
114           flash memories.  If unsure, say Y.
115
116 config ETRAX_AXISFLASHMAP_MTD0WHOLE
117         bool "MTD0 is whole boot flash device"
118         depends on ETRAX_AXISFLASHMAP
119         help
120           When this option is not set, mtd0 refers to the first partition
121           on the boot flash device. When set, mtd0 refers to the whole
122           device, with mtd1 referring to the first partition etc.
123
124 config ETRAX_PTABLE_SECTOR
125         int "Byte-offset of partition table sector"
126         depends on ETRAX_AXISFLASHMAP
127         default "65536"
128         help
129           Byte-offset of the partition table in the first flash chip.
130           The default value is 64kB and should not be changed unless
131           you know exactly what you are doing. The only valid reason
132           for changing this is when the flash block size is bigger
133           than 64kB (e.g. when using two parallel 16 bit flashes).
134
135 config ETRAX_NANDFLASH
136         bool "NAND flash support"
137         depends on ETRAX_ARCH_V32
138         select MTD_NAND
139         help
140           This option enables MTD mapping of NAND flash devices.  Needed to use
141           NAND flash memories.  If unsure, say Y.
142
143 config ETRAX_NANDBOOT
144         bool "Boot from NAND flash"
145         depends on ETRAX_NANDFLASH
146         help
147           This options enables booting from NAND flash devices.
148           Say Y if your boot code, kernel and root file system is in
149           NAND flash. Say N if they are in NOR flash.
150
151 config ETRAX_CARDBUS
152         bool "Cardbus support"
153         depends on ETRAX_ARCH_V32
154         help
155          Enabled the ETRAX Cardbus driver.
156
157 config PCI
158        bool
159        depends on ETRAX_CARDBUS
160        default y
161        select HAVE_GENERIC_DMA_COHERENT
162
163 config ETRAX_IOP_FW_LOAD
164         tristate "IO-processor hotplug firmware loading support"
165         depends on ETRAX_ARCH_V32
166         select FW_LOADER
167         help
168           Enables IO-processor hotplug firmware loading support.
169
170 config ETRAX_STREAMCOPROC
171         tristate "Stream co-processor driver enabled"
172         depends on ETRAX_ARCH_V32
173         help
174           This option enables a driver for the stream co-processor
175           for cryptographic operations.
176
177 config ETRAX_MMC_IOP
178         tristate "MMC/SD host driver using IO-processor"
179         depends on ETRAX_ARCH_V32 && MMC
180         help
181           This option enables the SD/MMC host controller interface.
182           The host controller is implemented using the built in
183           IO-Processor. Only the SPU is used in this implementation.
184
185 config ETRAX_SPI_MMC
186 # Make this one of several "choices" (possible simultaneously but
187 # suggested uniquely) when an IOP driver emerges for "real" MMC/SD
188 # protocol support.
189         tristate
190         depends on !ETRAX_MMC_IOP
191         default MMC
192         select SPI
193         select MMC_SPI
194
195 # While the board info is MMC_SPI only, the drivers are written to be
196 # independent of MMC_SPI, so we'll keep SPI non-dependent on the
197 # MMC_SPI config choices (well, except for a single depends-on-line
198 # for the board-info file until a separate non-MMC SPI board file
199 # emerges).
200 # FIXME: When that happens, we'll need to be able to ask for and
201 # configure non-MMC SPI ports together with MMC_SPI ports (if multiple
202 # SPI ports are enabled).
203
204 config SPI_ETRAX_SSER
205         tristate
206         depends on SPI_MASTER && ETRAX_ARCH_V32
207         select SPI_BITBANG
208         help
209           This enables using an synchronous serial (sser) port as a
210           SPI master controller on Axis ETRAX FS and later.  The
211           driver can be configured to use any sser port.
212
213 config SPI_ETRAX_GPIO
214         tristate
215         depends on SPI_MASTER && ETRAX_ARCH_V32
216         select SPI_BITBANG
217         help
218           This enables using GPIO pins port as a SPI master controller
219           on Axis ETRAX FS and later.  The driver can be configured to
220           use any GPIO pins.
221
222 config ETRAX_SPI_SSER0
223         tristate "SPI using synchronous serial port 0 (sser0)"
224         depends on ETRAX_SPI_MMC
225         default m if MMC_SPI=m
226         default y if MMC_SPI=y
227         default y if MMC_SPI=n
228         select SPI_ETRAX_SSER
229         help
230           Say Y for an MMC/SD socket connected to synchronous serial port 0,
231           or for devices using the SPI protocol on that port.  Say m if you
232           want to build it as a module, which will be named spi_crisv32_sser.
233           (You need to select MMC separately.)
234
235 config ETRAX_SPI_SSER1
236         tristate "SPI using synchronous serial port 1 (sser1)"
237         depends on ETRAX_SPI_MMC
238         default m if MMC_SPI=m && ETRAX_SPI_SSER0=n
239         default y if MMC_SPI=y && ETRAX_SPI_SSER0=n
240         default y if MMC_SPI=n && ETRAX_SPI_SSER0=n
241         select SPI_ETRAX_SSER
242         help
243           Say Y for an MMC/SD socket connected to synchronous serial port 1,
244           or for devices using the SPI protocol on that port.  Say m if you
245           want to build it as a module, which will be named spi_crisv32_sser.
246           (You need to select MMC separately.)
247
248 config ETRAX_SPI_GPIO
249         tristate "Bitbanged SPI using gpio pins"
250         depends on ETRAX_SPI_MMC
251         select SPI_ETRAX_GPIO
252         default m if MMC_SPI=m && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
253         default y if MMC_SPI=y && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
254         default y if MMC_SPI=n && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
255         help
256           Say Y for an MMC/SD socket connected to general I/O pins (but not
257           a complete synchronous serial ports), or for devices using the SPI
258           protocol on general I/O pins.  Slow and slows down the system.
259           Say m to build it as a module, which will be called spi_crisv32_gpio.
260           (You need to select MMC separately.)
261
262 endif