Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvar...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / 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 bool "Ricoh MMC Controller Disabler (EXPERIMENTAL)"
73 depends on MMC_SDHCI_PCI
74 help
75 This adds a pci quirk to disable 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 even if you don't
80 have a Ricoh based card reader.
81
82 If unsure, say Y.
83
84 config MMC_SDHCI_OF
85 tristate "SDHCI support on OpenFirmware platforms"
86 depends on MMC_SDHCI && OF
87 help
88 This selects the OF support for Secure Digital Host Controller
89 Interfaces.
90
91 If unsure, say N.
92
93 config MMC_SDHCI_OF_ESDHC
94 bool "SDHCI OF support for the Freescale eSDHC controller"
95 depends on MMC_SDHCI_OF
96 depends on PPC_OF
97 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
98 help
99 This selects the Freescale eSDHC controller support.
100
101 If unsure, say N.
102
103 config MMC_SDHCI_OF_HLWD
104 bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
105 depends on MMC_SDHCI_OF
106 depends on PPC_OF
107 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
108 help
109 This selects the Secure Digital Host Controller Interface (SDHCI)
110 found in the "Hollywood" chipset of the Nintendo Wii video game
111 console.
112
113 If unsure, say N.
114
115 config MMC_SDHCI_PLTFM
116 tristate "SDHCI support on the platform specific bus"
117 depends on MMC_SDHCI
118 help
119 This selects the platform specific bus support for Secure Digital Host
120 Controller Interface.
121
122 If you have a controller with this interface, say Y or M here.
123
124 If unsure, say N.
125
126 config MMC_SDHCI_CNS3XXX
127 bool "SDHCI support on the Cavium Networks CNS3xxx SoC"
128 depends on ARCH_CNS3XXX
129 depends on MMC_SDHCI_PLTFM
130 help
131 This selects the SDHCI support for CNS3xxx System-on-Chip devices.
132
133 If unsure, say N.
134
135 config MMC_SDHCI_ESDHC_IMX
136 bool "SDHCI platform support for the Freescale eSDHC i.MX controller"
137 depends on MMC_SDHCI_PLTFM && (ARCH_MX25 || ARCH_MX35 || ARCH_MX5)
138 select MMC_SDHCI_IO_ACCESSORS
139 help
140 This selects the Freescale eSDHC controller support on the platform
141 bus, found on platforms like mx35/51.
142
143 If unsure, say N.
144
145 config MMC_SDHCI_S3C
146 tristate "SDHCI support on Samsung S3C SoC"
147 depends on MMC_SDHCI && PLAT_SAMSUNG
148 help
149 This selects the Secure Digital Host Controller Interface (SDHCI)
150 often referrered to as the HSMMC block in some of the Samsung S3C
151 range of SoC.
152
153 Note, due to the problems with DMA, the DMA support is only
154 available with CONFIG_EXPERIMENTAL is selected.
155
156 If you have a controller with this interface, say Y or M here.
157
158 If unsure, say N.
159
160 config MMC_SDHCI_PXA
161 tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
162 depends on ARCH_PXA || ARCH_MMP
163 select MMC_SDHCI
164 select MMC_SDHCI_IO_ACCESSORS
165 help
166 This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
167 If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
168 and a card slot, say Y or M here.
169
170 If unsure, say N.
171
172 config MMC_SDHCI_SPEAR
173 tristate "SDHCI support on ST SPEAr platform"
174 depends on MMC_SDHCI && PLAT_SPEAR
175 help
176 This selects the Secure Digital Host Controller Interface (SDHCI)
177 often referrered to as the HSMMC block in some of the ST SPEAR range
178 of SoC
179
180 If you have a controller with this interface, say Y or M here.
181
182 If unsure, say N.
183
184 config MMC_SDHCI_S3C_DMA
185 bool "DMA support on S3C SDHCI"
186 depends on MMC_SDHCI_S3C && EXPERIMENTAL
187 help
188 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
189 has proved to be problematic if the controller encounters
190 certain errors, and thus should be treated with care.
191
192 YMMV.
193
194 config MMC_OMAP
195 tristate "TI OMAP Multimedia Card Interface support"
196 depends on ARCH_OMAP
197 select TPS65010 if MACH_OMAP_H2
198 help
199 This selects the TI OMAP Multimedia card Interface.
200 If you have an OMAP board with a Multimedia Card slot,
201 say Y or M here.
202
203 If unsure, say N.
204
205 config MMC_OMAP_HS
206 tristate "TI OMAP High Speed Multimedia Card Interface support"
207 depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
208 help
209 This selects the TI OMAP High Speed Multimedia card Interface.
210 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
211 Multimedia Card slot, say Y or M here.
212
213 If unsure, say N.
214
215 config MMC_WBSD
216 tristate "Winbond W83L51xD SD/MMC Card Interface support"
217 depends on ISA_DMA_API
218 help
219 This selects the Winbond(R) W83L51xD Secure digital and
220 Multimedia card Interface.
221 If you have a machine with a integrated W83L518D or W83L519D
222 SD/MMC card reader, say Y or M here.
223
224 If unsure, say N.
225
226 config MMC_AU1X
227 tristate "Alchemy AU1XX0 MMC Card Interface support"
228 depends on SOC_AU1200
229 help
230 This selects the AMD Alchemy(R) Multimedia card interface.
231 If you have a Alchemy platform with a MMC slot, say Y or M here.
232
233 If unsure, say N.
234
235 choice
236 prompt "Atmel SD/MMC Driver"
237 depends on AVR32 || ARCH_AT91
238 default MMC_ATMELMCI if AVR32
239 help
240 Choose which driver to use for the Atmel MCI Silicon
241
242 config MMC_AT91
243 tristate "AT91 SD/MMC Card Interface support"
244 depends on ARCH_AT91
245 help
246 This selects the AT91 MCI controller.
247
248 If unsure, say N.
249
250 config MMC_ATMELMCI
251 tristate "Atmel Multimedia Card Interface support"
252 depends on AVR32 || ARCH_AT91
253 help
254 This selects the Atmel Multimedia Card Interface driver. If
255 you have an AT32 (AVR32) or AT91 platform with a Multimedia
256 Card slot, say Y or M here.
257
258 If unsure, say N.
259
260 endchoice
261
262 config MMC_ATMELMCI_DMA
263 bool "Atmel MCI DMA support (EXPERIMENTAL)"
264 depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE && EXPERIMENTAL
265 help
266 Say Y here to have the Atmel MCI driver use a DMA engine to
267 do data transfers and thus increase the throughput and
268 reduce the CPU utilization. Note that this is highly
269 experimental and may cause the driver to lock up.
270
271 If unsure, say N.
272
273 config MMC_IMX
274 tristate "Motorola i.MX Multimedia Card Interface support"
275 depends on ARCH_MX1
276 help
277 This selects the Motorola i.MX Multimedia card Interface.
278 If you have a i.MX platform with a Multimedia Card slot,
279 say Y or M here.
280
281 If unsure, say N.
282
283 config MMC_MSM
284 tristate "Qualcomm SDCC Controller Support"
285 depends on MMC && ARCH_MSM
286 help
287 This provides support for the SD/MMC cell found in the
288 MSM and QSD SOCs from Qualcomm. The controller also has
289 support for SDIO devices.
290
291 config MMC_MXC
292 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
293 depends on ARCH_MXC
294 help
295 This selects the Freescale i.MX2/3 Multimedia card Interface.
296 If you have a i.MX platform with a Multimedia Card slot,
297 say Y or M here.
298
299 If unsure, say N.
300
301 config MMC_TIFM_SD
302 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
303 depends on EXPERIMENTAL && PCI
304 select TIFM_CORE
305 help
306 Say Y here if you want to be able to access MMC/SD cards with
307 the Texas Instruments(R) Flash Media card reader, found in many
308 laptops.
309 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
310 probably also need appropriate card reader host adapter, such as
311 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
312 (TIFM_7XX1)'.
313
314 To compile this driver as a module, choose M here: the
315 module will be called tifm_sd.
316
317 config MMC_MVSDIO
318 tristate "Marvell MMC/SD/SDIO host driver"
319 depends on PLAT_ORION
320 ---help---
321 This selects the Marvell SDIO host driver.
322 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
323 SoC controllers.
324
325 To compile this driver as a module, choose M here: the
326 module will be called mvsdio.
327
328 config MMC_DAVINCI
329 tristate "TI DAVINCI Multimedia Card Interface support"
330 depends on ARCH_DAVINCI
331 help
332 This selects the TI DAVINCI Multimedia card Interface.
333 If you have an DAVINCI board with a Multimedia Card slot,
334 say Y or M here. If unsure, say N.
335
336 config MMC_SPI
337 tristate "MMC/SD/SDIO over SPI"
338 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
339 select CRC7
340 select CRC_ITU_T
341 help
342 Some systems access MMC/SD/SDIO cards using a SPI controller
343 instead of using a "native" MMC/SD/SDIO controller. This has a
344 disadvantage of being relatively high overhead, but a compensating
345 advantage of working on many systems without dedicated MMC/SD/SDIO
346 controllers.
347
348 If unsure, or if your system has no SPI master driver, say N.
349
350 config MMC_S3C
351 tristate "Samsung S3C SD/MMC Card Interface support"
352 depends on ARCH_S3C2410
353 help
354 This selects a driver for the MCI interface found in
355 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
356 If you have a board based on one of those and a MMC/SD
357 slot, say Y or M here.
358
359 If unsure, say N.
360
361 config MMC_S3C_HW_SDIO_IRQ
362 bool "Hardware support for SDIO IRQ"
363 depends on MMC_S3C
364 help
365 Enable the hardware support for SDIO interrupts instead of using
366 the generic polling code.
367
368 choice
369 prompt "Samsung S3C SD/MMC transfer code"
370 depends on MMC_S3C
371
372 config MMC_S3C_PIO
373 bool "Use PIO transfers only"
374 help
375 Use PIO to transfer data between memory and the hardware.
376
377 PIO is slower than DMA as it requires CPU instructions to
378 move the data. This has been the traditional default for
379 the S3C MCI driver.
380
381 config MMC_S3C_DMA
382 bool "Use DMA transfers only (EXPERIMENTAL)"
383 depends on EXPERIMENTAL
384 help
385 Use DMA to transfer data between memory and the hardare.
386
387 Currently, the DMA support in this driver seems to not be
388 working properly and needs to be debugged before this
389 option is useful.
390
391 config MMC_S3C_PIODMA
392 bool "Support for both PIO and DMA (EXPERIMENTAL)"
393 help
394 Compile both the PIO and DMA transfer routines into the
395 driver and let the platform select at run-time which one
396 is best.
397
398 See notes for the DMA option.
399
400 endchoice
401
402 config MMC_SDRICOH_CS
403 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
404 depends on EXPERIMENTAL && PCI && PCMCIA
405 help
406 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
407 card whenever you insert a MMC or SD card into the card slot.
408
409 To compile this driver as a module, choose M here: the
410 module will be called sdricoh_cs.
411
412 config MMC_TMIO
413 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
414 depends on MFD_TMIO || MFD_ASIC3 || MFD_SH_MOBILE_SDHI
415 help
416 This provides support for the SD/MMC cell found in TC6393XB,
417 T7L66XB and also HTC ASIC3
418
419 config MMC_CB710
420 tristate "ENE CB710 MMC/SD Interface support"
421 depends on PCI
422 select MISC_DEVICES
423 select CB710_CORE
424 help
425 This option enables support for MMC/SD part of ENE CB710/720 Flash
426 memory card reader found in some laptops (ie. some versions of
427 HP Compaq nx9500).
428
429 This driver can also be built as a module. If so, the module
430 will be called cb710-mmc.
431
432 config MMC_VIA_SDMMC
433 tristate "VIA SD/MMC Card Reader Driver"
434 depends on PCI
435 help
436 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
437 VIA provides one multi-functional card reader which integrated into
438 some motherboards manufactured by VIA. This card reader supports
439 SD/MMC/SDHC.
440 If you have a controller with this interface, say Y or M here.
441
442 If unsure, say N.
443
444 config SDH_BFIN
445 tristate "Blackfin Secure Digital Host support"
446 depends on (BF54x && !BF544) || (BF51x && !BF512)
447 help
448 If you say yes here you will get support for the Blackfin on-chip
449 Secure Digital Host interface. This includes support for MMC and
450 SD cards.
451
452 To compile this driver as a module, choose M here: the
453 module will be called bfin_sdh.
454
455 If unsure, say N.
456
457 config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
458 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
459 depends on SDH_BFIN
460 help
461 If you say yes here SD-Cards may work on the EZkit.
462
463 config MMC_SH_MMCIF
464 tristate "SuperH Internal MMCIF support"
465 depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
466 help
467 This selects the MMC Host Interface controler (MMCIF).
468
469 This driver supports MMCIF in sh7724/sh7757/sh7372.
470
471 config MMC_JZ4740
472 tristate "JZ4740 SD/Multimedia Card Interface support"
473 depends on MACH_JZ4740
474 help
475 This selects support for the SD/MMC controller on Ingenic JZ4740
476 SoCs.
477 If you have a board based on such a SoC and with a SD/MMC slot,
478 say Y or M here.
479
480 config MMC_USHC
481 tristate "USB SD Host Controller (USHC) support"
482 depends on USB
483 help
484 This selects support for USB SD Host Controllers based on
485 the Cypress Astoria chip with firmware compliant with CSR's
486 USB SD Host Controller specification (CS-118793-SP).
487
488 CSR boards with this device include: USB<>SDIO (M1985v2),
489 and Ultrasira.
490
491 Note: These controllers only support SDIO cards and do not
492 support MMC or SD memory cards.