sdhci-of: add support for the wii sdhci controller
[safe/jmp/linux-2.6] / drivers / mmc / host / Kconfig
1 #
2 # MMC/SD host controller drivers
3 #
4
5 comment "MMC/SD/SDIO Host Controller Drivers"
6
7 config MMC_ARMMMCI
8         tristate "ARM AMBA Multimedia Card Interface support"
9         depends on ARM_AMBA
10         help
11           This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
12           Interface (PL180 and PL181) support.  If you have an ARM(R)
13           platform with a Multimedia Card slot, say Y or M here.
14
15           If unsure, say N.
16
17 config MMC_PXA
18         tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
19         depends on ARCH_PXA
20         help
21           This selects the Intel(R) PXA(R) Multimedia card Interface.
22           If you have a PXA(R) platform with a Multimedia Card slot,
23           say Y or M here.
24
25           If unsure, say N.
26
27 config MMC_SDHCI
28         tristate "Secure Digital Host Controller Interface support"
29         depends on HAS_DMA
30         help
31           This selects the generic Secure Digital Host Controller Interface.
32           It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
33           and Toshiba(R). Most controllers found in laptops are of this type.
34
35           If you have a controller with this interface, say Y or M here. You
36           also need to enable an appropriate bus interface.
37
38           If unsure, say N.
39
40 config MMC_SDHCI_IO_ACCESSORS
41         bool
42         depends on MMC_SDHCI
43         help
44           This is silent Kconfig symbol that is selected by the drivers that
45           need to overwrite SDHCI IO memory accessors.
46
47 config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
48         bool
49         select MMC_SDHCI_IO_ACCESSORS
50         help
51           This option is selected by drivers running on big endian hosts
52           and performing I/O to a SDHCI controller through a bus that
53           implements a hardware byte swapper using a 32-bit datum.
54           This endian mapping mode is called "data invariance" and
55           has the effect of scrambling the addresses and formats of data
56           accessed in sizes other than the datum size.
57
58           This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
59
60 config MMC_SDHCI_PCI
61         tristate "SDHCI support on PCI bus"
62         depends on MMC_SDHCI && PCI
63         help
64           This selects the PCI Secure Digital Host Controller Interface.
65           Most controllers found today are PCI devices.
66
67           If you have a controller with this interface, say Y or M here.
68
69           If unsure, say N.
70
71 config MMC_RICOH_MMC
72         tristate "Ricoh MMC Controller Disabler  (EXPERIMENTAL)"
73         depends on MMC_SDHCI_PCI
74         help
75           This selects the disabler for the Ricoh MMC Controller. This
76           proprietary controller is unnecessary because the SDHCI driver
77           supports MMC cards on the SD controller, but if it is not
78           disabled, it will steal the MMC cards away - rendering them
79           useless. It is safe to select this driver even if you don't
80           have a Ricoh based card reader.
81
82
83           To compile this driver as a module, choose M here:
84           the module will be called ricoh_mmc.
85
86           If unsure, say Y.
87
88 config MMC_SDHCI_OF
89         tristate "SDHCI support on OpenFirmware platforms"
90         depends on MMC_SDHCI && PPC_OF
91         help
92           This selects the OF support for Secure Digital Host Controller
93           Interfaces.
94
95           If unsure, say N.
96
97 config MMC_SDHCI_OF_ESDHC
98         bool "SDHCI OF support for the Freescale eSDHC controller"
99         depends on MMC_SDHCI_OF
100         select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
101         help
102           This selects the Freescale eSDHC controller support.
103
104           If unsure, say N.
105
106 config MMC_SDHCI_OF_HLWD
107         bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
108         depends on MMC_SDHCI_OF
109         select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
110         help
111           This selects the Secure Digital Host Controller Interface (SDHCI)
112           found in the "Hollywood" chipset of the Nintendo Wii video game
113           console.
114
115           If unsure, say N.
116
117 config MMC_SDHCI_PLTFM
118         tristate "SDHCI support on the platform specific bus"
119         depends on MMC_SDHCI
120         help
121           This selects the platform specific bus support for Secure Digital Host
122           Controller Interface.
123
124           If you have a controller with this interface, say Y or M here.
125
126           If unsure, say N.
127
128 config MMC_SDHCI_S3C
129         tristate "SDHCI support on Samsung S3C SoC"
130         depends on MMC_SDHCI && (PLAT_S3C24XX || PLAT_S3C64XX)
131         help
132           This selects the Secure Digital Host Controller Interface (SDHCI)
133           often referrered to as the HSMMC block in some of the Samsung S3C
134           range of SoC.
135
136           Note, due to the problems with DMA, the DMA support is only
137           available with CONFIG_EXPERIMENTAL is selected.
138
139           If you have a controller with this interface, say Y or M here.
140
141           If unsure, say N.
142
143 config MMC_SDHCI_S3C_DMA
144         bool "DMA support on S3C SDHCI"
145         depends on MMC_SDHCI_S3C && EXPERIMENTAL
146         help
147           Enable DMA support on the Samsung S3C SDHCI glue. The DMA
148           has proved to be problematic if the controller encounters
149           certain errors, and thus should be treated with care.
150
151           YMMV.
152
153 config MMC_OMAP
154         tristate "TI OMAP Multimedia Card Interface support"
155         depends on ARCH_OMAP
156         select TPS65010 if MACH_OMAP_H2
157         help
158           This selects the TI OMAP Multimedia card Interface.
159           If you have an OMAP board with a Multimedia Card slot,
160           say Y or M here.
161
162           If unsure, say N.
163
164 config MMC_OMAP_HS
165         tristate "TI OMAP High Speed Multimedia Card Interface support"
166         depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
167         help
168           This selects the TI OMAP High Speed Multimedia card Interface.
169           If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
170           Multimedia Card slot, say Y or M here.
171
172           If unsure, say N.
173
174 config MMC_WBSD
175         tristate "Winbond W83L51xD SD/MMC Card Interface support"
176         depends on ISA_DMA_API
177         help
178           This selects the Winbond(R) W83L51xD Secure digital and
179           Multimedia card Interface.
180           If you have a machine with a integrated W83L518D or W83L519D
181           SD/MMC card reader, say Y or M here.
182
183           If unsure, say N.
184
185 config MMC_AU1X
186         tristate "Alchemy AU1XX0 MMC Card Interface support"
187         depends on SOC_AU1200
188         help
189           This selects the AMD Alchemy(R) Multimedia card interface.
190           If you have a Alchemy platform with a MMC slot, say Y or M here.
191
192           If unsure, say N.
193
194 choice
195         prompt "Atmel SD/MMC Driver"
196         default MMC_ATMELMCI if AVR32
197         help
198           Choose which driver to use for the Atmel MCI Silicon
199
200 config MMC_AT91
201         tristate "AT91 SD/MMC Card Interface support"
202         depends on ARCH_AT91
203         help
204           This selects the AT91 MCI controller.
205
206           If unsure, say N.
207
208 config MMC_ATMELMCI
209         tristate "Atmel Multimedia Card Interface support"
210         depends on AVR32 || ARCH_AT91
211         help
212           This selects the Atmel Multimedia Card Interface driver. If
213           you have an AT32 (AVR32) or AT91 platform with a Multimedia
214           Card slot, say Y or M here.
215
216           If unsure, say N.
217
218 endchoice
219
220 config MMC_ATMELMCI_DMA
221         bool "Atmel MCI DMA support (EXPERIMENTAL)"
222         depends on MMC_ATMELMCI && AVR32 && DMA_ENGINE && EXPERIMENTAL
223         help
224           Say Y here to have the Atmel MCI driver use a DMA engine to
225           do data transfers and thus increase the throughput and
226           reduce the CPU utilization. Note that this is highly
227           experimental and may cause the driver to lock up.
228
229           If unsure, say N.
230
231 config MMC_IMX
232         tristate "Motorola i.MX Multimedia Card Interface support"
233         depends on ARCH_MX1
234         help
235           This selects the Motorola i.MX Multimedia card Interface.
236           If you have a i.MX platform with a Multimedia Card slot,
237           say Y or M here.
238
239           If unsure, say N.
240
241 config MMC_MSM7X00A
242         tristate "Qualcomm MSM 7X00A SDCC Controller Support"
243         depends on MMC && ARCH_MSM
244         help
245           This provides support for the SD/MMC cell found in the
246           MSM 7X00A controllers from Qualcomm.
247
248 config MMC_MXC
249         tristate "Freescale i.MX2/3 Multimedia Card Interface support"
250         depends on ARCH_MXC
251         help
252           This selects the Freescale i.MX2/3 Multimedia card Interface.
253           If you have a i.MX platform with a Multimedia Card slot,
254           say Y or M here.
255
256           If unsure, say N.
257
258 config MMC_TIFM_SD
259         tristate "TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)"
260         depends on EXPERIMENTAL && PCI
261         select TIFM_CORE
262         help
263           Say Y here if you want to be able to access MMC/SD cards with
264           the Texas Instruments(R) Flash Media card reader, found in many
265           laptops.
266           This option 'selects' (turns on, enables) 'TIFM_CORE', but you
267           probably also need appropriate card reader host adapter, such as
268           'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
269           (TIFM_7XX1)'.
270
271           To compile this driver as a module, choose M here: the
272           module will be called tifm_sd.
273
274 config MMC_MVSDIO
275         tristate "Marvell MMC/SD/SDIO host driver"
276         depends on PLAT_ORION
277         ---help---
278           This selects the Marvell SDIO host driver.
279           SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
280           SoC controllers.
281
282           To compile this driver as a module, choose M here: the
283           module will be called mvsdio.
284
285 config MMC_DAVINCI
286         tristate "TI DAVINCI Multimedia Card Interface support"
287         depends on ARCH_DAVINCI
288         help
289           This selects the TI DAVINCI Multimedia card Interface.
290           If you have an DAVINCI board with a Multimedia Card slot,
291           say Y or M here.  If unsure, say N.
292
293 config MMC_SPI
294         tristate "MMC/SD/SDIO over SPI"
295         depends on SPI_MASTER && !HIGHMEM && HAS_DMA
296         select CRC7
297         select CRC_ITU_T
298         help
299           Some systems access MMC/SD/SDIO cards using a SPI controller
300           instead of using a "native" MMC/SD/SDIO controller.  This has a
301           disadvantage of being relatively high overhead, but a compensating
302           advantage of working on many systems without dedicated MMC/SD/SDIO
303           controllers.
304
305           If unsure, or if your system has no SPI master driver, say N.
306
307 config MMC_S3C
308         tristate "Samsung S3C SD/MMC Card Interface support"
309         depends on ARCH_S3C2410
310         help
311           This selects a driver for the MCI interface found in
312           Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
313           If you have a board based on one of those and a MMC/SD
314           slot, say Y or M here.
315
316           If unsure, say N.
317
318 config MMC_S3C_HW_SDIO_IRQ
319        bool "Hardware support for SDIO IRQ"
320        depends on MMC_S3C
321        help
322          Enable the hardware support for SDIO interrupts instead of using
323          the generic polling code.
324
325 choice
326         prompt "Samsung S3C SD/MMC transfer code"
327         depends on MMC_S3C
328
329 config MMC_S3C_PIO
330         bool "Use PIO transfers only"
331         help
332           Use PIO to transfer data between memory and the hardware.
333
334           PIO is slower than DMA as it requires CPU instructions to
335           move the data. This has been the traditional default for
336           the S3C MCI driver.
337
338 config MMC_S3C_DMA
339         bool "Use DMA transfers only (EXPERIMENTAL)"
340         depends on EXPERIMENTAL
341         help
342           Use DMA to transfer data between memory and the hardare.
343
344           Currently, the DMA support in this driver seems to not be
345           working properly and needs to be debugged before this
346           option is useful.
347
348 config MMC_S3C_PIODMA
349         bool "Support for both PIO and DMA (EXPERIMENTAL)"
350         help
351           Compile both the PIO and DMA transfer routines into the
352           driver and let the platform select at run-time which one
353           is best.
354
355           See notes for the DMA option.
356
357 endchoice
358
359 config MMC_SDRICOH_CS
360         tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
361         depends on EXPERIMENTAL && PCI && PCMCIA
362         help
363           Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
364           card whenever you insert a MMC or SD card into the card slot.
365
366           To compile this driver as a module, choose M here: the
367           module will be called sdricoh_cs.
368
369 config MMC_TMIO
370         tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
371         depends on MFD_TMIO || MFD_ASIC3 || SUPERH
372         help
373           This provides support for the SD/MMC cell found in TC6393XB,
374           T7L66XB and also HTC ASIC3
375
376 config MMC_CB710
377         tristate "ENE CB710 MMC/SD Interface support"
378         depends on PCI
379         select CB710_CORE
380         help
381           This option enables support for MMC/SD part of ENE CB710/720 Flash
382           memory card reader found in some laptops (ie. some versions of
383           HP Compaq nx9500).
384
385           This driver can also be built as a module. If so, the module
386           will be called cb710-mmc.
387
388 config MMC_VIA_SDMMC
389         tristate "VIA SD/MMC Card Reader Driver"
390         depends on PCI
391         help
392           This selects the VIA SD/MMC Card Reader driver, say Y or M here.
393           VIA provides one multi-functional card reader which integrated into
394           some motherboards manufactured by VIA. This card reader supports
395           SD/MMC/SDHC.
396           If you have a controller with this interface, say Y or M here.
397
398           If unsure, say N.
399
400 config SDH_BFIN
401         tristate "Blackfin Secure Digital Host support"
402         depends on MMC && ((BF54x && !BF544) || (BF51x && !BF512))
403         help
404           If you say yes here you will get support for the Blackfin on-chip
405           Secure Digital Host interface.  This includes support for MMC and
406           SD cards.
407
408           To compile this driver as a module, choose M here: the
409           module will be called bfin_sdh.
410
411           If unsure, say N.
412
413 config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
414         bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
415         depends on SDH_BFIN
416         help
417           If you say yes here SD-Cards may work on the EZkit.