1 # SPDX-License-Identifier: GPL-2.0-only
3 # MMC/SD host controller drivers
6 comment "MMC/SD/SDIO Host Controller Drivers"
9 tristate "MMC support on BCM2835"
10 depends on MACH_BCM2708 || MACH_BCM2709 || ARCH_BCM2835
12 This selects the MMC Interface on BCM2835.
14 If you have a controller with this interface, say Y or M here.
18 config MMC_BCM2835_DMA
19 bool "DMA support on BCM2835 Arasan controller"
20 depends on MMC_BCM2835_MMC
22 Enable DMA support on the Arasan SDHCI controller in Broadcom 2708
27 config MMC_BCM2835_PIO_DMA_BARRIER
28 int "Block count limit for PIO transfers"
29 depends on MMC_BCM2835_MMC && MMC_BCM2835_DMA
33 The inclusive limit in bytes under which PIO will be used instead of DMA
35 If unsure, say 2 here.
37 config MMC_BCM2835_SDHOST
38 tristate "Support for the SDHost controller on BCM2708/9"
39 depends on ARCH_BCM2835
41 This selects the SDHost controller on BCM2835/6.
43 If you have a controller with this interface, say Y or M here.
48 bool "MMC host drivers debugging"
51 This is an option for use by developers; most people should
52 say N here. This enables MMC host driver debugging. And further
53 added host drivers please don't invent their private macro for
57 tristate "ARM AMBA Multimedia Card Interface support"
60 This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
61 Interface (PL180 and PL181) support. If you have an ARM(R)
62 platform with a Multimedia Card slot, say Y or M here.
67 bool "Qualcomm Data Mover for SD Card Controller"
68 depends on MMC_ARMMMCI && QCOM_BAM_DMA
71 This selects the Qualcomm Data Mover lite/local on SD Card controller.
72 This option will enable the dma to work correctly, if you are using
73 Qcom SOCs and MMC, you would probably need this option to get DMA working.
77 config MMC_STM32_SDMMC
78 bool "STMicroelectronics STM32 SDMMC Controller"
79 depends on MMC_ARMMMCI
82 This selects the STMicroelectronics STM32 SDMMC host controller.
83 If you have a STM32 sdmmc host with internal DMA say Y here.
88 tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
91 This selects the Intel(R) PXA(R) Multimedia card Interface.
92 If you have a PXA(R) platform with a Multimedia Card slot,
98 tristate "Secure Digital Host Controller Interface support"
101 This selects the generic Secure Digital Host Controller Interface.
102 It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
103 and Toshiba(R). Most controllers found in laptops are of this type.
105 If you have a controller with this interface, say Y or M here. You
106 also need to enable an appropriate bus interface.
110 config MMC_SDHCI_IO_ACCESSORS
114 This is silent Kconfig symbol that is selected by the drivers that
115 need to overwrite SDHCI IO memory accessors.
117 config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
120 select MMC_SDHCI_IO_ACCESSORS
122 This option is selected by drivers running on big endian hosts
123 and performing I/O to a SDHCI controller through a bus that
124 implements a hardware byte swapper using a 32-bit datum.
125 This endian mapping mode is called "data invariance" and
126 has the effect of scrambling the addresses and formats of data
127 accessed in sizes other than the datum size.
129 This is the case for the Nintendo Wii SDHCI.
132 tristate "SDHCI support on PCI bus"
133 depends on MMC_SDHCI && PCI
135 select IOSF_MBI if X86
136 select MMC_SDHCI_IO_ACCESSORS
138 This selects the PCI Secure Digital Host Controller Interface.
139 Most controllers found today are PCI devices.
141 If you have a controller with this interface, say Y or M here.
146 bool "Ricoh MMC Controller Disabler"
147 depends on MMC_SDHCI_PCI
150 This adds a pci quirk to disable Ricoh MMC Controller. This
151 proprietary controller is unnecessary because the SDHCI driver
152 supports MMC cards on the SD controller, but if it is not
153 disabled, it will steal the MMC cards away - rendering them
154 useless. It is safe to select this even if you don't
155 have a Ricoh based card reader.
159 config MMC_SDHCI_ACPI
160 tristate "SDHCI support for ACPI enumerated SDHCI controllers"
161 depends on MMC_SDHCI && ACPI && PCI
162 select IOSF_MBI if X86
164 This selects support for ACPI enumerated SDHCI controllers,
165 identified by ACPI Compatibility ID PNP0D40 or specific
168 If you have a controller with this interface, say Y or M here.
172 config MMC_SDHCI_PLTFM
173 tristate "SDHCI platform and OF driver helper"
176 This selects the common helper functions support for Secure Digital
177 Host Controller Interface based platform and OF drivers.
179 If you have a controller with this interface, say Y or M here.
183 config MMC_SDHCI_OF_ARASAN
184 tristate "SDHCI OF support for the Arasan SDHCI controllers"
185 depends on MMC_SDHCI_PLTFM
187 depends on COMMON_CLK
190 This selects the Arasan Secure Digital Host Controller Interface
191 (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
193 If you have a controller with this interface, say Y or M here.
197 config MMC_SDHCI_OF_ASPEED
198 tristate "SDHCI OF support for the ASPEED SDHCI controller"
199 depends on MMC_SDHCI_PLTFM
200 depends on OF && OF_ADDRESS
201 select MMC_SDHCI_IO_ACCESSORS
203 This selects the ASPEED Secure Digital Host Controller Interface.
205 If you have a controller with this interface, say Y or M here. You
206 also need to enable an appropriate bus interface.
210 config MMC_SDHCI_OF_ASPEED_TEST
211 bool "Tests for the ASPEED SDHCI driver"
212 depends on MMC_SDHCI_OF_ASPEED && KUNIT=y
214 Enable KUnit tests for the ASPEED SDHCI driver. Select this
215 option only if you will boot the kernel for the purpose of running
216 unit tests (e.g. under UML or qemu).
218 The KUnit tests generally exercise parts of the driver that do not
219 directly touch the hardware, for example, the phase correction
224 config MMC_SDHCI_OF_AT91
225 tristate "SDHCI OF support for the Atmel SDMMC controller"
226 depends on MMC_SDHCI_PLTFM
227 depends on OF && HAVE_CLK
229 This selects the Atmel SDMMC driver
231 config MMC_SDHCI_OF_ESDHC
232 tristate "SDHCI OF support for the Freescale eSDHC controller"
233 depends on MMC_SDHCI_PLTFM
234 depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
235 select MMC_SDHCI_IO_ACCESSORS
238 This selects the Freescale eSDHC controller support.
240 If you have a controller with this interface, say Y or M here.
244 config MMC_SDHCI_OF_HLWD
245 tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
246 depends on MMC_SDHCI_PLTFM
248 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
250 This selects the Secure Digital Host Controller Interface (SDHCI)
251 found in the "Hollywood" chipset of the Nintendo Wii video game
254 If you have a controller with this interface, say Y or M here.
258 config MMC_SDHCI_OF_DWCMSHC
259 tristate "SDHCI OF support for the Synopsys DWC MSHC"
260 depends on MMC_SDHCI_PLTFM
262 depends on COMMON_CLK
264 This selects Synopsys DesignWare Cores Mobile Storage Controller
266 If you have a controller with this interface, say Y or M here.
269 config MMC_SDHCI_OF_SPARX5
270 tristate "SDHCI OF support for the MCHP Sparx5 SoC"
271 depends on MMC_SDHCI_PLTFM
272 depends on ARCH_SPARX5 || COMPILE_TEST
274 This selects the Secure Digital Host Controller Interface (SDHCI)
275 found in the MCHP Sparx5 SoC.
277 If you have a Sparx5 SoC with this interface, say Y or M here.
281 config MMC_SDHCI_CADENCE
282 tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
283 depends on MMC_SDHCI_PLTFM
286 This selects the Cadence SD/SDIO/eMMC driver.
288 If you have a controller with this interface, say Y or M here.
292 config MMC_SDHCI_CNS3XXX
293 tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
294 depends on ARCH_CNS3XXX || COMPILE_TEST
295 depends on MMC_SDHCI_PLTFM
297 This selects the SDHCI support for CNS3xxx System-on-Chip devices.
299 If you have a controller with this interface, say Y or M here.
303 config MMC_SDHCI_ESDHC_MCF
304 tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
306 depends on MMC_SDHCI_PLTFM
307 select MMC_SDHCI_IO_ACCESSORS
309 This selects the Freescale eSDHC controller support for
310 ColdFire mcf5441x devices.
312 If you have a controller with this interface, say Y or M here.
316 config MMC_SDHCI_ESDHC_IMX
317 tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
318 depends on ARCH_MXC || COMPILE_TEST
319 depends on MMC_SDHCI_PLTFM
321 select MMC_SDHCI_IO_ACCESSORS
324 This selects the Freescale eSDHC/uSDHC controller support
325 found on i.MX25, i.MX35 i.MX5x and i.MX6x.
327 If you have a controller with this interface, say Y or M here.
331 config MMC_SDHCI_DOVE
332 tristate "SDHCI support on Marvell's Dove SoC"
333 depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
334 depends on MMC_SDHCI_PLTFM
335 select MMC_SDHCI_IO_ACCESSORS
337 This selects the Secure Digital Host Controller Interface in
340 If you have a controller with this interface, say Y or M here.
344 config MMC_SDHCI_TEGRA
345 tristate "SDHCI platform support for the Tegra SD/MMC Controller"
346 depends on ARCH_TEGRA || COMPILE_TEST
347 depends on MMC_SDHCI_PLTFM
348 select MMC_SDHCI_IO_ACCESSORS
351 This selects the Tegra SD/MMC controller. If you have a Tegra
352 platform with SD or MMC devices, say Y or M here.
357 tristate "SDHCI support on Samsung S3C SoC"
359 depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
361 This selects the Secure Digital Host Controller Interface (SDHCI)
362 often referrered to as the HSMMC block in some of the Samsung S3C
365 If you have a controller with this interface, say Y or M here.
369 config MMC_SDHCI_PXAV3
370 tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
372 depends on MMC_SDHCI_PLTFM
373 depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
376 This selects the Marvell(R) PXAV3 SD Host Controller.
377 If you have a MMP2 platform with SD Host Controller
378 and a card slot, say Y or M here.
382 config MMC_SDHCI_PXAV2
383 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
385 depends on MMC_SDHCI_PLTFM
386 depends on ARCH_MMP || COMPILE_TEST
389 This selects the Marvell(R) PXAV2 SD Host Controller.
390 If you have a PXA9XX platform with SD Host Controller
391 and a card slot, say Y or M here.
395 config MMC_SDHCI_SPEAR
396 tristate "SDHCI support on ST SPEAr platform"
398 depends on PLAT_SPEAR || COMPILE_TEST
401 This selects the Secure Digital Host Controller Interface (SDHCI)
402 often referrered to as the HSMMC block in some of the ST SPEAR range
405 If you have a controller with this interface, say Y or M here.
409 config MMC_SDHCI_S3C_DMA
410 bool "DMA support on S3C SDHCI"
411 depends on MMC_SDHCI_S3C
413 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
414 has proved to be problematic if the controller encounters
415 certain errors, and thus should be treated with care.
419 config MMC_SDHCI_BCM_KONA
420 tristate "SDHCI support on Broadcom KONA platform"
421 depends on ARCH_BCM_MOBILE || COMPILE_TEST
422 depends on MMC_SDHCI_PLTFM
424 This selects the Broadcom Kona Secure Digital Host Controller
425 Interface(SDHCI) support.
426 This is used in Broadcom mobile SoCs.
428 If you have a controller with this interface, say Y or M here.
430 config MMC_SDHCI_F_SDH30
431 tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
432 depends on MMC_SDHCI_PLTFM
433 depends on OF || ACPI
435 This selects the Secure Digital Host Controller Interface (SDHCI)
436 Needed by some Fujitsu SoC for MMC / SD / SDIO support.
437 If you have a controller with this interface, say Y or M here.
441 config MMC_SDHCI_MILBEAUT
442 tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30"
443 depends on MMC_SDHCI_PLTFM
446 This selects the Secure Digital Host Controller Interface (SDHCI)
447 Needed by Milbeaut SoC for MMC / SD / SDIO support.
448 If you have a controller with this interface, say Y or M here.
452 config MMC_SDHCI_IPROC
453 tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
454 depends on ARCH_BCM2835 || ARCH_BCM_IPROC || ARCH_BRCMSTB || COMPILE_TEST
455 depends on MMC_SDHCI_PLTFM
456 depends on OF || ACPI
457 default ARCH_BCM_IPROC
458 select MMC_SDHCI_IO_ACCESSORS
460 This selects the iProc SD/MMC controller.
462 If you have a BCM2835 or IPROC platform with SD or MMC devices,
468 tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
469 depends on ARCH_MESON|| COMPILE_TEST
470 depends on COMMON_CLK
472 This selects support for the Amlogic SD/MMC Host Controller
473 found on the S905/GX*/AXG family of SoCs. This controller is
474 MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
476 If you have a controller with this interface, say Y here.
478 config MMC_MESON_MX_SDHC
479 tristate "Amlogic Meson SDHC Host Controller support"
480 depends on (ARM && ARCH_MESON) || COMPILE_TEST
481 depends on COMMON_CLK
484 This selects support for the SDHC Host Controller on
485 Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs.
486 The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x
487 with 1, 4, and 8 bit bus widths.
489 If you have a controller with this interface, say Y or M here.
492 config MMC_MESON_MX_SDIO
493 tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
494 depends on ARCH_MESON || COMPILE_TEST
495 depends on COMMON_CLK
496 depends on OF_ADDRESS
498 This selects support for the SD/MMC Host Controller on
499 Amlogic Meson6, Meson8 and Meson8b SoCs.
501 If you have a controller with this interface, say Y or M here.
505 tristate "MOXART SD/MMC Host Controller support"
506 depends on ARCH_MOXART || COMPILE_TEST
508 This selects support for the MOXART SD/MMC Host Controller.
509 MOXA provides one multi-functional card reader which can
510 be found on some embedded hardware such as UC-7112-LX.
511 If you have a controller with this interface, say Y here.
514 tristate "SDHCI support on STMicroelectronics SoC"
515 depends on ARCH_STI || FSP2 || COMPILE_TEST
516 depends on MMC_SDHCI_PLTFM
517 select MMC_SDHCI_IO_ACCESSORS
519 This selects the Secure Digital Host Controller Interface in
520 STMicroelectronics SoCs.
522 If you have a controller with this interface, say Y or M here.
526 tristate "TI OMAP Multimedia Card Interface support"
528 depends on TPS65010 || !MACH_OMAP_H2
530 This selects the TI OMAP Multimedia card Interface.
531 If you have an OMAP board with a Multimedia Card slot,
537 tristate "TI OMAP High Speed Multimedia Card Interface support"
538 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
540 This selects the TI OMAP High Speed Multimedia card Interface.
541 If you have an omap2plus board with a Multimedia Card slot,
547 tristate "Winbond W83L51xD SD/MMC Card Interface support"
548 depends on ISA_DMA_API && !M68K
550 This selects the Winbond(R) W83L51xD Secure digital and
551 Multimedia card Interface.
552 If you have a machine with a integrated W83L518D or W83L519D
553 SD/MMC card reader, say Y or M here.
558 tristate "Alcor Micro/Alcor Link SD/MMC controller"
559 depends on MISC_ALCOR_PCI
561 Say Y here to include driver code to support SD/MMC card interface
562 of Alcor Micro PCI-E card reader
565 tristate "Alchemy AU1XX0 MMC Card Interface support"
566 depends on MIPS_ALCHEMY
568 This selects the AMD Alchemy(R) Multimedia card interface.
569 If you have a Alchemy platform with a MMC slot, say Y or M here.
574 tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
577 This selects the Atmel Multimedia Card Interface driver.
578 If you have an AT91 platform with a Multimedia Card slot,
584 tristate "Qualcomm SDHCI Controller Support"
585 depends on ARCH_QCOM || COMPILE_TEST
586 depends on MMC_SDHCI_PLTFM
587 select MMC_SDHCI_IO_ACCESSORS
589 select QCOM_SCM if MMC_CRYPTO
591 This selects the Secure Digital Host Controller Interface (SDHCI)
592 support present in Qualcomm SOCs. The controller supports
595 If you have a controller with this interface, say Y or M here.
600 tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
601 depends on ARCH_MXC || PPC_MPC512x
603 This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
604 Multimedia Card Interface. If you have an i.MX or MPC512x platform
605 with a Multimedia Card slot, say Y or M here.
610 tristate "Freescale MXS Multimedia Card Interface support"
611 depends on ARCH_MXS && MXS_DMA
613 This selects the Freescale SSP MMC controller found on MXS based
614 platforms like mx23/28.
619 tristate "TI Flash Media MMC/SD Interface support"
623 Say Y here if you want to be able to access MMC/SD cards with
624 the Texas Instruments(R) Flash Media card reader, found in many
626 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
627 probably also need appropriate card reader host adapter, such as
628 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
631 To compile this driver as a module, choose M here: the
632 module will be called tifm_sd.
635 tristate "Marvell MMC/SD/SDIO host driver"
636 depends on PLAT_ORION || (COMPILE_TEST && ARM)
639 This selects the Marvell SDIO host driver.
640 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
643 To compile this driver as a module, choose M here: the
644 module will be called mvsdio.
647 tristate "TI DAVINCI Multimedia Card Interface support"
648 depends on ARCH_DAVINCI || COMPILE_TEST
650 This selects the TI DAVINCI Multimedia card Interface.
651 If you have an DAVINCI board with a Multimedia Card slot,
652 say Y or M here. If unsure, say N.
655 tristate "MMC/SD/SDIO over SPI"
656 depends on SPI_MASTER
660 Some systems access MMC/SD/SDIO cards using a SPI controller
661 instead of using a "native" MMC/SD/SDIO controller. This has a
662 disadvantage of being relatively high overhead, but a compensating
663 advantage of working on many systems without dedicated MMC/SD/SDIO
666 If unsure, or if your system has no SPI master driver, say N.
669 tristate "Samsung S3C SD/MMC Card Interface support"
670 depends on ARCH_S3C24XX || COMPILE_TEST
671 depends on S3C24XX_DMAC || COMPILE_TEST
673 This selects a driver for the MCI interface found in
674 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
675 If you have a board based on one of those and a MMC/SD
676 slot, say Y or M here.
680 config MMC_S3C_HW_SDIO_IRQ
681 bool "Hardware support for SDIO IRQ"
684 Enable the hardware support for SDIO interrupts instead of using
685 the generic polling code.
688 prompt "Samsung S3C SD/MMC transfer code"
692 bool "Use PIO transfers only"
694 Use PIO to transfer data between memory and the hardware.
696 PIO is slower than DMA as it requires CPU instructions to
697 move the data. This has been the traditional default for
701 bool "Use DMA transfers only"
703 Use DMA to transfer data between memory and the hardware.
705 Currently, the DMA support in this driver seems to not be
706 working properly and needs to be debugged before this
711 config MMC_SDRICOH_CS
712 tristate "MMC/SD driver for Ricoh Bay1Controllers"
713 depends on PCI && PCMCIA
715 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
716 card whenever you insert a MMC or SD card into the card slot.
718 To compile this driver as a module, choose M here: the
719 module will be called sdricoh_cs.
721 config MMC_SDHCI_SPRD
722 tristate "Spreadtrum SDIO host Controller"
723 depends on ARCH_SPRD || COMPILE_TEST
724 depends on MMC_SDHCI_PLTFM
725 select MMC_SDHCI_IO_ACCESSORS
728 This selects the SDIO Host Controller in Spreadtrum
729 SoCs, this driver supports R11(IP version: R11P0).
731 If you have a controller with this interface, say Y or M here.
739 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
740 depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST
743 This provides support for the SD/MMC cell found in TC6393XB,
744 T7L66XB and also HTC ASIC3
747 tristate "Renesas SDHI SD/SDIO controller support"
748 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
750 select RESET_CONTROLLER if ARCH_RENESAS
752 This provides support for the SDHI SD/SDIO controller found in
753 Renesas SuperH, ARM and ARM64 based SoCs
755 config MMC_SDHI_SYS_DMAC
756 tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
758 default MMC_SDHI if (SUPERH || ARM)
760 This provides DMA support for SDHI SD/SDIO controllers
761 using SYS-DMAC via DMA Engine. This supports the controllers
762 found in SuperH and Renesas ARM based SoCs.
764 config MMC_SDHI_INTERNAL_DMAC
765 tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
766 depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST
768 default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470)
770 This provides DMA support for SDHI SD/SDIO controllers
771 using on-chip bus mastering. This supports the controllers
772 found in arm64 based SoCs. This controller is also found in
776 tristate "UniPhier SD/eMMC Host Controller support"
777 depends on ARCH_UNIPHIER || COMPILE_TEST
781 This provides support for the SD/eMMC controller found in
782 UniPhier SoCs. The eMMC variant of this controller is used
783 only for 32-bit SoCs.
786 tristate "ENE CB710 MMC/SD Interface support"
790 This option enables support for MMC/SD part of ENE CB710/720 Flash
791 memory card reader found in some laptops (ie. some versions of
794 This driver can also be built as a module. If so, the module
795 will be called cb710-mmc.
798 tristate "VIA SD/MMC Card Reader Driver"
801 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
802 VIA provides one multi-functional card reader which integrated into
803 some motherboards manufactured by VIA. This card reader supports
805 If you have a controller with this interface, say Y or M here.
809 config MMC_CAVIUM_OCTEON
810 tristate "Cavium OCTEON SD/MMC Card Interface support"
811 depends on CAVIUM_OCTEON_SOC
813 This selects Cavium OCTEON SD/MMC card Interface.
814 If you have an OCTEON board with a Multimedia Card slot,
819 config MMC_CAVIUM_THUNDERX
820 tristate "Cavium ThunderX SD/MMC Card Interface support"
821 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
822 depends on GPIO_THUNDERX
823 depends on OF_ADDRESS
825 This selects Cavium ThunderX SD/MMC Card Interface.
826 If you have an Cavium ARM64 board with a Multimedia Card slot
827 or builtin eMMC chip say Y or M here. If built as a module
828 the module will be called thunderx_mmc.ko.
831 tristate "Synopsys DesignWare Memory Card Interface"
832 depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST
834 This selects support for the Synopsys DesignWare Mobile Storage IP
835 block, this provides host support for SD and MMC interfaces, in both
836 PIO, internal DMA mode and external DMA mode.
839 tristate "Synopsys Designware MCI Support as platform device"
843 This selects the common helper functions support for Host Controller
844 Interface based platform driver. Please select this option if the IP
845 is present as a platform device. This is the common interface for the
846 Synopsys Designware IP.
848 If you have a controller with this interface, say Y or M here.
852 config MMC_DW_BLUEFIELD
853 tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
857 This selects support for Mellanox BlueField SoC specific extensions to
858 the Synopsys DesignWare Memory Card Interface driver. Select this
859 option for platforms based on Mellanox BlueField SoC's.
862 tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
866 This selects support for Samsung Exynos SoC specific extensions to the
867 Synopsys DesignWare Memory Card Interface driver. Select this option
868 for platforms based on Exynos4 and Exynos5 SoC's.
870 config MMC_DW_HI3798CV200
871 tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
875 This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
876 Synopsys DesignWare Memory Card Interface driver. Select this option
877 for platforms based on HiSilicon Hi3798CV200 SoC.
880 tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
884 This selects support for Hisilicon K3 SoC specific extensions to the
885 Synopsys DesignWare Memory Card Interface driver. Select this option
886 for platforms based on Hisilicon K3 SoC's.
889 tristate "Synopsys Designware MCI support on PCI bus"
890 depends on MMC_DW && PCI
892 This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
893 Select this option if the IP is present on PCI platform.
895 If you have a controller with this interface, say Y or M here.
899 config MMC_DW_ROCKCHIP
900 tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
901 depends on MMC_DW && ARCH_ROCKCHIP
904 This selects support for Rockchip SoC specific extensions to the
905 Synopsys DesignWare Memory Card Interface driver. Select this option
906 for platforms based on RK3066, RK3188 and RK3288 SoC's.
909 tristate "SuperH Internal MMCIF support"
910 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
912 This selects the MMC Host Interface controller (MMCIF) found in various
913 Renesas SoCs for SH and ARM architectures.
917 tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
920 This selects support for the SD/MMC controller on Ingenic
921 JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
923 If you have a board based on such a SoC and with a SD/MMC slot,
927 tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
930 This selects support for Elan Digital Systems' VUB300 chip.
932 The VUB300 is a USB-SDIO Host Controller Interface chip
933 that enables the host computer to use SDIO/SD/MMC cards
934 via a USB 2.0 or USB 1.1 host.
936 The VUB300 chip will be found in both physically separate
937 USB to SDIO/SD/MMC adapters and embedded on some motherboards.
939 The VUB300 chip supports SD and MMC memory cards in addition
940 to single and multifunction SDIO cards.
942 Some SDIO cards will need a firmware file to be loaded and
943 sent to VUB300 chip in order to achieve better data throughput.
944 Download these "Offload Pseudocode" from Elan Digital Systems'
945 web-site http://www.elandigitalsystems.com/support/downloads.php
946 and put them in /lib/firmware. Note that without these additional
947 firmware files the VUB300 chip will still function, but not at
948 the best obtainable data rate.
950 To compile this mmc host controller driver as a module,
951 choose M here: the module will be called vub300.
953 If you have a computer with an embedded VUB300 chip
954 or if you intend connecting a USB adapter based on a
955 VUB300 chip say Y or M here.
958 tristate "USB SD Host Controller (USHC) support"
961 This selects support for USB SD Host Controllers based on
962 the Cypress Astoria chip with firmware compliant with CSR's
963 USB SD Host Controller specification (CS-118793-SP).
965 CSR boards with this device include: USB<>SDIO (M1985v2),
968 Note: These controllers only support SDIO cards and do not
969 support MMC or SD memory cards.
972 tristate "Wondermedia SD/MMC Host Controller support"
973 depends on ARCH_VT8500
976 This selects support for the SD/MMC Host Controller on
977 Wondermedia WM8505/WM8650 based SoCs.
979 To compile this driver as a module, choose M here: the
980 module will be called wmt-sdmmc.
982 config MMC_USDHI6ROL0
983 tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
986 This selects support for the Renesas USDHI6ROL0 SD/SDIO
989 config MMC_REALTEK_PCI
990 tristate "Realtek PCI-E SD/MMC Card Interface Driver"
991 depends on MISC_RTSX_PCI
993 Say Y here to include driver code to support SD/MMC card interface
994 of Realtek PCI-E card reader
996 config MMC_REALTEK_USB
997 tristate "Realtek USB SD/MMC Card Interface Driver"
998 depends on MISC_RTSX_USB
1000 Say Y here to include driver code to support SD/MMC card interface
1001 of Realtek RTS5129/39 series card reader
1004 tristate "Allwinner sunxi SD/MMC Host Controller support"
1005 depends on ARCH_SUNXI || COMPILE_TEST
1007 This selects support for the SD/MMC Host Controller on
1008 Allwinner sunxi SoCs.
1011 tristate "Command Queue Host Controller Interface support"
1014 This selects the Command Queue Host Controller Interface (CQHCI)
1015 support present in host controllers of Qualcomm Technologies, Inc
1017 This controller supports eMMC devices with command queue support.
1019 If you have a controller with this interface, say Y or M here.
1024 tristate "MMC Host Software Queue support"
1026 This selects the MMC Host Software Queue support. This may increase
1027 performance, if the host controller and its driver supports it.
1029 If you have a controller/driver supporting this interface, say Y or M
1034 config MMC_TOSHIBA_PCI
1035 tristate "Toshiba Type A SD/MMC Card Interface Driver"
1039 tristate "Broadcom BCM2835 SDHOST MMC Controller support"
1040 depends on ARCH_BCM2835 || COMPILE_TEST
1042 This selects the BCM2835 SDHOST MMC controller. If you have
1043 a BCM2835 platform with SD or MMC devices, say Y or M here.
1045 Note that the BCM2835 has two SD controllers: The Arasan
1046 sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
1047 sdhost controller (supported by this driver).
1052 tristate "MediaTek SD/MMC Card Interface support"
1054 depends on COMMON_CLK
1058 This selects the MediaTek(R) Secure digital and Multimedia card Interface.
1059 If you have a machine with a integrated SD/MMC card reader, say Y or M here.
1060 This is needed if support for any SD/SDIO/MMC devices is required.
1063 config MMC_SDHCI_MICROCHIP_PIC32
1064 tristate "Microchip PIC32MZDA SDHCI support"
1065 depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
1067 This selects the Secure Digital Host Controller Interface (SDHCI)
1068 for PIC32MZDA platform.
1070 If you have a controller with this interface, say Y or M here.
1074 config MMC_SDHCI_BRCMSTB
1075 tristate "Broadcom SDIO/SD/MMC support"
1076 depends on ARCH_BRCMSTB || BMIPS_GENERIC
1077 depends on MMC_SDHCI_PLTFM
1081 This selects support for the SDIO/SD/MMC Host Controller on
1086 config MMC_SDHCI_XENON
1087 tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
1088 depends on MMC_SDHCI_PLTFM
1090 This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
1091 If you have a controller with this interface, say Y or M here.
1094 config MMC_SDHCI_OMAP
1095 tristate "TI SDHCI Controller Support"
1096 depends on MMC_SDHCI_PLTFM && OF
1098 imply TI_SOC_THERMAL
1099 select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
1101 This selects the Secure Digital Host Controller Interface (SDHCI)
1102 support present in TI's DRA7 SOCs. The controller supports
1103 SD/MMC/SDIO devices.
1105 If you have a controller with this interface, say Y or M here.
1109 config MMC_SDHCI_AM654
1110 tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
1111 depends on MMC_SDHCI_PLTFM && OF && REGMAP_MMIO
1112 select MMC_SDHCI_IO_ACCESSORS
1115 This selects the Secure Digital Host Controller Interface (SDHCI)
1116 support present in TI's AM654 SOCs. The controller supports
1117 SD/MMC/SDIO devices.
1119 If you have a controller with this interface, say Y or M here.
1124 tristate "Actions Semi Owl SD/MMC Host Controller support"
1126 depends on ARCH_ACTIONS || COMPILE_TEST
1128 This selects support for the SD/MMC Host Controller on
1129 Actions Semi Owl SoCs.
1131 config MMC_SDHCI_EXTERNAL_DMA