blob: 1aa2163167f41de683f23194865779e3703eba7f [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#
2# MMC/SD host controller drivers
3#
4
5comment "MMC/SD/SDIO Host Controller Drivers"
6
7config 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
16config 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
26config 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
37config 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
47config 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
60config 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
67config 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
81config 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
92config 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
106config 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
119config 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
130config 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
143config 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
150config 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
163config 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
177config 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
188config 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
199config 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
212config 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
225config 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
236config 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
248config 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
260config 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
273config 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
286config 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
299config 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
309config 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
320config 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
331config 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
345config 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
355config 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
364config 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
376config 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
387config 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
398config MMC_WBSD
399 tristate "Winbond W83L51xD SD/MMC Card Interface support"
400 depends on ISA_DMA_API
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
409config MMC_AU1X
410 tristate "Alchemy AU1XX0 MMC Card Interface support"
411 depends on MIPS_ALCHEMY
412 help
413 This selects the AMD Alchemy(R) Multimedia card interface.
414 If you have a Alchemy platform with a MMC slot, say Y or M here.
415
416 If unsure, say N.
417
418config MMC_ATMELMCI
419 tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
420 depends on ARCH_AT91
421 help
422 This selects the Atmel Multimedia Card Interface driver.
423 If you have an AT91 platform with a Multimedia Card slot,
424 say Y or M here.
425
426 If unsure, say N.
427
428config MMC_SDHCI_MSM
429 tristate "Qualcomm SDHCI Controller Support"
430 depends on ARCH_QCOM || (ARM && COMPILE_TEST)
431 depends on MMC_SDHCI_PLTFM
432 select MMC_SDHCI_IO_ACCESSORS
433 help
434 This selects the Secure Digital Host Controller Interface (SDHCI)
435 support present in Qualcomm SOCs. The controller supports
436 SD/MMC/SDIO devices.
437
438 If you have a controller with this interface, say Y or M here.
439
440 If unsure, say N.
441
442config MMC_MXC
443 tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
444 depends on ARCH_MXC || PPC_MPC512x
445 help
446 This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
447 Multimedia Card Interface. If you have an i.MX or MPC512x platform
448 with a Multimedia Card slot, say Y or M here.
449
450 If unsure, say N.
451
452config MMC_MXS
453 tristate "Freescale MXS Multimedia Card Interface support"
454 depends on ARCH_MXS && MXS_DMA
455 help
456 This selects the Freescale SSP MMC controller found on MXS based
457 platforms like mx23/28.
458
459 If unsure, say N.
460
461config MMC_TIFM_SD
462 tristate "TI Flash Media MMC/SD Interface support"
463 depends on PCI
464 select TIFM_CORE
465 help
466 Say Y here if you want to be able to access MMC/SD cards with
467 the Texas Instruments(R) Flash Media card reader, found in many
468 laptops.
469 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
470 probably also need appropriate card reader host adapter, such as
471 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
472 (TIFM_7XX1)'.
473
474 To compile this driver as a module, choose M here: the
475 module will be called tifm_sd.
476
477config MMC_MVSDIO
478 tristate "Marvell MMC/SD/SDIO host driver"
479 depends on PLAT_ORION
480 depends on OF
481 ---help---
482 This selects the Marvell SDIO host driver.
483 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
484 SoC controllers.
485
486 To compile this driver as a module, choose M here: the
487 module will be called mvsdio.
488
489config MMC_DAVINCI
490 tristate "TI DAVINCI Multimedia Card Interface support"
491 depends on ARCH_DAVINCI
492 help
493 This selects the TI DAVINCI Multimedia card Interface.
494 If you have an DAVINCI board with a Multimedia Card slot,
495 say Y or M here. If unsure, say N.
496
497config MMC_GOLDFISH
498 tristate "goldfish qemu Multimedia Card Interface support"
499 depends on HAS_DMA
500 depends on GOLDFISH || COMPILE_TEST
501 help
502 This selects the Goldfish Multimedia card Interface emulation
503 found on the Goldfish Android virtual device emulation.
504
505config MMC_SPI
506 tristate "MMC/SD/SDIO over SPI"
507 depends on SPI_MASTER && HAS_DMA
508 select CRC7
509 select CRC_ITU_T
510 help
511 Some systems access MMC/SD/SDIO cards using a SPI controller
512 instead of using a "native" MMC/SD/SDIO controller. This has a
513 disadvantage of being relatively high overhead, but a compensating
514 advantage of working on many systems without dedicated MMC/SD/SDIO
515 controllers.
516
517 If unsure, or if your system has no SPI master driver, say N.
518
519config MMC_S3C
520 tristate "Samsung S3C SD/MMC Card Interface support"
521 depends on ARCH_S3C24XX
522 depends on S3C24XX_DMAC
523 help
524 This selects a driver for the MCI interface found in
525 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
526 If you have a board based on one of those and a MMC/SD
527 slot, say Y or M here.
528
529 If unsure, say N.
530
531config MMC_S3C_HW_SDIO_IRQ
532 bool "Hardware support for SDIO IRQ"
533 depends on MMC_S3C
534 help
535 Enable the hardware support for SDIO interrupts instead of using
536 the generic polling code.
537
538choice
539 prompt "Samsung S3C SD/MMC transfer code"
540 depends on MMC_S3C
541
542config MMC_S3C_PIO
543 bool "Use PIO transfers only"
544 help
545 Use PIO to transfer data between memory and the hardware.
546
547 PIO is slower than DMA as it requires CPU instructions to
548 move the data. This has been the traditional default for
549 the S3C MCI driver.
550
551config MMC_S3C_DMA
552 bool "Use DMA transfers only"
553 help
554 Use DMA to transfer data between memory and the hardare.
555
556 Currently, the DMA support in this driver seems to not be
557 working properly and needs to be debugged before this
558 option is useful.
559
560endchoice
561
562config MMC_SDRICOH_CS
563 tristate "MMC/SD driver for Ricoh Bay1Controllers"
564 depends on PCI && PCMCIA
565 help
566 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
567 card whenever you insert a MMC or SD card into the card slot.
568
569 To compile this driver as a module, choose M here: the
570 module will be called sdricoh_cs.
571
572config MMC_TMIO_CORE
573 tristate
574
575config MMC_TMIO
576 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
577 depends on MFD_TMIO || MFD_ASIC3
578 select MMC_TMIO_CORE
579 help
580 This provides support for the SD/MMC cell found in TC6393XB,
581 T7L66XB and also HTC ASIC3
582
583config MMC_SDHI
584 tristate "Renesas SDHI SD/SDIO controller support"
585 depends on SUPERH || ARM || ARM64
586 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
587 select MMC_TMIO_CORE
588 select MMC_SDHI_SYS_DMAC if (SUPERH || ARM)
589 select MMC_SDHI_INTERNAL_DMAC if ARM64
590 help
591 This provides support for the SDHI SD/SDIO controller found in
592 Renesas SuperH, ARM and ARM64 based SoCs
593
594config MMC_SDHI_SYS_DMAC
595 tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
596 depends on MMC_SDHI
597 help
598 This provides DMA support for SDHI SD/SDIO controllers
599 using SYS-DMAC via DMA Engine. This supports the controllers
600 found in SuperH and Renesas ARM based SoCs.
601
602config MMC_SDHI_INTERNAL_DMAC
603 tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
604 depends on ARM64 || COMPILE_TEST
605 depends on MMC_SDHI
606 help
607 This provides DMA support for SDHI SD/SDIO controllers
608 using on-chip bus mastering. This supports the controllers
609 found in arm64 based SoCs.
610
611config MMC_CB710
612 tristate "ENE CB710 MMC/SD Interface support"
613 depends on PCI
614 select CB710_CORE
615 help
616 This option enables support for MMC/SD part of ENE CB710/720 Flash
617 memory card reader found in some laptops (ie. some versions of
618 HP Compaq nx9500).
619
620 This driver can also be built as a module. If so, the module
621 will be called cb710-mmc.
622
623config MMC_VIA_SDMMC
624 tristate "VIA SD/MMC Card Reader Driver"
625 depends on PCI
626 help
627 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
628 VIA provides one multi-functional card reader which integrated into
629 some motherboards manufactured by VIA. This card reader supports
630 SD/MMC/SDHC.
631 If you have a controller with this interface, say Y or M here.
632
633 If unsure, say N.
634
635config SDH_BFIN
636 tristate "Blackfin Secure Digital Host support"
637 depends on (BF54x && !BF544) || (BF51x && !BF512)
638 help
639 If you say yes here you will get support for the Blackfin on-chip
640 Secure Digital Host interface. This includes support for MMC and
641 SD cards.
642
643 To compile this driver as a module, choose M here: the
644 module will be called bfin_sdh.
645
646 If unsure, say N.
647
648config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
649 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
650 depends on SDH_BFIN
651 help
652 If you say yes here SD-Cards may work on the EZkit.
653
654config MMC_CAVIUM_OCTEON
655 tristate "Cavium OCTEON SD/MMC Card Interface support"
656 depends on CAVIUM_OCTEON_SOC
657 help
658 This selects Cavium OCTEON SD/MMC card Interface.
659 If you have an OCTEON board with a Multimedia Card slot,
660 say Y or M here.
661
662 If unsure, say N.
663
664config MMC_CAVIUM_THUNDERX
665 tristate "Cavium ThunderX SD/MMC Card Interface support"
666 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
667 depends on GPIOLIB
668 depends on OF_ADDRESS
669 help
670 This selects Cavium ThunderX SD/MMC Card Interface.
671 If you have an Cavium ARM64 board with a Multimedia Card slot
672 or builtin eMMC chip say Y or M here. If built as a module
673 the module will be called thunderx_mmc.ko.
674
675config MMC_DW
676 tristate "Synopsys DesignWare Memory Card Interface"
677 depends on HAS_DMA
678 depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
679 help
680 This selects support for the Synopsys DesignWare Mobile Storage IP
681 block, this provides host support for SD and MMC interfaces, in both
682 PIO, internal DMA mode and external DMA mode.
683
684config MMC_DW_PLTFM
685 tristate "Synopsys Designware MCI Support as platform device"
686 depends on MMC_DW
687 default y
688 help
689 This selects the common helper functions support for Host Controller
690 Interface based platform driver. Please select this option if the IP
691 is present as a platform device. This is the common interface for the
692 Synopsys Designware IP.
693
694 If you have a controller with this interface, say Y or M here.
695
696 If unsure, say Y.
697
698config MMC_DW_EXYNOS
699 tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
700 depends on MMC_DW
701 select MMC_DW_PLTFM
702 help
703 This selects support for Samsung Exynos SoC specific extensions to the
704 Synopsys DesignWare Memory Card Interface driver. Select this option
705 for platforms based on Exynos4 and Exynos5 SoC's.
706
707config MMC_DW_K3
708 tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
709 depends on MMC_DW
710 select MMC_DW_PLTFM
711 help
712 This selects support for Hisilicon K3 SoC specific extensions to the
713 Synopsys DesignWare Memory Card Interface driver. Select this option
714 for platforms based on Hisilicon K3 SoC's.
715
716config MMC_DW_PCI
717 tristate "Synopsys Designware MCI support on PCI bus"
718 depends on MMC_DW && PCI
719 help
720 This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
721 Select this option if the IP is present on PCI platform.
722
723 If you have a controller with this interface, say Y or M here.
724
725 If unsure, say N.
726
727config MMC_DW_ROCKCHIP
728 tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
729 depends on MMC_DW && ARCH_ROCKCHIP
730 select MMC_DW_PLTFM
731 help
732 This selects support for Rockchip SoC specific extensions to the
733 Synopsys DesignWare Memory Card Interface driver. Select this option
734 for platforms based on RK3066, RK3188 and RK3288 SoC's.
735
736config MMC_DW_ZX
737 tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
738 depends on MMC_DW && ARCH_ZX
739 select MMC_DW_PLTFM
740 help
741 This selects support for ZTE SoC specific extensions to the
742 Synopsys DesignWare Memory Card Interface driver. Select this option
743 for platforms based on ZX296718 SoC's.
744
745config MMC_SH_MMCIF
746 tristate "SuperH Internal MMCIF support"
747 depends on HAS_DMA
748 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
749 help
750 This selects the MMC Host Interface controller (MMCIF) found in various
751 Renesas SoCs for SH and ARM architectures.
752
753
754config MMC_JZ4740
755 tristate "JZ4740 SD/Multimedia Card Interface support"
756 depends on MACH_JZ4740
757 help
758 This selects support for the SD/MMC controller on Ingenic JZ4740
759 SoCs.
760 If you have a board based on such a SoC and with a SD/MMC slot,
761 say Y or M here.
762
763config MMC_VUB300
764 tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
765 depends on USB
766 help
767 This selects support for Elan Digital Systems' VUB300 chip.
768
769 The VUB300 is a USB-SDIO Host Controller Interface chip
770 that enables the host computer to use SDIO/SD/MMC cards
771 via a USB 2.0 or USB 1.1 host.
772
773 The VUB300 chip will be found in both physically separate
774 USB to SDIO/SD/MMC adapters and embedded on some motherboards.
775
776 The VUB300 chip supports SD and MMC memory cards in addition
777 to single and multifunction SDIO cards.
778
779 Some SDIO cards will need a firmware file to be loaded and
780 sent to VUB300 chip in order to achieve better data throughput.
781 Download these "Offload Pseudocode" from Elan Digital Systems'
782 web-site http://www.elandigitalsystems.com/support/downloads.php
783 and put them in /lib/firmware. Note that without these additional
784 firmware files the VUB300 chip will still function, but not at
785 the best obtainable data rate.
786
787 To compile this mmc host controller driver as a module,
788 choose M here: the module will be called vub300.
789
790 If you have a computer with an embedded VUB300 chip
791 or if you intend connecting a USB adapter based on a
792 VUB300 chip say Y or M here.
793
794config MMC_USHC
795 tristate "USB SD Host Controller (USHC) support"
796 depends on USB
797 help
798 This selects support for USB SD Host Controllers based on
799 the Cypress Astoria chip with firmware compliant with CSR's
800 USB SD Host Controller specification (CS-118793-SP).
801
802 CSR boards with this device include: USB<>SDIO (M1985v2),
803 and Ultrasira.
804
805 Note: These controllers only support SDIO cards and do not
806 support MMC or SD memory cards.
807
808config MMC_WMT
809 tristate "Wondermedia SD/MMC Host Controller support"
810 depends on ARCH_VT8500
811 default y
812 help
813 This selects support for the SD/MMC Host Controller on
814 Wondermedia WM8505/WM8650 based SoCs.
815
816 To compile this driver as a module, choose M here: the
817 module will be called wmt-sdmmc.
818
819config MMC_USDHI6ROL0
820 tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
821 depends on HAS_DMA
822 help
823 This selects support for the Renesas USDHI6ROL0 SD/SDIO
824 Host Controller
825
826config MMC_REALTEK_PCI
827 tristate "Realtek PCI-E SD/MMC Card Interface Driver"
828 depends on MFD_RTSX_PCI
829 help
830 Say Y here to include driver code to support SD/MMC card interface
831 of Realtek PCI-E card reader
832
833config MMC_REALTEK_USB
834 tristate "Realtek USB SD/MMC Card Interface Driver"
835 depends on MFD_RTSX_USB
836 help
837 Say Y here to include driver code to support SD/MMC card interface
838 of Realtek RTS5129/39 series card reader
839
840config MMC_SUNXI
841 tristate "Allwinner sunxi SD/MMC Host Controller support"
842 depends on ARCH_SUNXI
843 help
844 This selects support for the SD/MMC Host Controller on
845 Allwinner sunxi SoCs.
846
847config MMC_TOSHIBA_PCI
848 tristate "Toshiba Type A SD/MMC Card Interface Driver"
849 depends on PCI
850 help
851
852config MMC_BCM2835
853 tristate "Broadcom BCM2835 SDHOST MMC Controller support"
854 depends on ARCH_BCM2835 || COMPILE_TEST
855 depends on HAS_DMA
856 help
857 This selects the BCM2835 SDHOST MMC controller. If you have
858 a BCM2835 platform with SD or MMC devices, say Y or M here.
859
860 Note that the BCM2835 has two SD controllers: The Arasan
861 sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
862 sdhost controller (supported by this driver).
863
864 If unsure, say N.
865
866config MMC_MTK
867 tristate "MediaTek SD/MMC Card Interface support"
868 depends on HAS_DMA
869 help
870 This selects the MediaTek(R) Secure digital and Multimedia card Interface.
871 If you have a machine with a integrated SD/MMC card reader, say Y or M here.
872 This is needed if support for any SD/SDIO/MMC devices is required.
873 If unsure, say N.
874
875config MMC_MTK_SDIO
876 tristate "MediaTek SDIO driver support"
877 help
878 This selects the MediaTek(R) SDIO serial driver, if enable,
879 will use the driver at mmc/host/.
880 Note that this driver only support MTK legacy SDIO device.
881 If unsure, say N.
882
883config MMC_SDHCI_MICROCHIP_PIC32
884 tristate "Microchip PIC32MZDA SDHCI support"
885 depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
886 help
887 This selects the Secure Digital Host Controller Interface (SDHCI)
888 for PIC32MZDA platform.
889
890 If you have a controller with this interface, say Y or M here.
891
892 If unsure, say N.
893config MMC_SDHCI_BRCMSTB
894 tristate "Broadcom SDIO/SD/MMC support"
895 depends on ARCH_BRCMSTB || BMIPS_GENERIC
896 depends on MMC_SDHCI_PLTFM
897 default y
898 help
899 This selects support for the SDIO/SD/MMC Host Controller on
900 Broadcom STB SoCs.
901
902 If unsure, say Y.
903
904config MMC_SDHCI_XENON
905 tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
906 depends on MMC_SDHCI_PLTFM
907 help
908 This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
909 If you have a controller with this interface, say Y or M here.
910 If unsure, say N.