xref: /linux-6.15/drivers/mmc/host/Kconfig (revision 2af7dd8b)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# MMC/SD host controller drivers
4#
5
6comment "MMC/SD/SDIO Host Controller Drivers"
7
8config MMC_DEBUG
9	bool "MMC host drivers debugging"
10	depends on MMC != n
11	help
12	  This is an option for use by developers; most people should
13	  say N here. This enables MMC host driver debugging. And further
14	  added host drivers please don't invent their private macro for
15	  debugging.
16
17config MMC_SUNPLUS
18	tristate "Sunplus SP7021 MMC Controller"
19	depends on ARCH_SUNPLUS || COMPILE_TEST
20	help
21	  If you say yes here, you will get support for eMMC host interface
22	  on Sunplus SoCs.
23
24	  If unsure, say N
25
26config MMC_ARMMMCI
27	tristate "ARM AMBA Multimedia Card Interface support"
28	depends on ARM_AMBA
29	help
30	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
31	  Interface (PL180 and PL181) support.  If you have an ARM(R)
32	  platform with a Multimedia Card slot, say Y or M here.
33
34	  If unsure, say N.
35
36config MMC_QCOM_DML
37	bool "Qualcomm Data Mover for SD Card Controller"
38	depends on MMC_ARMMMCI && QCOM_BAM_DMA
39	default y
40	help
41	  This selects the Qualcomm Data Mover lite/local on SD Card controller.
42	  This option will enable the dma to work correctly, if you are using
43	  Qcom SOCs and MMC, you would probably need this option to get DMA working.
44
45	  if unsure, say N.
46
47config MMC_STM32_SDMMC
48	bool "STMicroelectronics STM32 SDMMC Controller"
49	depends on MMC_ARMMMCI
50	default y
51	help
52	  This selects the STMicroelectronics STM32 SDMMC host controller.
53	  If you have a STM32 sdmmc host with internal DMA say Y here.
54
55	  If unsure, say N.
56
57config MMC_PXA
58	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
59	depends on ARCH_PXA
60	help
61	  This selects the Intel(R) PXA(R) Multimedia card Interface.
62	  If you have a PXA(R) platform with a Multimedia Card slot,
63	  say Y or M here.
64
65	  If unsure, say N.
66
67config MMC_SDHCI
68	tristate "Secure Digital Host Controller Interface support"
69	depends on HAS_DMA
70	help
71	  This selects the generic Secure Digital Host Controller Interface.
72	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
73	  and Toshiba(R). Most controllers found in laptops are of this type.
74
75	  If you have a controller with this interface, say Y or M here. You
76	  also need to enable an appropriate bus interface.
77
78	  If unsure, say N.
79
80config MMC_SDHCI_IO_ACCESSORS
81	bool
82	depends on MMC_SDHCI
83	help
84	  This is silent Kconfig symbol that is selected by the drivers that
85	  need to overwrite SDHCI IO memory accessors.
86
87config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
88	bool
89	depends on MMC_SDHCI
90	select MMC_SDHCI_IO_ACCESSORS
91	help
92	  This option is selected by drivers running on big endian hosts
93	  and performing I/O to a SDHCI controller through a bus that
94	  implements a hardware byte swapper using a 32-bit datum.
95	  This endian mapping mode is called "data invariance" and
96	  has the effect of scrambling the addresses and formats of data
97	  accessed in sizes other than the datum size.
98
99	  This is the case for the Nintendo Wii SDHCI.
100
101config MMC_SDHCI_UHS2
102	tristate "UHS2 support on SDHCI controller"
103	depends on MMC_SDHCI
104	help
105	  This option is selected by SDHCI controller drivers that want to
106	  support UHS2-capable devices.
107
108	  If you have a controller with this feature, say Y or M here.
109
110config MMC_SDHCI_PCI
111	tristate "SDHCI support on PCI bus"
112	depends on MMC_SDHCI && PCI
113	select MMC_CQHCI
114	select IOSF_MBI if X86
115	select MMC_SDHCI_IO_ACCESSORS
116	help
117	  This selects the PCI Secure Digital Host Controller Interface.
118	  Most controllers found today are PCI devices.
119
120	  If you have a controller with this interface, say Y or M here.
121
122	  If unsure, say N.
123
124config MMC_RICOH_MMC
125	bool "Ricoh MMC Controller Disabler"
126	depends on MMC_SDHCI_PCI
127	default y
128	help
129	  This adds a pci quirk to disable Ricoh MMC Controller. This
130	  proprietary controller is unnecessary because the SDHCI driver
131	  supports MMC cards on the SD controller, but if it is not
132	  disabled, it will steal the MMC cards away - rendering them
133	  useless. It is safe to select this even if you don't
134	  have a Ricoh based card reader.
135
136	  If unsure, say Y.
137
138config MMC_SDHCI_ACPI
139	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
140	depends on MMC_SDHCI && ACPI && PCI
141	select IOSF_MBI if X86
142	help
143	  This selects support for ACPI enumerated SDHCI controllers,
144	  identified by ACPI Compatibility ID PNP0D40 or specific
145	  ACPI Hardware IDs.
146
147	  If you have a controller with this interface, say Y or M here.
148
149	  If unsure, say N.
150
151config MMC_SDHCI_PLTFM
152	tristate "SDHCI platform and OF driver helper"
153	depends on MMC_SDHCI
154	help
155	  This selects the common helper functions support for Secure Digital
156	  Host Controller Interface based platform and OF drivers.
157
158	  If you have a controller with this interface, say Y or M here.
159
160	  If unsure, say N.
161
162config MMC_SDHCI_OF_ARASAN
163	tristate "SDHCI OF support for the Arasan SDHCI controllers"
164	depends on MMC_SDHCI_PLTFM
165	depends on OF
166	depends on COMMON_CLK
167	select MMC_CQHCI
168	help
169	  This selects the Arasan Secure Digital Host Controller Interface
170	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
171
172	  If you have a controller with this interface, say Y or M here.
173
174	  If unsure, say N.
175
176config MMC_SDHCI_OF_ASPEED
177	tristate "SDHCI OF support for the ASPEED SDHCI controller"
178	depends on ARCH_ASPEED || COMPILE_TEST
179	depends on MMC_SDHCI_PLTFM
180	depends on OF && OF_ADDRESS
181	select MMC_SDHCI_IO_ACCESSORS
182	help
183	  This selects the ASPEED Secure Digital Host Controller Interface.
184
185	  If you have a controller with this interface, say Y or M here. You
186	  also need to enable an appropriate bus interface.
187
188	  If unsure, say N.
189
190config MMC_SDHCI_OF_ASPEED_TEST
191	bool "Tests for the ASPEED SDHCI driver" if !KUNIT_ALL_TESTS
192	depends on MMC_SDHCI_OF_ASPEED && KUNIT
193	depends on (MMC_SDHCI_OF_ASPEED=m || KUNIT=y)
194	default KUNIT_ALL_TESTS
195	help
196	  Enable KUnit tests for the ASPEED SDHCI driver. Select this
197	  option only if you will boot the kernel for the purpose of running
198	  unit tests (e.g. under UML or qemu).
199
200	  The KUnit tests generally exercise parts of the driver that do not
201	  directly touch the hardware, for example, the phase correction
202	  calculations.
203
204	  If unsure, say N.
205
206config MMC_SDHCI_OF_AT91
207	tristate "SDHCI OF support for the Atmel SDMMC controller"
208	depends on MMC_SDHCI_PLTFM
209	depends on OF && HAVE_CLK
210	help
211	  This selects the Atmel SDMMC driver
212
213config MMC_SDHCI_OF_ESDHC
214	tristate "SDHCI OF support for the Freescale eSDHC controller"
215	depends on MMC_SDHCI_PLTFM
216	depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
217	select MMC_SDHCI_IO_ACCESSORS
218	select FSL_GUTS
219	help
220	  This selects the Freescale eSDHC controller support.
221
222	  If you have a controller with this interface, say Y or M here.
223
224	  If unsure, say N.
225
226config MMC_SDHCI_OF_HLWD
227	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
228	depends on MMC_SDHCI_PLTFM
229	depends on PPC
230	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
231	help
232	  This selects the Secure Digital Host Controller Interface (SDHCI)
233	  found in the "Hollywood" chipset of the Nintendo Wii video game
234	  console.
235
236	  If you have a controller with this interface, say Y or M here.
237
238	  If unsure, say N.
239
240config MMC_SDHCI_OF_DWCMSHC
241	tristate "SDHCI OF support for the Synopsys DWC MSHC"
242	depends on MMC_SDHCI_PLTFM
243	depends on OF
244	depends on COMMON_CLK
245	select MMC_CQHCI
246	help
247	  This selects Synopsys DesignWare Cores Mobile Storage Controller
248	  support.
249	  If you have a controller with this interface, say Y or M here.
250	  If unsure, say N.
251
252config MMC_SDHCI_OF_SPARX5
253	tristate "SDHCI OF support for the MCHP Sparx5 SoC"
254	depends on MMC_SDHCI_PLTFM
255	depends on ARCH_SPARX5 || COMPILE_TEST
256	help
257	  This selects the Secure Digital Host Controller Interface (SDHCI)
258	  found in the MCHP Sparx5 SoC.
259
260	  If you have a Sparx5 SoC with this interface, say Y or M here.
261
262	  If unsure, say N.
263
264config MMC_SDHCI_OF_MA35D1
265	tristate "SDHCI OF support for the MA35D1 SDHCI controller"
266	depends on ARCH_MA35 || COMPILE_TEST
267	depends on MMC_SDHCI_PLTFM
268	help
269	  This selects the MA35D1 Secure Digital Host Controller Interface.
270	  The controller supports SD/MMC/SDIO devices.
271
272	  If you have a controller with this interface, say Y or M here.
273
274	  If unsure, say N.
275
276config MMC_SDHCI_CADENCE
277	tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
278	depends on MMC_SDHCI_PLTFM
279	depends on OF
280	select MMC_SDHCI_IO_ACCESSORS
281	help
282	  This selects the Cadence SD/SDIO/eMMC driver.
283
284	  If you have a controller with this interface, say Y or M here.
285
286	  If unsure, say N.
287
288config MMC_SDHCI_ESDHC_MCF
289	tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
290	depends on M5441x
291	depends on MMC_SDHCI_PLTFM
292	select MMC_SDHCI_IO_ACCESSORS
293	help
294	  This selects the Freescale eSDHC controller support for
295	  ColdFire mcf5441x devices.
296
297	  If you have a controller with this interface, say Y or M here.
298
299	  If unsure, say N.
300
301config MMC_SDHCI_ESDHC_IMX
302	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
303	depends on ARCH_MXC || COMPILE_TEST
304	depends on MMC_SDHCI_PLTFM
305	depends on OF
306	select MMC_SDHCI_IO_ACCESSORS
307	select MMC_CQHCI
308	help
309	  This selects the Freescale eSDHC/uSDHC controller support
310	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
311
312	  If you have a controller with this interface, say Y or M here.
313
314	  If unsure, say N.
315
316config MMC_SDHCI_DOVE
317	tristate "SDHCI support on Marvell's Dove SoC"
318	depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
319	depends on MMC_SDHCI_PLTFM
320	select MMC_SDHCI_IO_ACCESSORS
321	help
322	  This selects the Secure Digital Host Controller Interface in
323	  Marvell's Dove SoC.
324
325	  If you have a controller with this interface, say Y or M here.
326
327	  If unsure, say N.
328
329config MMC_SDHCI_TEGRA
330	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
331	depends on ARCH_TEGRA || COMPILE_TEST
332	depends on MMC_SDHCI_PLTFM
333	select MMC_SDHCI_IO_ACCESSORS
334	select MMC_CQHCI
335	help
336	  This selects the Tegra SD/MMC controller. If you have a Tegra
337	  platform with SD or MMC devices, say Y or M here.
338
339	  If unsure, say N.
340
341config MMC_SDHCI_S3C
342	tristate "SDHCI support on Samsung S3C/S5P/Exynos SoC"
343	depends on MMC_SDHCI
344	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
345	help
346	  This selects the Secure Digital Host Controller Interface (SDHCI)
347	  often referrered to as the HSMMC block in some of the Samsung
348	  S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
349
350	  If you have a controller with this interface (thereforeyou build for
351	  such Samsung SoC), say Y or M here.
352
353	  If unsure, say N.
354
355config MMC_SDHCI_PXAV3
356	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
357	depends on HAVE_CLK
358	depends on MMC_SDHCI_PLTFM
359	depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
360	default CPU_MMP2
361	help
362	  This selects the Marvell(R) PXAV3 SD Host Controller.
363	  If you have a MMP2 platform with SD Host Controller
364	  and a card slot, say Y or M here.
365
366	  If unsure, say N.
367
368config MMC_SDHCI_PXAV2
369	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
370	depends on HAVE_CLK
371	depends on MMC_SDHCI_PLTFM
372	depends on ARCH_MMP || COMPILE_TEST
373	default CPU_PXA910
374	select MMC_SDHCI_IO_ACCESSORS
375	help
376	  This selects the Marvell(R) PXAV2 SD Host Controller.
377	  If you have a PXA9XX platform with SD Host Controller
378	  and a card slot, say Y or M here.
379
380	  If unsure, say N.
381
382config MMC_SDHCI_SPEAR
383	tristate "SDHCI support on ST SPEAr platform"
384	depends on MMC_SDHCI
385	depends on PLAT_SPEAR || COMPILE_TEST
386	depends on OF
387	help
388	  This selects the Secure Digital Host Controller Interface (SDHCI)
389	  often referrered to as the HSMMC block in some of the ST SPEAR range
390	  of SoC
391
392	  If you have a controller with this interface, say Y or M here.
393
394	  If unsure, say N.
395
396config MMC_SDHCI_S3C_DMA
397	bool "DMA support on S3C SDHCI"
398	depends on MMC_SDHCI_S3C
399	help
400	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
401	  has proved to be problematic if the controller encounters
402	  certain errors, and thus should be treated with care.
403
404	  YMMV.
405
406config MMC_SDHCI_BCM_KONA
407	tristate "SDHCI support on Broadcom KONA platform"
408	depends on ARCH_BCM_MOBILE || COMPILE_TEST
409	depends on MMC_SDHCI_PLTFM
410	help
411	  This selects the Broadcom Kona Secure Digital Host Controller
412	  Interface(SDHCI) support.
413	  This is used in Broadcom mobile SoCs.
414
415	  If you have a controller with this interface, say Y or M here.
416
417config MMC_SDHCI_F_SDH30
418	tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
419	depends on MMC_SDHCI_PLTFM
420	depends on OF || ACPI
421	help
422	  This selects the Secure Digital Host Controller Interface (SDHCI)
423	  Needed by some Fujitsu SoC for MMC / SD / SDIO support.
424	  If you have a controller with this interface, say Y or M here.
425
426	  If unsure, say N.
427
428config MMC_SDHCI_MILBEAUT
429	tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30"
430	depends on MMC_SDHCI_PLTFM
431	depends on OF
432	help
433	  This selects the Secure Digital Host Controller Interface (SDHCI)
434	  Needed by Milbeaut SoC for MMC / SD / SDIO support.
435	  If you have a controller with this interface, say Y or M here.
436
437	  If unsure, say N.
438
439config MMC_SDHCI_IPROC
440	tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
441	depends on ARCH_BCM2835 || ARCH_BCM_IPROC || ARCH_BRCMSTB || COMPILE_TEST
442	depends on MMC_SDHCI_PLTFM
443	depends on OF || ACPI
444	default ARCH_BCM_IPROC
445	select MMC_SDHCI_IO_ACCESSORS
446	help
447	  This selects the iProc SD/MMC controller.
448
449	  If you have a BCM2835 or IPROC platform with SD or MMC devices,
450	  say Y or M here.
451
452	  If unsure, say N.
453
454config MMC_SDHCI_NPCM
455	tristate "Secure Digital Host Controller Interface support for NPCM"
456	depends on ARCH_NPCM || COMPILE_TEST
457	depends on MMC_SDHCI_PLTFM
458	help
459	  This provides support for the SD/eMMC controller found in
460	  NPCM BMC family SoCs.
461
462config MMC_MESON_GX
463	tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
464	depends on ARCH_MESON|| COMPILE_TEST
465	depends on COMMON_CLK
466	help
467	  This selects support for the Amlogic SD/MMC Host Controller
468	  found on the S905/GX*/AXG family of SoCs.  This controller is
469	  MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
470
471	  If you have a controller with this interface, say Y here.
472
473config MMC_MESON_MX_SDHC
474	tristate "Amlogic Meson SDHC Host Controller support"
475	depends on (ARM && ARCH_MESON) || COMPILE_TEST
476	depends on COMMON_CLK
477	depends on OF
478	help
479	  This selects support for the SDHC Host Controller on
480	  Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs.
481	  The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x
482	  with 1, 4, and 8 bit bus widths.
483
484	  If you have a controller with this interface, say Y or M here.
485	  If unsure, say N.
486
487config MMC_MESON_MX_SDIO
488	tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
489	depends on ARCH_MESON || COMPILE_TEST
490	depends on COMMON_CLK
491	depends on OF_ADDRESS
492	help
493	  This selects support for the SD/MMC Host Controller on
494	  Amlogic Meson6, Meson8 and Meson8b SoCs.
495
496	  If you have a controller with this interface, say Y or M here.
497	  If unsure, say N.
498
499config MMC_MOXART
500	tristate "MOXART SD/MMC Host Controller support"
501	depends on ARCH_MOXART || COMPILE_TEST
502	help
503	  This selects support for the MOXART SD/MMC Host Controller.
504	  MOXA provides one multi-functional card reader which can
505	  be found on some embedded hardware such as UC-7112-LX.
506	  If you have a controller with this interface, say Y here.
507
508config MMC_SDHCI_ST
509	tristate "SDHCI support on STMicroelectronics SoC"
510	depends on ARCH_STI || FSP2 || COMPILE_TEST
511	depends on MMC_SDHCI_PLTFM
512	select MMC_SDHCI_IO_ACCESSORS
513	help
514	  This selects the Secure Digital Host Controller Interface in
515	  STMicroelectronics SoCs.
516
517	  If you have a controller with this interface, say Y or M here.
518	  If unsure, say N.
519
520config MMC_OMAP
521	tristate "TI OMAP Multimedia Card Interface support"
522	depends on ARCH_OMAP
523	help
524	  This selects the TI OMAP Multimedia card Interface.
525	  If you have an OMAP board with a Multimedia Card slot,
526	  say Y or M here.
527
528	  If unsure, say N.
529
530config MMC_OMAP_HS
531	tristate "TI OMAP High Speed Multimedia Card Interface support"
532	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
533	help
534	  This selects the TI OMAP High Speed Multimedia card Interface.
535	  If you have an omap2plus board with a Multimedia Card slot,
536	  say Y or M here.
537
538	  If unsure, say N.
539
540config MMC_WBSD
541	tristate "Winbond W83L51xD SD/MMC Card Interface support"
542	depends on ISA_DMA_API
543	help
544	  This selects the Winbond(R) W83L51xD Secure digital and
545	  Multimedia card Interface.
546	  If you have a machine with a integrated W83L518D or W83L519D
547	  SD/MMC card reader, say Y or M here.
548
549	  If unsure, say N.
550
551config MMC_ALCOR
552	tristate "Alcor Micro/Alcor Link SD/MMC controller"
553	depends on MISC_ALCOR_PCI
554	help
555	  Say Y here to include driver code to support SD/MMC card interface
556	  of Alcor Micro PCI-E card reader
557
558config MMC_AU1X
559	bool "Alchemy AU1XX0 MMC Card Interface support"
560	depends on MIPS_ALCHEMY
561	depends on MMC=y
562	help
563	  This selects the AMD Alchemy(R) Multimedia card interface.
564	  If you have a Alchemy platform with a MMC slot, say Y here.
565
566	  If unsure, say N.
567
568config MMC_ATMELMCI
569	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
570	depends on ARCH_AT91
571	help
572	  This selects the Atmel Multimedia Card Interface driver.
573	  If you have an AT91 platform with a Multimedia Card slot,
574	  say Y or M here.
575
576	  If unsure, say N.
577
578config MMC_SDHCI_MSM
579	tristate "Qualcomm SDHCI Controller Support"
580	depends on ARCH_QCOM || COMPILE_TEST
581	depends on MMC_SDHCI_PLTFM
582	select MMC_SDHCI_IO_ACCESSORS
583	select MMC_CQHCI
584	select QCOM_INLINE_CRYPTO_ENGINE if MMC_CRYPTO
585	help
586	  This selects the Secure Digital Host Controller Interface (SDHCI)
587	  support present in Qualcomm SOCs. The controller supports
588	  SD/MMC/SDIO devices.
589
590	  If you have a controller with this interface, say Y or M here.
591
592	  If unsure, say N.
593
594config MMC_MXC
595	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
596	depends on ARCH_MXC || PPC_MPC512x
597	help
598	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
599	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
600	  with a Multimedia Card slot, say Y or M here.
601
602	  If unsure, say N.
603
604config MMC_MXS
605	tristate "Freescale MXS Multimedia Card Interface support"
606	depends on ARCH_MXS && MXS_DMA
607	help
608	  This selects the Freescale SSP MMC controller found on MXS based
609	  platforms like mx23/28.
610
611	  If unsure, say N.
612
613config MMC_TIFM_SD
614	tristate "TI Flash Media MMC/SD Interface support"
615	depends on PCI
616	select TIFM_CORE
617	help
618	  Say Y here if you want to be able to access MMC/SD cards with
619	  the Texas Instruments(R) Flash Media card reader, found in many
620	  laptops.
621	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
622	  probably also need appropriate card reader host adapter, such as
623	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
624	  (TIFM_7XX1)'.
625
626	  To compile this driver as a module, choose M here: the
627	  module will be called tifm_sd.
628
629config MMC_MVSDIO
630	tristate "Marvell MMC/SD/SDIO host driver"
631	depends on PLAT_ORION || (COMPILE_TEST && ARM)
632	depends on OF
633	help
634	  This selects the Marvell SDIO host driver.
635	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
636	  SoC controllers.
637
638	  To compile this driver as a module, choose M here: the
639	  module will be called mvsdio.
640
641config MMC_DAVINCI
642	tristate "TI DAVINCI Multimedia Card Interface support"
643	depends on ARCH_DAVINCI || COMPILE_TEST
644	help
645	  This selects the TI DAVINCI Multimedia card Interface.
646	  If you have an DAVINCI board with a Multimedia Card slot,
647	  say Y or M here.  If unsure, say N.
648
649config MMC_SPI
650	tristate "MMC/SD/SDIO over SPI"
651	depends on SPI_MASTER
652	select CRC7
653	select CRC_ITU_T
654	help
655	  Some systems access MMC/SD/SDIO cards using a SPI controller
656	  instead of using a "native" MMC/SD/SDIO controller.  This has a
657	  disadvantage of being relatively high overhead, but a compensating
658	  advantage of working on many systems without dedicated MMC/SD/SDIO
659	  controllers.
660
661	  If unsure, or if your system has no SPI master driver, say N.
662
663config MMC_SDRICOH_CS
664	tristate "MMC/SD driver for Ricoh Bay1Controllers"
665	depends on PCI && PCMCIA
666	help
667	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
668	  card whenever you insert a MMC or SD card into the card slot.
669
670	  To compile this driver as a module, choose M here: the
671	  module will be called sdricoh_cs.
672
673config MMC_SDHCI_SPRD
674	tristate "Spreadtrum SDIO host Controller"
675	depends on ARCH_SPRD || COMPILE_TEST
676	depends on MMC_SDHCI_PLTFM
677	select MMC_SDHCI_IO_ACCESSORS
678	select MMC_HSQ
679	help
680	  This selects the SDIO Host Controller in Spreadtrum
681	  SoCs, this driver supports R11(IP version: R11P0).
682
683	  If you have a controller with this interface, say Y or M here.
684
685	  If unsure, say N.
686
687config MMC_TMIO_CORE
688	tristate
689
690config MMC_SDHI
691	tristate "Renesas SDHI SD/SDIO controller support"
692	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
693	select MMC_TMIO_CORE
694	select RESET_CONTROLLER if ARCH_RENESAS
695	help
696	  This provides support for the SDHI SD/SDIO controller found in
697	  Renesas SuperH, ARM and ARM64 based SoCs
698
699config MMC_SDHI_SYS_DMAC
700	tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
701	depends on MMC_SDHI
702	default MMC_SDHI if (SUPERH || ARM)
703	help
704	  This provides DMA support for SDHI SD/SDIO controllers
705	  using SYS-DMAC via DMA Engine. This supports the controllers
706	  found in SuperH and Renesas ARM based SoCs.
707
708config MMC_SDHI_INTERNAL_DMAC
709	tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
710	depends on ARCH_RENESAS || COMPILE_TEST
711	depends on MMC_SDHI
712	default MMC_SDHI if ARCH_RENESAS
713	help
714	  This provides DMA support for SDHI SD/SDIO controllers
715	  using on-chip bus mastering. This supports the controllers
716	  found in arm64 based SoCs. This controller is also found in
717	  some RZ family SoCs.
718
719config MMC_UNIPHIER
720	tristate "UniPhier SD/eMMC Host Controller support"
721	depends on ARCH_UNIPHIER || COMPILE_TEST
722	depends on OF
723	select MMC_TMIO_CORE
724	help
725	  This provides support for the SD/eMMC controller found in
726	  UniPhier SoCs. The eMMC variant of this controller is used
727	  only for 32-bit SoCs.
728
729config MMC_CB710
730	tristate "ENE CB710 MMC/SD Interface support"
731	depends on PCI
732	select CB710_CORE
733	help
734	  This option enables support for MMC/SD part of ENE CB710/720 Flash
735	  memory card reader found in some laptops (ie. some versions of
736	  HP Compaq nx9500).
737
738	  This driver can also be built as a module. If so, the module
739	  will be called cb710-mmc.
740
741config MMC_VIA_SDMMC
742	tristate "VIA SD/MMC Card Reader Driver"
743	depends on PCI
744	help
745	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
746	  VIA provides one multi-functional card reader which integrated into
747	  some motherboards manufactured by VIA. This card reader supports
748	  SD/MMC/SDHC.
749	  If you have a controller with this interface, say Y or M here.
750
751	  If unsure, say N.
752
753config MMC_CAVIUM_OCTEON
754	tristate "Cavium OCTEON SD/MMC Card Interface support"
755	depends on CAVIUM_OCTEON_SOC
756	help
757	  This selects Cavium OCTEON SD/MMC card Interface.
758	  If you have an OCTEON board with a Multimedia Card slot,
759	  say Y or M here.
760
761	  If unsure, say N.
762
763config MMC_CAVIUM_THUNDERX
764	tristate "Cavium ThunderX SD/MMC Card Interface support"
765	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
766	depends on GPIO_THUNDERX
767	depends on OF_ADDRESS
768	help
769	  This selects Cavium ThunderX SD/MMC Card Interface.
770	  If you have an Cavium ARM64 board with a Multimedia Card slot
771	  or builtin eMMC chip say Y or M here. If built as a module
772	  the module will be called thunderx_mmc.ko.
773
774config MMC_DW
775	tristate "Synopsys DesignWare Memory Card Interface"
776	depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST
777	help
778	  This selects support for the Synopsys DesignWare Mobile Storage IP
779	  block, this provides host support for SD and MMC interfaces, in both
780	  PIO, internal DMA mode and external DMA mode.
781
782config MMC_DW_PLTFM
783	tristate "Synopsys Designware MCI Support as platform device"
784	depends on MMC_DW
785	default y
786	help
787	  This selects the common helper functions support for Host Controller
788	  Interface based platform driver. Please select this option if the IP
789	  is present as a platform device. This is the common interface for the
790	  Synopsys Designware IP.
791
792	  If you have a controller with this interface, say Y or M here.
793
794	  If unsure, say Y.
795
796config MMC_DW_BLUEFIELD
797	tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
798	depends on MMC_DW
799	select MMC_DW_PLTFM
800	help
801	  This selects support for Mellanox BlueField SoC specific extensions to
802	  the Synopsys DesignWare Memory Card Interface driver. Select this
803	  option for platforms based on Mellanox BlueField SoC's.
804
805config MMC_DW_EXYNOS
806	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
807	depends on MMC_DW
808	select MMC_DW_PLTFM
809	help
810	  This selects support for Samsung Exynos SoC specific extensions to the
811	  Synopsys DesignWare Memory Card Interface driver. Select this option
812	  for platforms based on Exynos4 and Exynos5 SoC's.
813
814config MMC_DW_HI3798CV200
815	tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
816	depends on MMC_DW
817	select MMC_DW_PLTFM
818	help
819	  This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
820	  Synopsys DesignWare Memory Card Interface driver. Select this option
821	  for platforms based on HiSilicon Hi3798CV200 SoC.
822
823config MMC_DW_HI3798MV200
824	tristate "Hi3798MV200 specific extensions for Synopsys DW Memory Card Interface"
825	depends on MMC_DW
826	select MMC_DW_PLTFM
827	help
828	  This selects support for HiSilicon Hi3798MV200 SoC specific extensions to the
829	  Synopsys DesignWare Memory Card Interface driver. Select this option
830	  for platforms based on HiSilicon Hi3798MV200 SoC.
831
832config MMC_DW_K3
833	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
834	depends on MMC_DW
835	select MMC_DW_PLTFM
836	help
837	  This selects support for Hisilicon K3 SoC specific extensions to the
838	  Synopsys DesignWare Memory Card Interface driver. Select this option
839	  for platforms based on Hisilicon K3 SoC's.
840
841config MMC_DW_PCI
842	tristate "Synopsys Designware MCI support on PCI bus"
843	depends on MMC_DW && PCI
844	help
845	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
846	  Select this option if the IP is present on PCI platform.
847
848	  If you have a controller with this interface, say Y or M here.
849
850	  If unsure, say N.
851
852config MMC_DW_ROCKCHIP
853	tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
854	depends on MMC_DW && ARCH_ROCKCHIP
855	select MMC_DW_PLTFM
856	help
857	  This selects support for Rockchip SoC specific extensions to the
858	  Synopsys DesignWare Memory Card Interface driver. Select this option
859	  for platforms based on RK3066, RK3188 and RK3288 SoC's.
860
861config MMC_DW_STARFIVE
862	tristate "StarFive specific extensions for Synopsys DW Memory Card Interface"
863	depends on SOC_STARFIVE
864	depends on MMC_DW
865	select MMC_DW_PLTFM
866	help
867	  This selects support for StarFive JH7110 SoC specific extensions to the
868	  Synopsys DesignWare Memory Card Interface driver. Select this option
869	  for platforms based on StarFive JH7110 SoC.
870
871config MMC_SH_MMCIF
872	tristate "SuperH Internal MMCIF support"
873	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
874	help
875	  This selects the MMC Host Interface controller (MMCIF) found in various
876	  Renesas SoCs for SH and ARM architectures.
877
878
879config MMC_JZ4740
880	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
881	depends on MIPS
882	help
883	  This selects support for the SD/MMC controller on Ingenic
884	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
885
886	  If you have a board based on such a SoC and with a SD/MMC slot,
887	  say Y or M here.
888
889config MMC_VUB300
890	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
891	depends on USB
892	help
893	  This selects support for Elan Digital Systems' VUB300 chip.
894
895	  The VUB300 is a USB-SDIO Host Controller Interface chip
896	  that enables the host computer to use SDIO/SD/MMC cards
897	  via a USB 2.0 or USB 1.1 host.
898
899	  The VUB300 chip will be found in both physically separate
900	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
901
902	  The VUB300 chip supports SD and MMC memory cards in addition
903	  to single and multifunction SDIO cards.
904
905	  Some SDIO cards will need a firmware file to be loaded and
906	  sent to VUB300 chip in order to achieve better data throughput.
907	  Download these "Offload Pseudocode" from Elan Digital Systems'
908	  web-site http://www.elandigitalsystems.com/support/downloads.php
909	  and put them in /lib/firmware. Note that without these additional
910	  firmware files the VUB300 chip will still function, but not at
911	  the best obtainable data rate.
912
913	  To compile this mmc host controller driver as a module,
914	  choose M here: the module will be called vub300.
915
916	  If you have a computer with an embedded VUB300 chip
917	  or if you intend connecting a USB adapter based on a
918	  VUB300 chip say Y or M here.
919
920config MMC_USHC
921	tristate "USB SD Host Controller (USHC) support"
922	depends on USB
923	help
924	  This selects support for USB SD Host Controllers based on
925	  the Cypress Astoria chip with firmware compliant with CSR's
926	  USB SD Host Controller specification (CS-118793-SP).
927
928	  CSR boards with this device include: USB<>SDIO (M1985v2),
929	  and Ultrasira.
930
931	  Note: These controllers only support SDIO cards and do not
932	  support MMC or SD memory cards.
933
934config MMC_WMT
935	tristate "Wondermedia SD/MMC Host Controller support"
936	depends on ARCH_VT8500
937	default y
938	help
939	  This selects support for the SD/MMC Host Controller on
940	  Wondermedia WM8505/WM8650 based SoCs.
941
942	  To compile this driver as a module, choose M here: the
943	  module will be called wmt-sdmmc.
944
945config MMC_USDHI6ROL0
946	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
947	depends on HAS_DMA
948	help
949	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
950	  Host Controller
951
952config MMC_REALTEK_PCI
953	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
954	depends on MISC_RTSX_PCI
955	help
956	  Say Y here to include driver code to support SD/MMC card interface
957	  of Realtek PCI-E card reader
958
959config MMC_REALTEK_USB
960	tristate "Realtek USB SD/MMC Card Interface Driver"
961	depends on MISC_RTSX_USB
962	help
963	  Say Y here to include driver code to support SD/MMC card interface
964	  of Realtek RTS5129/39 series card reader
965
966config MMC_SUNXI
967	tristate "Allwinner sunxi SD/MMC Host Controller support"
968	depends on ARCH_SUNXI || COMPILE_TEST
969	depends on SUNXI_CCU
970	help
971	  This selects support for the SD/MMC Host Controller on
972	  Allwinner sunxi SoCs.
973
974config MMC_CQHCI
975	tristate "Command Queue Host Controller Interface support"
976	depends on HAS_DMA
977	help
978	  This selects the Command Queue Host Controller Interface (CQHCI)
979	  support present in host controllers of Qualcomm Technologies, Inc
980	  amongst others.
981	  This controller supports eMMC devices with command queue support.
982
983	  If you have a controller with this interface, say Y or M here.
984
985	  If unsure, say N.
986
987config MMC_HSQ
988	tristate "MMC Host Software Queue support"
989	help
990	  This selects the MMC Host Software Queue support. This may increase
991	  performance, if the host controller and its driver supports it.
992
993	  If you have a controller/driver supporting this interface, say Y or M
994	  here.
995
996	  If unsure, say N.
997
998config MMC_TOSHIBA_PCI
999	tristate "Toshiba Type A SD/MMC Card Interface Driver"
1000	depends on PCI
1001
1002config MMC_BCM2835
1003	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
1004	depends on ARCH_BCM2835 || COMPILE_TEST
1005	help
1006	  This selects the BCM2835 SDHOST MMC controller. If you have
1007	  a BCM2835 platform with SD or MMC devices, say Y or M here.
1008
1009	  Note that the BCM2835 has two SD controllers: The Arasan
1010	  sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
1011	  sdhost controller (supported by this driver).
1012
1013	  If unsure, say N.
1014
1015config MMC_MTK
1016	tristate "MediaTek SD/MMC Card Interface support"
1017	depends on HAS_DMA
1018	depends on COMMON_CLK
1019	select REGULATOR
1020	select MMC_CQHCI
1021	select MMC_HSQ
1022	help
1023	  This selects the MediaTek(R) Secure digital and Multimedia card Interface.
1024	  If you have a machine with a integrated SD/MMC card reader, say Y or M here.
1025	  This is needed if support for any SD/SDIO/MMC devices is required.
1026	  If unsure, say N.
1027
1028config MMC_SDHCI_MICROCHIP_PIC32
1029	tristate "Microchip PIC32MZDA SDHCI support"
1030	depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
1031	help
1032	  This selects the Secure Digital Host Controller Interface (SDHCI)
1033	  for PIC32MZDA platform.
1034
1035	  If you have a controller with this interface, say Y or M here.
1036
1037	  If unsure, say N.
1038
1039config MMC_SDHCI_BRCMSTB
1040	tristate "Broadcom SDIO/SD/MMC support"
1041	depends on ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST
1042	depends on MMC_SDHCI_PLTFM
1043	select MMC_CQHCI
1044	default ARCH_BRCMSTB || BMIPS_GENERIC
1045	help
1046	  This selects support for the SDIO/SD/MMC Host Controller on
1047	  Broadcom STB SoCs.
1048
1049	  If unsure, say Y.
1050
1051config MMC_SDHCI_XENON
1052	tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
1053	depends on MMC_SDHCI_PLTFM
1054	help
1055	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
1056	  If you have a controller with this interface, say Y or M here.
1057	  If unsure, say N.
1058
1059config MMC_SDHCI_OMAP
1060	tristate "TI SDHCI Controller Support"
1061	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
1062	depends on MMC_SDHCI_PLTFM && OF
1063	select THERMAL
1064	imply TI_SOC_THERMAL
1065	select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
1066	help
1067	  This selects the Secure Digital Host Controller Interface (SDHCI)
1068	  support present in TI's Keystone/OMAP2+/DRA7 SOCs. The controller
1069	  supports SD/MMC/SDIO devices.
1070
1071	  If you have a controller with this interface, say Y or M here.
1072
1073	  If unsure, say N.
1074
1075config MMC_SDHCI_AM654
1076	tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
1077	depends on ARCH_K3 || COMPILE_TEST
1078	depends on MMC_SDHCI_PLTFM && OF
1079	select MMC_SDHCI_IO_ACCESSORS
1080	select MMC_CQHCI
1081	select REGMAP_MMIO
1082	help
1083	  This selects the Secure Digital Host Controller Interface (SDHCI)
1084	  support present in TI's AM65x/AM64x/AM62x/J721E SOCs. The controller
1085	  supports SD/MMC/SDIO devices.
1086
1087	  If you have a controller with this interface, say Y or M here.
1088
1089	  If unsure, say N.
1090
1091config MMC_OWL
1092	tristate "Actions Semi Owl SD/MMC Host Controller support"
1093	depends on HAS_DMA
1094	depends on ARCH_ACTIONS || COMPILE_TEST
1095	help
1096	  This selects support for the SD/MMC Host Controller on
1097	  Actions Semi Owl SoCs.
1098
1099config MMC_SDHCI_EXTERNAL_DMA
1100	bool
1101
1102config MMC_LITEX
1103	tristate "LiteX MMC Host Controller support"
1104	depends on ((PPC_MICROWATT || LITEX) && OF && HAVE_CLK) || COMPILE_TEST
1105	select REGULATOR
1106	select REGULATOR_FIXED_VOLTAGE
1107	help
1108	  This selects support for the MMC Host Controller found in LiteX SoCs.
1109
1110	  To compile this driver as a module, choose M here: the
1111	  module will be called litex_mmc.
1112
1113	  If unsure, say N.
1114