OSDN Git Service

Merge tag 'wireless-drivers-for-davem-2019-02-04' of git://git.kernel.org/pub/scm...
[uclinux-h8/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 && PCI
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_ALCOR
445         tristate "Alcor Micro/Alcor Link SD/MMC controller"
446         depends on MISC_ALCOR_PCI
447         help
448           Say Y here to include driver code to support SD/MMC card interface
449           of Alcor Micro PCI-E card reader
450
451 config MMC_AU1X
452         tristate "Alchemy AU1XX0 MMC Card Interface support"
453         depends on MIPS_ALCHEMY
454         help
455           This selects the AMD Alchemy(R) Multimedia card interface.
456           If you have a Alchemy platform with a MMC slot, say Y or M here.
457
458           If unsure, say N.
459
460 config MMC_ATMELMCI
461         tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
462         depends on ARCH_AT91
463         help
464           This selects the Atmel Multimedia Card Interface driver.
465           If you have an AT91 platform with a Multimedia Card slot,
466           say Y or M here.
467
468           If unsure, say N.
469
470 config MMC_SDHCI_MSM
471         tristate "Qualcomm SDHCI Controller Support"
472         depends on ARCH_QCOM || (ARM && COMPILE_TEST)
473         depends on MMC_SDHCI_PLTFM
474         select MMC_SDHCI_IO_ACCESSORS
475         help
476           This selects the Secure Digital Host Controller Interface (SDHCI)
477           support present in Qualcomm SOCs. The controller supports
478           SD/MMC/SDIO devices.
479
480           If you have a controller with this interface, say Y or M here.
481
482           If unsure, say N.
483
484 config MMC_MXC
485         tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
486         depends on ARCH_MXC || PPC_MPC512x
487         help
488           This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
489           Multimedia Card Interface. If you have an i.MX or MPC512x platform
490           with a Multimedia Card slot, say Y or M here.
491
492           If unsure, say N.
493
494 config MMC_MXS
495         tristate "Freescale MXS Multimedia Card Interface support"
496         depends on ARCH_MXS && MXS_DMA
497         help
498           This selects the Freescale SSP MMC controller found on MXS based
499           platforms like mx23/28.
500
501           If unsure, say N.
502
503 config MMC_TIFM_SD
504         tristate "TI Flash Media MMC/SD Interface support"
505         depends on PCI
506         select TIFM_CORE
507         help
508           Say Y here if you want to be able to access MMC/SD cards with
509           the Texas Instruments(R) Flash Media card reader, found in many
510           laptops.
511           This option 'selects' (turns on, enables) 'TIFM_CORE', but you
512           probably also need appropriate card reader host adapter, such as
513           'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
514           (TIFM_7XX1)'.
515
516           To compile this driver as a module, choose M here: the
517           module will be called tifm_sd.
518
519 config MMC_MVSDIO
520         tristate "Marvell MMC/SD/SDIO host driver"
521         depends on PLAT_ORION
522         depends on OF
523         ---help---
524           This selects the Marvell SDIO host driver.
525           SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
526           SoC controllers.
527
528           To compile this driver as a module, choose M here: the
529           module will be called mvsdio.
530
531 config MMC_DAVINCI
532         tristate "TI DAVINCI Multimedia Card Interface support"
533         depends on ARCH_DAVINCI
534         help
535           This selects the TI DAVINCI Multimedia card Interface.
536           If you have an DAVINCI board with a Multimedia Card slot,
537           say Y or M here.  If unsure, say N.
538
539 config MMC_GOLDFISH
540         tristate "goldfish qemu Multimedia Card Interface support"
541         depends on GOLDFISH || COMPILE_TEST
542         help
543           This selects the Goldfish Multimedia card Interface emulation
544           found on the Goldfish Android virtual device emulation.
545
546 config MMC_SPI
547         tristate "MMC/SD/SDIO over SPI"
548         depends on SPI_MASTER && HAS_DMA
549         select CRC7
550         select CRC_ITU_T
551         help
552           Some systems access MMC/SD/SDIO cards using a SPI controller
553           instead of using a "native" MMC/SD/SDIO controller.  This has a
554           disadvantage of being relatively high overhead, but a compensating
555           advantage of working on many systems without dedicated MMC/SD/SDIO
556           controllers.
557
558           If unsure, or if your system has no SPI master driver, say N.
559
560 config MMC_S3C
561         tristate "Samsung S3C SD/MMC Card Interface support"
562         depends on ARCH_S3C24XX
563         depends on S3C24XX_DMAC
564         help
565           This selects a driver for the MCI interface found in
566           Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
567           If you have a board based on one of those and a MMC/SD
568           slot, say Y or M here.
569
570           If unsure, say N.
571
572 config MMC_S3C_HW_SDIO_IRQ
573        bool "Hardware support for SDIO IRQ"
574        depends on MMC_S3C
575        help
576          Enable the hardware support for SDIO interrupts instead of using
577          the generic polling code.
578
579 choice
580         prompt "Samsung S3C SD/MMC transfer code"
581         depends on MMC_S3C
582
583 config MMC_S3C_PIO
584         bool "Use PIO transfers only"
585         help
586           Use PIO to transfer data between memory and the hardware.
587
588           PIO is slower than DMA as it requires CPU instructions to
589           move the data. This has been the traditional default for
590           the S3C MCI driver.
591
592 config MMC_S3C_DMA
593         bool "Use DMA transfers only"
594         help
595           Use DMA to transfer data between memory and the hardare.
596
597           Currently, the DMA support in this driver seems to not be
598           working properly and needs to be debugged before this
599           option is useful.
600
601 endchoice
602
603 config MMC_SDRICOH_CS
604         tristate "MMC/SD driver for Ricoh Bay1Controllers"
605         depends on PCI && PCMCIA
606         help
607           Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
608           card whenever you insert a MMC or SD card into the card slot.
609
610           To compile this driver as a module, choose M here: the
611           module will be called sdricoh_cs.
612
613 config MMC_SDHCI_SPRD
614         tristate "Spreadtrum SDIO host Controller"
615         depends on ARCH_SPRD
616         depends on MMC_SDHCI_PLTFM
617         select MMC_SDHCI_IO_ACCESSORS
618         help
619           This selects the SDIO Host Controller in Spreadtrum
620           SoCs, this driver supports R11(IP version: R11P0).
621
622           If you have a controller with this interface, say Y or M here.
623
624           If unsure, say N.
625
626 config MMC_TMIO_CORE
627         tristate
628
629 config MMC_TMIO
630         tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
631         depends on MFD_TMIO || MFD_ASIC3
632         select MMC_TMIO_CORE
633         help
634           This provides support for the SD/MMC cell found in TC6393XB,
635           T7L66XB and also HTC ASIC3
636
637 config MMC_SDHI
638         tristate "Renesas SDHI SD/SDIO controller support"
639         depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
640         select MMC_TMIO_CORE
641         help
642           This provides support for the SDHI SD/SDIO controller found in
643           Renesas SuperH, ARM and ARM64 based SoCs
644
645 config MMC_SDHI_SYS_DMAC
646         tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
647         depends on MMC_SDHI
648         default MMC_SDHI if (SUPERH || ARM)
649         help
650           This provides DMA support for SDHI SD/SDIO controllers
651           using SYS-DMAC via DMA Engine. This supports the controllers
652           found in SuperH and Renesas ARM based SoCs.
653
654 config MMC_SDHI_INTERNAL_DMAC
655         tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
656         depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST
657         depends on MMC_SDHI
658         default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470)
659         help
660           This provides DMA support for SDHI SD/SDIO controllers
661           using on-chip bus mastering. This supports the controllers
662           found in arm64 based SoCs. This controller is also found in
663           some RZ family SoCs.
664
665 config MMC_UNIPHIER
666         tristate "UniPhier SD/eMMC Host Controller support"
667         depends on ARCH_UNIPHIER || COMPILE_TEST
668         depends on OF
669         select MMC_TMIO_CORE
670         help
671           This provides support for the SD/eMMC controller found in
672           UniPhier SoCs. The eMMC variant of this controller is used
673           only for 32-bit SoCs.
674
675 config MMC_CB710
676         tristate "ENE CB710 MMC/SD Interface support"
677         depends on PCI
678         select CB710_CORE
679         help
680           This option enables support for MMC/SD part of ENE CB710/720 Flash
681           memory card reader found in some laptops (ie. some versions of
682           HP Compaq nx9500).
683
684           This driver can also be built as a module. If so, the module
685           will be called cb710-mmc.
686
687 config MMC_VIA_SDMMC
688         tristate "VIA SD/MMC Card Reader Driver"
689         depends on PCI
690         help
691           This selects the VIA SD/MMC Card Reader driver, say Y or M here.
692           VIA provides one multi-functional card reader which integrated into
693           some motherboards manufactured by VIA. This card reader supports
694           SD/MMC/SDHC.
695           If you have a controller with this interface, say Y or M here.
696
697           If unsure, say N.
698
699 config MMC_CAVIUM_OCTEON
700         tristate "Cavium OCTEON SD/MMC Card Interface support"
701         depends on CAVIUM_OCTEON_SOC
702         help
703           This selects Cavium OCTEON SD/MMC card Interface.
704           If you have an OCTEON board with a Multimedia Card slot,
705           say Y or M here.
706
707           If unsure, say N.
708
709 config MMC_CAVIUM_THUNDERX
710         tristate "Cavium ThunderX SD/MMC Card Interface support"
711         depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
712         depends on GPIO_THUNDERX
713         depends on OF_ADDRESS
714         help
715           This selects Cavium ThunderX SD/MMC Card Interface.
716           If you have an Cavium ARM64 board with a Multimedia Card slot
717           or builtin eMMC chip say Y or M here. If built as a module
718           the module will be called thunderx_mmc.ko.
719
720 config MMC_DW
721         tristate "Synopsys DesignWare Memory Card Interface"
722         depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
723         help
724           This selects support for the Synopsys DesignWare Mobile Storage IP
725           block, this provides host support for SD and MMC interfaces, in both
726           PIO, internal DMA mode and external DMA mode.
727
728 config MMC_DW_PLTFM
729         tristate "Synopsys Designware MCI Support as platform device"
730         depends on MMC_DW
731         default y
732         help
733           This selects the common helper functions support for Host Controller
734           Interface based platform driver. Please select this option if the IP
735           is present as a platform device. This is the common interface for the
736           Synopsys Designware IP.
737
738           If you have a controller with this interface, say Y or M here.
739
740           If unsure, say Y.
741
742 config MMC_DW_BLUEFIELD
743         tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
744         depends on MMC_DW
745         select MMC_DW_PLTFM
746         help
747           This selects support for Mellanox BlueField SoC specific extensions to
748           the Synopsys DesignWare Memory Card Interface driver. Select this
749           option for platforms based on Mellanox BlueField SoC's.
750
751 config MMC_DW_EXYNOS
752         tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
753         depends on MMC_DW
754         select MMC_DW_PLTFM
755         help
756           This selects support for Samsung Exynos SoC specific extensions to the
757           Synopsys DesignWare Memory Card Interface driver. Select this option
758           for platforms based on Exynos4 and Exynos5 SoC's.
759
760 config MMC_DW_HI3798CV200
761         tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
762         depends on MMC_DW
763         select MMC_DW_PLTFM
764         help
765           This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
766           Synopsys DesignWare Memory Card Interface driver. Select this option
767           for platforms based on HiSilicon Hi3798CV200 SoC.
768
769 config MMC_DW_K3
770         tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
771         depends on MMC_DW
772         select MMC_DW_PLTFM
773         help
774           This selects support for Hisilicon K3 SoC specific extensions to the
775           Synopsys DesignWare Memory Card Interface driver. Select this option
776           for platforms based on Hisilicon K3 SoC's.
777
778 config MMC_DW_PCI
779         tristate "Synopsys Designware MCI support on PCI bus"
780         depends on MMC_DW && PCI
781         help
782           This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
783           Select this option if the IP is present on PCI platform.
784
785           If you have a controller with this interface, say Y or M here.
786
787           If unsure, say N.
788
789 config MMC_DW_ROCKCHIP
790         tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
791         depends on MMC_DW && ARCH_ROCKCHIP
792         select MMC_DW_PLTFM
793         help
794           This selects support for Rockchip SoC specific extensions to the
795           Synopsys DesignWare Memory Card Interface driver. Select this option
796           for platforms based on RK3066, RK3188 and RK3288 SoC's.
797
798 config MMC_DW_ZX
799         tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
800         depends on MMC_DW && ARCH_ZX
801         select MMC_DW_PLTFM
802         help
803           This selects support for ZTE SoC specific extensions to the
804           Synopsys DesignWare Memory Card Interface driver. Select this option
805           for platforms based on ZX296718 SoC's.
806
807 config MMC_SH_MMCIF
808         tristate "SuperH Internal MMCIF support"
809         depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
810         help
811           This selects the MMC Host Interface controller (MMCIF) found in various
812           Renesas SoCs for SH and ARM architectures.
813
814
815 config MMC_JZ4740
816         tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
817         depends on MIPS
818         help
819           This selects support for the SD/MMC controller on Ingenic
820           JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
821
822           If you have a board based on such a SoC and with a SD/MMC slot,
823           say Y or M here.
824
825 config MMC_VUB300
826         tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
827         depends on USB
828         help
829           This selects support for Elan Digital Systems' VUB300 chip.
830
831           The VUB300 is a USB-SDIO Host Controller Interface chip
832           that enables the host computer to use SDIO/SD/MMC cards
833           via a USB 2.0 or USB 1.1 host.
834
835           The VUB300 chip will be found in both physically separate
836           USB to SDIO/SD/MMC adapters and embedded on some motherboards.
837
838           The VUB300 chip supports SD and MMC memory cards in addition
839           to single and multifunction SDIO cards.
840
841           Some SDIO cards will need a firmware file to be loaded and
842           sent to VUB300 chip in order to achieve better data throughput.
843           Download these "Offload Pseudocode" from Elan Digital Systems'
844           web-site http://www.elandigitalsystems.com/support/downloads.php
845           and put them in /lib/firmware. Note that without these additional
846           firmware files the VUB300 chip will still function, but not at
847           the best obtainable data rate.
848
849           To compile this mmc host controller driver as a module,
850           choose M here: the module will be called vub300.
851
852           If you have a computer with an embedded VUB300 chip
853           or if you intend connecting a USB adapter based on a
854           VUB300 chip say Y or M here.
855
856 config MMC_USHC
857         tristate "USB SD Host Controller (USHC) support"
858         depends on USB
859         help
860           This selects support for USB SD Host Controllers based on
861           the Cypress Astoria chip with firmware compliant with CSR's
862           USB SD Host Controller specification (CS-118793-SP).
863
864           CSR boards with this device include: USB<>SDIO (M1985v2),
865           and Ultrasira.
866
867           Note: These controllers only support SDIO cards and do not
868           support MMC or SD memory cards.
869
870 config MMC_WMT
871         tristate "Wondermedia SD/MMC Host Controller support"
872         depends on ARCH_VT8500
873         default y
874         help
875           This selects support for the SD/MMC Host Controller on
876           Wondermedia WM8505/WM8650 based SoCs.
877
878           To compile this driver as a module, choose M here: the
879           module will be called wmt-sdmmc.
880
881 config MMC_USDHI6ROL0
882         tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
883         depends on HAS_DMA
884         help
885           This selects support for the Renesas USDHI6ROL0 SD/SDIO
886           Host Controller
887
888 config MMC_REALTEK_PCI
889         tristate "Realtek PCI-E SD/MMC Card Interface Driver"
890         depends on MISC_RTSX_PCI
891         help
892           Say Y here to include driver code to support SD/MMC card interface
893           of Realtek PCI-E card reader
894
895 config MMC_REALTEK_USB
896         tristate "Realtek USB SD/MMC Card Interface Driver"
897         depends on MISC_RTSX_USB
898         help
899           Say Y here to include driver code to support SD/MMC card interface
900           of Realtek RTS5129/39 series card reader
901
902 config MMC_SUNXI
903         tristate "Allwinner sunxi SD/MMC Host Controller support"
904         depends on ARCH_SUNXI
905         help
906           This selects support for the SD/MMC Host Controller on
907           Allwinner sunxi SoCs.
908
909 config MMC_CQHCI
910         tristate "Command Queue Host Controller Interface support"
911         depends on HAS_DMA
912         help
913           This selects the Command Queue Host Controller Interface (CQHCI)
914           support present in host controllers of Qualcomm Technologies, Inc
915           amongst others.
916           This controller supports eMMC devices with command queue support.
917
918           If you have a controller with this interface, say Y or M here.
919
920           If unsure, say N.
921
922 config MMC_TOSHIBA_PCI
923         tristate "Toshiba Type A SD/MMC Card Interface Driver"
924         depends on PCI
925
926 config MMC_BCM2835
927         tristate "Broadcom BCM2835 SDHOST MMC Controller support"
928         depends on ARCH_BCM2835 || COMPILE_TEST
929         help
930           This selects the BCM2835 SDHOST MMC controller. If you have
931           a BCM2835 platform with SD or MMC devices, say Y or M here.
932
933           Note that the BCM2835 has two SD controllers: The Arasan
934           sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
935           sdhost controller (supported by this driver).
936
937           If unsure, say N.
938
939 config MMC_MTK
940         tristate "MediaTek SD/MMC Card Interface support"
941         depends on HAS_DMA
942         help
943           This selects the MediaTek(R) Secure digital and Multimedia card Interface.
944           If you have a machine with a integrated SD/MMC card reader, say Y or M here.
945           This is needed if support for any SD/SDIO/MMC devices is required.
946           If unsure, say N.
947
948 config MMC_SDHCI_MICROCHIP_PIC32
949         tristate "Microchip PIC32MZDA SDHCI support"
950         depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
951         help
952           This selects the Secure Digital Host Controller Interface (SDHCI)
953           for PIC32MZDA platform.
954
955           If you have a controller with this interface, say Y or M here.
956
957           If unsure, say N.
958 config MMC_SDHCI_BRCMSTB
959         tristate "Broadcom SDIO/SD/MMC support"
960         depends on ARCH_BRCMSTB || BMIPS_GENERIC
961         depends on MMC_SDHCI_PLTFM
962         default y
963         help
964           This selects support for the SDIO/SD/MMC Host Controller on
965           Broadcom STB SoCs.
966
967           If unsure, say Y.
968
969 config MMC_SDHCI_XENON
970         tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
971         depends on MMC_SDHCI_PLTFM
972         help
973           This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
974           If you have a controller with this interface, say Y or M here.
975           If unsure, say N.
976
977 config MMC_SDHCI_OMAP
978         tristate "TI SDHCI Controller Support"
979         depends on MMC_SDHCI_PLTFM && OF
980         select THERMAL
981         imply TI_SOC_THERMAL
982         help
983           This selects the Secure Digital Host Controller Interface (SDHCI)
984           support present in TI's DRA7 SOCs. The controller supports
985           SD/MMC/SDIO devices.
986
987           If you have a controller with this interface, say Y or M here.
988
989           If unsure, say N.
990
991 config MMC_SDHCI_AM654
992         tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
993         depends on MMC_SDHCI_PLTFM && OF
994         help
995           This selects the Secure Digital Host Controller Interface (SDHCI)
996           support present in TI's AM654 SOCs. The controller supports
997           SD/MMC/SDIO devices.
998
999           If you have a controller with this interface, say Y or M here.
1000
1001           If unsure, say N.