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