GNU Linux-libre 4.14.332-gnu1
[releases.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_DEBUG
8         bool "MMC host drivers debugging"
9         depends on MMC != n
10         help
11           This is an option for use by developers; most people should
12           say N here. This enables MMC host driver debugging. And further
13           added host drivers please don't invent their private macro for
14           debugging.
15
16 config MMC_ARMMMCI
17         tristate "ARM AMBA Multimedia Card Interface support"
18         depends on ARM_AMBA
19         help
20           This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
21           Interface (PL180 and PL181) support.  If you have an ARM(R)
22           platform with a Multimedia Card slot, say Y or M here.
23
24           If unsure, say N.
25
26 config MMC_QCOM_DML
27         bool "Qualcomm Data Mover for SD Card Controller"
28         depends on MMC_ARMMMCI && QCOM_BAM_DMA
29         default y
30         help
31           This selects the Qualcomm Data Mover lite/local on SD Card controller.
32           This option will enable the dma to work correctly, if you are using
33           Qcom SOCs and MMC, you would probably need this option to get DMA working.
34
35           if unsure, say N.
36
37 config MMC_PXA
38         tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
39         depends on ARCH_PXA
40         help
41           This selects the Intel(R) PXA(R) Multimedia card Interface.
42           If you have a PXA(R) platform with a Multimedia Card slot,
43           say Y or M here.
44
45           If unsure, say N.
46
47 config MMC_SDHCI
48         tristate "Secure Digital Host Controller Interface support"
49         depends on HAS_DMA
50         help
51           This selects the generic Secure Digital Host Controller Interface.
52           It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
53           and Toshiba(R). Most controllers found in laptops are of this type.
54
55           If you have a controller with this interface, say Y or M here. You
56           also need to enable an appropriate bus interface.
57
58           If unsure, say N.
59
60 config MMC_SDHCI_IO_ACCESSORS
61         bool
62         depends on MMC_SDHCI
63         help
64           This is silent Kconfig symbol that is selected by the drivers that
65           need to overwrite SDHCI IO memory accessors.
66
67 config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
68         bool
69         depends on MMC_SDHCI
70         select MMC_SDHCI_IO_ACCESSORS
71         help
72           This option is selected by drivers running on big endian hosts
73           and performing I/O to a SDHCI controller through a bus that
74           implements a hardware byte swapper using a 32-bit datum.
75           This endian mapping mode is called "data invariance" and
76           has the effect of scrambling the addresses and formats of data
77           accessed in sizes other than the datum size.
78
79           This is the case for the Nintendo Wii SDHCI.
80
81 config MMC_SDHCI_PCI
82         tristate "SDHCI support on PCI bus"
83         depends on MMC_SDHCI && PCI
84         help
85           This selects the PCI Secure Digital Host Controller Interface.
86           Most controllers found today are PCI devices.
87
88           If you have a controller with this interface, say Y or M here.
89
90           If unsure, say N.
91
92 config MMC_RICOH_MMC
93         bool "Ricoh MMC Controller Disabler"
94         depends on MMC_SDHCI_PCI
95         default y
96         help
97           This adds a pci quirk to disable Ricoh MMC Controller. This
98           proprietary controller is unnecessary because the SDHCI driver
99           supports MMC cards on the SD controller, but if it is not
100           disabled, it will steal the MMC cards away - rendering them
101           useless. It is safe to select this even if you don't
102           have a Ricoh based card reader.
103
104           If unsure, say Y.
105
106 config MMC_SDHCI_ACPI
107         tristate "SDHCI support for ACPI enumerated SDHCI controllers"
108         depends on MMC_SDHCI && ACPI
109         select IOSF_MBI if X86
110         help
111           This selects support for ACPI enumerated SDHCI controllers,
112           identified by ACPI Compatibility ID PNP0D40 or specific
113           ACPI Hardware IDs.
114
115           If you have a controller with this interface, say Y or M here.
116
117           If unsure, say N.
118
119 config MMC_SDHCI_PLTFM
120         tristate "SDHCI platform and OF driver helper"
121         depends on MMC_SDHCI
122         help
123           This selects the common helper functions support for Secure Digital
124           Host Controller Interface based platform and OF drivers.
125
126           If you have a controller with this interface, say Y or M here.
127
128           If unsure, say N.
129
130 config MMC_SDHCI_OF_ARASAN
131         tristate "SDHCI OF support for the Arasan SDHCI controllers"
132         depends on MMC_SDHCI_PLTFM
133         depends on OF
134         depends on COMMON_CLK
135         help
136           This selects the Arasan Secure Digital Host Controller Interface
137           (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
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_OF_AT91
144         tristate "SDHCI OF support for the Atmel SDMMC controller"
145         depends on MMC_SDHCI_PLTFM
146         depends on OF
147         help
148           This selects the Atmel SDMMC driver
149
150 config MMC_SDHCI_OF_ESDHC
151         tristate "SDHCI OF support for the Freescale eSDHC controller"
152         depends on MMC_SDHCI_PLTFM
153         depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE
154         select MMC_SDHCI_IO_ACCESSORS
155         select FSL_GUTS
156         help
157           This selects the Freescale eSDHC controller support.
158
159           If you have a controller with this interface, say Y or M here.
160
161           If unsure, say N.
162
163 config MMC_SDHCI_OF_HLWD
164         tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
165         depends on MMC_SDHCI_PLTFM
166         depends on PPC
167         select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
168         help
169           This selects the Secure Digital Host Controller Interface (SDHCI)
170           found in the "Hollywood" chipset of the Nintendo Wii video game
171           console.
172
173           If you have a controller with this interface, say Y or M here.
174
175           If unsure, say N.
176
177 config MMC_SDHCI_CADENCE
178         tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
179         depends on MMC_SDHCI_PLTFM
180         depends on OF
181         help
182           This selects the Cadence SD/SDIO/eMMC driver.
183
184           If you have a controller with this interface, say Y or M here.
185
186           If unsure, say N.
187
188 config MMC_SDHCI_CNS3XXX
189         tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
190         depends on ARCH_CNS3XXX
191         depends on MMC_SDHCI_PLTFM
192         help
193           This selects the SDHCI support for CNS3xxx System-on-Chip devices.
194
195           If you have a controller with this interface, say Y or M here.
196
197           If unsure, say N.
198
199 config MMC_SDHCI_ESDHC_IMX
200         tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
201         depends on ARCH_MXC
202         depends on MMC_SDHCI_PLTFM
203         select MMC_SDHCI_IO_ACCESSORS
204         help
205           This selects the Freescale eSDHC/uSDHC controller support
206           found on i.MX25, i.MX35 i.MX5x and i.MX6x.
207
208           If you have a controller with this interface, say Y or M here.
209
210           If unsure, say N.
211
212 config MMC_SDHCI_DOVE
213         tristate "SDHCI support on Marvell's Dove SoC"
214         depends on ARCH_DOVE || MACH_DOVE
215         depends on MMC_SDHCI_PLTFM
216         select MMC_SDHCI_IO_ACCESSORS
217         help
218           This selects the Secure Digital Host Controller Interface in
219           Marvell's Dove SoC.
220
221           If you have a controller with this interface, say Y or M here.
222
223           If unsure, say N.
224
225 config MMC_SDHCI_TEGRA
226         tristate "SDHCI platform support for the Tegra SD/MMC Controller"
227         depends on ARCH_TEGRA
228         depends on MMC_SDHCI_PLTFM
229         select MMC_SDHCI_IO_ACCESSORS
230         help
231           This selects the Tegra SD/MMC controller. If you have a Tegra
232           platform with SD or MMC devices, say Y or M here.
233
234           If unsure, say N.
235
236 config MMC_SDHCI_S3C
237         tristate "SDHCI support on Samsung S3C SoC"
238         depends on MMC_SDHCI && PLAT_SAMSUNG
239         help
240           This selects the Secure Digital Host Controller Interface (SDHCI)
241           often referrered to as the HSMMC block in some of the Samsung S3C
242           range of SoC.
243
244           If you have a controller with this interface, say Y or M here.
245
246           If unsure, say N.
247
248 config MMC_SDHCI_SIRF
249         tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
250         depends on ARCH_SIRF
251         depends on MMC_SDHCI_PLTFM
252         select MMC_SDHCI_IO_ACCESSORS
253         help
254           This selects the SDHCI support for SiRF System-on-Chip devices.
255
256           If you have a controller with this interface, say Y or M here.
257
258           If unsure, say N.
259
260 config MMC_SDHCI_PXAV3
261         tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
262         depends on CLKDEV_LOOKUP
263         depends on MMC_SDHCI_PLTFM
264         depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
265         default CPU_MMP2
266         help
267           This selects the Marvell(R) PXAV3 SD Host Controller.
268           If you have a MMP2 platform with SD Host Controller
269           and a card slot, say Y or M here.
270
271           If unsure, say N.
272
273 config MMC_SDHCI_PXAV2
274         tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
275         depends on CLKDEV_LOOKUP
276         depends on MMC_SDHCI_PLTFM
277         depends on ARCH_MMP || COMPILE_TEST
278         default CPU_PXA910
279         help
280           This selects the Marvell(R) PXAV2 SD Host Controller.
281           If you have a PXA9XX platform with SD Host Controller
282           and a card slot, say Y or M here.
283
284           If unsure, say N.
285
286 config MMC_SDHCI_SPEAR
287         tristate "SDHCI support on ST SPEAr platform"
288         depends on MMC_SDHCI && PLAT_SPEAR
289         depends on OF
290         help
291           This selects the Secure Digital Host Controller Interface (SDHCI)
292           often referrered to as the HSMMC block in some of the ST SPEAR range
293           of SoC
294
295           If you have a controller with this interface, say Y or M here.
296
297           If unsure, say N.
298
299 config MMC_SDHCI_S3C_DMA
300         bool "DMA support on S3C SDHCI"
301         depends on MMC_SDHCI_S3C
302         help
303           Enable DMA support on the Samsung S3C SDHCI glue. The DMA
304           has proved to be problematic if the controller encounters
305           certain errors, and thus should be treated with care.
306
307           YMMV.
308
309 config MMC_SDHCI_BCM_KONA
310         tristate "SDHCI support on Broadcom KONA platform"
311         depends on ARCH_BCM_MOBILE
312         depends on MMC_SDHCI_PLTFM
313         help
314           This selects the Broadcom Kona Secure Digital Host Controller
315           Interface(SDHCI) support.
316           This is used in Broadcom mobile SoCs.
317
318           If you have a controller with this interface, say Y or M here.
319
320 config MMC_SDHCI_F_SDH30
321         tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
322         depends on MMC_SDHCI_PLTFM
323         depends on OF
324         help
325           This selects the Secure Digital Host Controller Interface (SDHCI)
326           Needed by some Fujitsu SoC for MMC / SD / SDIO support.
327           If you have a controller with this interface, say Y or M here.
328
329           If unsure, say N.
330
331 config MMC_SDHCI_IPROC
332         tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
333         depends on ARCH_BCM2835 || ARCH_BCM_IPROC || COMPILE_TEST
334         depends on MMC_SDHCI_PLTFM
335         default ARCH_BCM_IPROC
336         select MMC_SDHCI_IO_ACCESSORS
337         help
338           This selects the iProc SD/MMC controller.
339
340           If you have a BCM2835 or IPROC platform with SD or MMC devices,
341           say Y or M here.
342
343           If unsure, say N.
344
345 config MMC_MESON_GX
346         tristate "Amlogic S905/GX* SD/MMC Host Controller support"
347         depends on ARCH_MESON && MMC
348         help
349           This selects support for the Amlogic SD/MMC Host Controller
350           found on the S905/GX* family of SoCs.  This controller is
351           MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
352
353           If you have a controller with this interface, say Y here.
354
355 config MMC_MOXART
356         tristate "MOXART SD/MMC Host Controller support"
357         depends on ARCH_MOXART && MMC
358         help
359           This selects support for the MOXART SD/MMC Host Controller.
360           MOXA provides one multi-functional card reader which can
361           be found on some embedded hardware such as UC-7112-LX.
362           If you have a controller with this interface, say Y here.
363
364 config MMC_SDHCI_ST
365         tristate "SDHCI support on STMicroelectronics SoC"
366         depends on ARCH_STI || FSP2
367         depends on MMC_SDHCI_PLTFM
368         select MMC_SDHCI_IO_ACCESSORS
369         help
370           This selects the Secure Digital Host Controller Interface in
371           STMicroelectronics SoCs.
372
373           If you have a controller with this interface, say Y or M here.
374           If unsure, say N.
375
376 config MMC_OMAP
377         tristate "TI OMAP Multimedia Card Interface support"
378         depends on ARCH_OMAP
379         depends on TPS65010 || !MACH_OMAP_H2
380         help
381           This selects the TI OMAP Multimedia card Interface.
382           If you have an OMAP board with a Multimedia Card slot,
383           say Y or M here.
384
385           If unsure, say N.
386
387 config MMC_OMAP_HS
388         tristate "TI OMAP High Speed Multimedia Card Interface support"
389         depends on HAS_DMA
390         depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
391         help
392           This selects the TI OMAP High Speed Multimedia card Interface.
393           If you have an omap2plus board with a Multimedia Card slot,
394           say Y or M here.
395
396           If unsure, say N.
397
398 config MMC_WBSD
399         tristate "Winbond W83L51xD SD/MMC Card Interface support"
400         depends on ISA_DMA_API && !M68K
401         help
402           This selects the Winbond(R) W83L51xD Secure digital and
403           Multimedia card Interface.
404           If you have a machine with a integrated W83L518D or W83L519D
405           SD/MMC card reader, say Y or M here.
406
407           If unsure, say N.
408
409 config MMC_AU1X
410         bool "Alchemy AU1XX0 MMC Card Interface support"
411         depends on MIPS_ALCHEMY
412         depends on MMC=y
413         help
414           This selects the AMD Alchemy(R) Multimedia card interface.
415           If you have a Alchemy platform with a MMC slot, say Y here.
416
417           If unsure, say N.
418
419 config MMC_ATMELMCI
420         tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
421         depends on ARCH_AT91
422         help
423           This selects the Atmel Multimedia Card Interface driver.
424           If you have an AT91 platform with a Multimedia Card slot,
425           say Y or M here.
426
427           If unsure, say N.
428
429 config MMC_SDHCI_MSM
430         tristate "Qualcomm SDHCI Controller Support"
431         depends on ARCH_QCOM || (ARM && COMPILE_TEST)
432         depends on MMC_SDHCI_PLTFM
433         select MMC_SDHCI_IO_ACCESSORS
434         help
435           This selects the Secure Digital Host Controller Interface (SDHCI)
436           support present in Qualcomm SOCs. The controller supports
437           SD/MMC/SDIO devices.
438
439           If you have a controller with this interface, say Y or M here.
440
441           If unsure, say N.
442
443 config MMC_MXC
444         tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
445         depends on ARCH_MXC || PPC_MPC512x
446         help
447           This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
448           Multimedia Card Interface. If you have an i.MX or MPC512x platform
449           with a Multimedia Card slot, say Y or M here.
450
451           If unsure, say N.
452
453 config MMC_MXS
454         tristate "Freescale MXS Multimedia Card Interface support"
455         depends on ARCH_MXS && MXS_DMA
456         help
457           This selects the Freescale SSP MMC controller found on MXS based
458           platforms like mx23/28.
459
460           If unsure, say N.
461
462 config MMC_TIFM_SD
463         tristate "TI Flash Media MMC/SD Interface support"
464         depends on PCI
465         select TIFM_CORE
466         help
467           Say Y here if you want to be able to access MMC/SD cards with
468           the Texas Instruments(R) Flash Media card reader, found in many
469           laptops.
470           This option 'selects' (turns on, enables) 'TIFM_CORE', but you
471           probably also need appropriate card reader host adapter, such as
472           'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
473           (TIFM_7XX1)'.
474
475           To compile this driver as a module, choose M here: the
476           module will be called tifm_sd.
477
478 config MMC_MVSDIO
479         tristate "Marvell MMC/SD/SDIO host driver"
480         depends on PLAT_ORION
481         depends on OF
482         ---help---
483           This selects the Marvell SDIO host driver.
484           SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
485           SoC controllers.
486
487           To compile this driver as a module, choose M here: the
488           module will be called mvsdio.
489
490 config MMC_DAVINCI
491         tristate "TI DAVINCI Multimedia Card Interface support"
492         depends on ARCH_DAVINCI
493         help
494           This selects the TI DAVINCI Multimedia card Interface.
495           If you have an DAVINCI board with a Multimedia Card slot,
496           say Y or M here.  If unsure, say N.
497
498 config MMC_GOLDFISH
499         tristate "goldfish qemu Multimedia Card Interface support"
500         depends on HAS_DMA
501         depends on GOLDFISH || COMPILE_TEST
502         help
503           This selects the Goldfish Multimedia card Interface emulation
504           found on the Goldfish Android virtual device emulation.
505
506 config MMC_SPI
507         tristate "MMC/SD/SDIO over SPI"
508         depends on SPI_MASTER && HAS_DMA
509         select CRC7
510         select CRC_ITU_T
511         help
512           Some systems access MMC/SD/SDIO cards using a SPI controller
513           instead of using a "native" MMC/SD/SDIO controller.  This has a
514           disadvantage of being relatively high overhead, but a compensating
515           advantage of working on many systems without dedicated MMC/SD/SDIO
516           controllers.
517
518           If unsure, or if your system has no SPI master driver, say N.
519
520 config MMC_S3C
521         tristate "Samsung S3C SD/MMC Card Interface support"
522         depends on ARCH_S3C24XX
523         depends on S3C24XX_DMAC
524         help
525           This selects a driver for the MCI interface found in
526           Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
527           If you have a board based on one of those and a MMC/SD
528           slot, say Y or M here.
529
530           If unsure, say N.
531
532 config MMC_S3C_HW_SDIO_IRQ
533        bool "Hardware support for SDIO IRQ"
534        depends on MMC_S3C
535        help
536          Enable the hardware support for SDIO interrupts instead of using
537          the generic polling code.
538
539 choice
540         prompt "Samsung S3C SD/MMC transfer code"
541         depends on MMC_S3C
542
543 config MMC_S3C_PIO
544         bool "Use PIO transfers only"
545         help
546           Use PIO to transfer data between memory and the hardware.
547
548           PIO is slower than DMA as it requires CPU instructions to
549           move the data. This has been the traditional default for
550           the S3C MCI driver.
551
552 config MMC_S3C_DMA
553         bool "Use DMA transfers only"
554         help
555           Use DMA to transfer data between memory and the hardare.
556
557           Currently, the DMA support in this driver seems to not be
558           working properly and needs to be debugged before this
559           option is useful.
560
561 endchoice
562
563 config MMC_SDRICOH_CS
564         tristate "MMC/SD driver for Ricoh Bay1Controllers"
565         depends on PCI && PCMCIA
566         help
567           Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
568           card whenever you insert a MMC or SD card into the card slot.
569
570           To compile this driver as a module, choose M here: the
571           module will be called sdricoh_cs.
572
573 config MMC_TMIO_CORE
574         tristate
575
576 config MMC_TMIO
577         tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
578         depends on MFD_TMIO || MFD_ASIC3
579         select MMC_TMIO_CORE
580         help
581           This provides support for the SD/MMC cell found in TC6393XB,
582           T7L66XB and also HTC ASIC3
583
584 config MMC_SDHI
585         tristate "Renesas SDHI SD/SDIO controller support"
586         depends on SUPERH || ARM || ARM64
587         depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
588         select MMC_TMIO_CORE
589         select MMC_SDHI_SYS_DMAC if (SUPERH || ARM)
590         select MMC_SDHI_INTERNAL_DMAC if ARM64
591         help
592           This provides support for the SDHI SD/SDIO controller found in
593           Renesas SuperH, ARM and ARM64 based SoCs
594
595 config MMC_SDHI_SYS_DMAC
596         tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
597         depends on MMC_SDHI
598         help
599           This provides DMA support for SDHI SD/SDIO controllers
600           using SYS-DMAC via DMA Engine. This supports the controllers
601           found in SuperH and Renesas ARM based SoCs.
602
603 config MMC_SDHI_INTERNAL_DMAC
604         tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
605         depends on ARM64 || COMPILE_TEST
606         depends on MMC_SDHI
607         help
608           This provides DMA support for SDHI SD/SDIO controllers
609           using on-chip bus mastering. This supports the controllers
610           found in arm64 based SoCs.
611
612 config MMC_CB710
613         tristate "ENE CB710 MMC/SD Interface support"
614         depends on PCI
615         select CB710_CORE
616         help
617           This option enables support for MMC/SD part of ENE CB710/720 Flash
618           memory card reader found in some laptops (ie. some versions of
619           HP Compaq nx9500).
620
621           This driver can also be built as a module. If so, the module
622           will be called cb710-mmc.
623
624 config MMC_VIA_SDMMC
625         tristate "VIA SD/MMC Card Reader Driver"
626         depends on PCI
627         help
628           This selects the VIA SD/MMC Card Reader driver, say Y or M here.
629           VIA provides one multi-functional card reader which integrated into
630           some motherboards manufactured by VIA. This card reader supports
631           SD/MMC/SDHC.
632           If you have a controller with this interface, say Y or M here.
633
634           If unsure, say N.
635
636 config SDH_BFIN
637         tristate "Blackfin Secure Digital Host support"
638         depends on (BF54x && !BF544) || (BF51x && !BF512)
639         help
640           If you say yes here you will get support for the Blackfin on-chip
641           Secure Digital Host interface.  This includes support for MMC and
642           SD cards.
643
644           To compile this driver as a module, choose M here: the
645           module will be called bfin_sdh.
646
647           If unsure, say N.
648
649 config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
650         bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
651         depends on SDH_BFIN
652         help
653           If you say yes here SD-Cards may work on the EZkit.
654
655 config MMC_CAVIUM_OCTEON
656         tristate "Cavium OCTEON SD/MMC Card Interface support"
657         depends on CAVIUM_OCTEON_SOC
658         help
659           This selects Cavium OCTEON SD/MMC card Interface.
660           If you have an OCTEON board with a Multimedia Card slot,
661           say Y or M here.
662
663           If unsure, say N.
664
665 config MMC_CAVIUM_THUNDERX
666         tristate "Cavium ThunderX SD/MMC Card Interface support"
667         depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
668         depends on GPIOLIB
669         depends on OF_ADDRESS
670         help
671           This selects Cavium ThunderX SD/MMC Card Interface.
672           If you have an Cavium ARM64 board with a Multimedia Card slot
673           or builtin eMMC chip say Y or M here. If built as a module
674           the module will be called thunderx_mmc.ko.
675
676 config MMC_DW
677         tristate "Synopsys DesignWare Memory Card Interface"
678         depends on HAS_DMA
679         depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
680         help
681           This selects support for the Synopsys DesignWare Mobile Storage IP
682           block, this provides host support for SD and MMC interfaces, in both
683           PIO, internal DMA mode and external DMA mode.
684
685 config MMC_DW_PLTFM
686         tristate "Synopsys Designware MCI Support as platform device"
687         depends on MMC_DW
688         default y
689         help
690           This selects the common helper functions support for Host Controller
691           Interface based platform driver. Please select this option if the IP
692           is present as a platform device. This is the common interface for the
693           Synopsys Designware IP.
694
695           If you have a controller with this interface, say Y or M here.
696
697           If unsure, say Y.
698
699 config MMC_DW_EXYNOS
700         tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
701         depends on MMC_DW
702         select MMC_DW_PLTFM
703         help
704           This selects support for Samsung Exynos SoC specific extensions to the
705           Synopsys DesignWare Memory Card Interface driver. Select this option
706           for platforms based on Exynos4 and Exynos5 SoC's.
707
708 config MMC_DW_K3
709         tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
710         depends on MMC_DW
711         select MMC_DW_PLTFM
712         help
713           This selects support for Hisilicon K3 SoC specific extensions to the
714           Synopsys DesignWare Memory Card Interface driver. Select this option
715           for platforms based on Hisilicon K3 SoC's.
716
717 config MMC_DW_PCI
718         tristate "Synopsys Designware MCI support on PCI bus"
719         depends on MMC_DW && PCI
720         help
721           This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
722           Select this option if the IP is present on PCI platform.
723
724           If you have a controller with this interface, say Y or M here.
725
726           If unsure, say N.
727
728 config MMC_DW_ROCKCHIP
729         tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
730         depends on MMC_DW && ARCH_ROCKCHIP
731         select MMC_DW_PLTFM
732         help
733           This selects support for Rockchip SoC specific extensions to the
734           Synopsys DesignWare Memory Card Interface driver. Select this option
735           for platforms based on RK3066, RK3188 and RK3288 SoC's.
736
737 config MMC_DW_ZX
738         tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
739         depends on MMC_DW && ARCH_ZX
740         select MMC_DW_PLTFM
741         help
742           This selects support for ZTE SoC specific extensions to the
743           Synopsys DesignWare Memory Card Interface driver. Select this option
744           for platforms based on ZX296718 SoC's.
745
746 config MMC_SH_MMCIF
747         tristate "SuperH Internal MMCIF support"
748         depends on HAS_DMA
749         depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
750         help
751           This selects the MMC Host Interface controller (MMCIF) found in various
752           Renesas SoCs for SH and ARM architectures.
753
754
755 config MMC_JZ4740
756         tristate "JZ4740 SD/Multimedia Card Interface support"
757         depends on MACH_JZ4740
758         help
759           This selects support for the SD/MMC controller on Ingenic JZ4740
760           SoCs.
761           If you have a board based on such a SoC and with a SD/MMC slot,
762           say Y or M here.
763
764 config MMC_VUB300
765         tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
766         depends on USB
767         help
768           This selects support for Elan Digital Systems' VUB300 chip.
769
770           The VUB300 is a USB-SDIO Host Controller Interface chip
771           that enables the host computer to use SDIO/SD/MMC cards
772           via a USB 2.0 or USB 1.1 host.
773
774           The VUB300 chip will be found in both physically separate
775           USB to SDIO/SD/MMC adapters and embedded on some motherboards.
776
777           The VUB300 chip supports SD and MMC memory cards in addition
778           to single and multifunction SDIO cards.
779
780           /*(DEBLOBBED)*/
781
782           To compile this mmc host controller driver as a module,
783           choose M here: the module will be called vub300.
784
785           If you have a computer with an embedded VUB300 chip
786           or if you intend connecting a USB adapter based on a
787           VUB300 chip say Y or M here.
788
789 config MMC_USHC
790         tristate "USB SD Host Controller (USHC) support"
791         depends on USB
792         help
793           This selects support for USB SD Host Controllers based on
794           the Cypress Astoria chip with firmware compliant with CSR's
795           USB SD Host Controller specification (CS-118793-SP).
796
797           CSR boards with this device include: USB<>SDIO (M1985v2),
798           and Ultrasira.
799
800           Note: These controllers only support SDIO cards and do not
801           support MMC or SD memory cards.
802
803 config MMC_WMT
804         tristate "Wondermedia SD/MMC Host Controller support"
805         depends on ARCH_VT8500
806         default y
807         help
808           This selects support for the SD/MMC Host Controller on
809           Wondermedia WM8505/WM8650 based SoCs.
810
811           To compile this driver as a module, choose M here: the
812           module will be called wmt-sdmmc.
813
814 config MMC_USDHI6ROL0
815         tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
816         depends on HAS_DMA
817         help
818           This selects support for the Renesas USDHI6ROL0 SD/SDIO
819           Host Controller
820
821 config MMC_REALTEK_PCI
822         tristate "Realtek PCI-E SD/MMC Card Interface Driver"
823         depends on MFD_RTSX_PCI
824         help
825           Say Y here to include driver code to support SD/MMC card interface
826           of Realtek PCI-E card reader
827
828 config MMC_REALTEK_USB
829         tristate "Realtek USB SD/MMC Card Interface Driver"
830         depends on MFD_RTSX_USB
831         help
832           Say Y here to include driver code to support SD/MMC card interface
833           of Realtek RTS5129/39 series card reader
834
835 config MMC_SUNXI
836         tristate "Allwinner sunxi SD/MMC Host Controller support"
837         depends on ARCH_SUNXI
838         help
839           This selects support for the SD/MMC Host Controller on
840           Allwinner sunxi SoCs.
841
842 config MMC_TOSHIBA_PCI
843         tristate "Toshiba Type A SD/MMC Card Interface Driver"
844         depends on PCI
845         help
846
847 config MMC_BCM2835
848         tristate "Broadcom BCM2835 SDHOST MMC Controller support"
849         depends on ARCH_BCM2835 || COMPILE_TEST
850         depends on HAS_DMA
851         help
852           This selects the BCM2835 SDHOST MMC controller. If you have
853           a BCM2835 platform with SD or MMC devices, say Y or M here.
854
855           Note that the BCM2835 has two SD controllers: The Arasan
856           sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
857           sdhost controller (supported by this driver).
858
859           If unsure, say N.
860
861 config MMC_MTK
862         tristate "MediaTek SD/MMC Card Interface support"
863         depends on HAS_DMA
864         help
865           This selects the MediaTek(R) Secure digital and Multimedia card Interface.
866           If you have a machine with a integrated SD/MMC card reader, say Y or M here.
867           This is needed if support for any SD/SDIO/MMC devices is required.
868           If unsure, say N.
869
870 config MMC_SDHCI_MICROCHIP_PIC32
871         tristate "Microchip PIC32MZDA SDHCI support"
872         depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
873         help
874           This selects the Secure Digital Host Controller Interface (SDHCI)
875           for PIC32MZDA platform.
876
877           If you have a controller with this interface, say Y or M here.
878
879           If unsure, say N.
880 config MMC_SDHCI_BRCMSTB
881         tristate "Broadcom SDIO/SD/MMC support"
882         depends on ARCH_BRCMSTB || BMIPS_GENERIC
883         depends on MMC_SDHCI_PLTFM
884         default y
885         help
886           This selects support for the SDIO/SD/MMC Host Controller on
887           Broadcom STB SoCs.
888
889           If unsure, say Y.
890
891 config MMC_SDHCI_XENON
892         tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
893         depends on MMC_SDHCI_PLTFM
894         help
895           This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
896           If you have a controller with this interface, say Y or M here.
897           If unsure, say N.