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