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