xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision b5dbcf1f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21c6a0718SPierre Ossman#
31c6a0718SPierre Ossman# MMC/SD host controller drivers
41c6a0718SPierre Ossman#
51c6a0718SPierre Ossman
657105737SPierre Ossmancomment "MMC/SD/SDIO Host Controller Drivers"
71c6a0718SPierre Ossman
803596b92SShawn Linconfig MMC_DEBUG
9b4f146f5SWolfram Sang	bool "MMC host drivers debugging"
1003596b92SShawn Lin	depends on MMC != n
1103596b92SShawn Lin	help
1203596b92SShawn Lin	  This is an option for use by developers; most people should
1303596b92SShawn Lin	  say N here. This enables MMC host driver debugging. And further
1403596b92SShawn Lin	  added host drivers please don't invent their private macro for
1503596b92SShawn Lin	  debugging.
1603596b92SShawn Lin
174e268fedSTony Huangconfig MMC_SUNPLUS
184e268fedSTony Huang	tristate "Sunplus SP7021 MMC Controller"
194e268fedSTony Huang	depends on ARCH_SUNPLUS || COMPILE_TEST
204e268fedSTony Huang	help
214e268fedSTony Huang	  If you say yes here, you will get support for eMMC host interface
224e268fedSTony Huang	  on Sunplus SoCs.
234e268fedSTony Huang
244e268fedSTony Huang	  If unsure, say N
254e268fedSTony Huang
261c6a0718SPierre Ossmanconfig MMC_ARMMMCI
271c6a0718SPierre Ossman	tristate "ARM AMBA Multimedia Card Interface support"
28790864dcSJan Engelhardt	depends on ARM_AMBA
291c6a0718SPierre Ossman	help
301c6a0718SPierre Ossman	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
311c6a0718SPierre Ossman	  Interface (PL180 and PL181) support.  If you have an ARM(R)
321c6a0718SPierre Ossman	  platform with a Multimedia Card slot, say Y or M here.
331c6a0718SPierre Ossman
341c6a0718SPierre Ossman	  If unsure, say N.
351c6a0718SPierre Ossman
369cb15142SSrinivas Kandagatlaconfig MMC_QCOM_DML
371ac99066SSrinivas Kandagatla	bool "Qualcomm Data Mover for SD Card Controller"
389cb15142SSrinivas Kandagatla	depends on MMC_ARMMMCI && QCOM_BAM_DMA
399cb15142SSrinivas Kandagatla	default y
409cb15142SSrinivas Kandagatla	help
419cb15142SSrinivas Kandagatla	  This selects the Qualcomm Data Mover lite/local on SD Card controller.
429cb15142SSrinivas Kandagatla	  This option will enable the dma to work correctly, if you are using
439cb15142SSrinivas Kandagatla	  Qcom SOCs and MMC, you would probably need this option to get DMA working.
449cb15142SSrinivas Kandagatla
459cb15142SSrinivas Kandagatla	  if unsure, say N.
469cb15142SSrinivas Kandagatla
4746b723ddSLudovic Barreconfig MMC_STM32_SDMMC
4846b723ddSLudovic Barre	bool "STMicroelectronics STM32 SDMMC Controller"
4946b723ddSLudovic Barre	depends on MMC_ARMMMCI
5046b723ddSLudovic Barre	default y
5146b723ddSLudovic Barre	help
5246b723ddSLudovic Barre	  This selects the STMicroelectronics STM32 SDMMC host controller.
5346b723ddSLudovic Barre	  If you have a STM32 sdmmc host with internal DMA say Y here.
5446b723ddSLudovic Barre
5546b723ddSLudovic Barre	  If unsure, say N.
5646b723ddSLudovic Barre
571c6a0718SPierre Ossmanconfig MMC_PXA
581c6a0718SPierre Ossman	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
59790864dcSJan Engelhardt	depends on ARCH_PXA
601c6a0718SPierre Ossman	help
611c6a0718SPierre Ossman	  This selects the Intel(R) PXA(R) Multimedia card Interface.
621c6a0718SPierre Ossman	  If you have a PXA(R) platform with a Multimedia Card slot,
631c6a0718SPierre Ossman	  say Y or M here.
641c6a0718SPierre Ossman
651c6a0718SPierre Ossman	  If unsure, say N.
661c6a0718SPierre Ossman
671c6a0718SPierre Ossmanconfig MMC_SDHCI
6834671dc2SPierre Ossman	tristate "Secure Digital Host Controller Interface support"
69b8c86fc5SPierre Ossman	depends on HAS_DMA
701c6a0718SPierre Ossman	help
71b8c86fc5SPierre Ossman	  This selects the generic Secure Digital Host Controller Interface.
721c6a0718SPierre Ossman	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
731c6a0718SPierre Ossman	  and Toshiba(R). Most controllers found in laptops are of this type.
74b8c86fc5SPierre Ossman
75b8c86fc5SPierre Ossman	  If you have a controller with this interface, say Y or M here. You
76b8c86fc5SPierre Ossman	  also need to enable an appropriate bus interface.
77b8c86fc5SPierre Ossman
78b8c86fc5SPierre Ossman	  If unsure, say N.
79b8c86fc5SPierre Ossman
804e4141a5SAnton Vorontsovconfig MMC_SDHCI_IO_ACCESSORS
814e4141a5SAnton Vorontsov	bool
824e4141a5SAnton Vorontsov	depends on MMC_SDHCI
834e4141a5SAnton Vorontsov	help
844e4141a5SAnton Vorontsov	  This is silent Kconfig symbol that is selected by the drivers that
854e4141a5SAnton Vorontsov	  need to overwrite SDHCI IO memory accessors.
864e4141a5SAnton Vorontsov
877657c3a7SAlbert Herranzconfig MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
887657c3a7SAlbert Herranz	bool
8982813b71SJean Delvare	depends on MMC_SDHCI
907657c3a7SAlbert Herranz	select MMC_SDHCI_IO_ACCESSORS
917657c3a7SAlbert Herranz	help
927657c3a7SAlbert Herranz	  This option is selected by drivers running on big endian hosts
937657c3a7SAlbert Herranz	  and performing I/O to a SDHCI controller through a bus that
947657c3a7SAlbert Herranz	  implements a hardware byte swapper using a 32-bit datum.
957657c3a7SAlbert Herranz	  This endian mapping mode is called "data invariance" and
967657c3a7SAlbert Herranz	  has the effect of scrambling the addresses and formats of data
977657c3a7SAlbert Herranz	  accessed in sizes other than the datum size.
987657c3a7SAlbert Herranz
992ca63524Syangbo lu	  This is the case for the Nintendo Wii SDHCI.
1007657c3a7SAlbert Herranz
101b8c86fc5SPierre Ossmanconfig MMC_SDHCI_PCI
102b8c86fc5SPierre Ossman	tristate "SDHCI support on PCI bus"
103b8c86fc5SPierre Ossman	depends on MMC_SDHCI && PCI
1048ee82bdaSAdrian Hunter	select MMC_CQHCI
1050a49a619SAdrian Hunter	select IOSF_MBI if X86
106e51df6ceSBen Chuang	select MMC_SDHCI_IO_ACCESSORS
107b8c86fc5SPierre Ossman	help
108b8c86fc5SPierre Ossman	  This selects the PCI Secure Digital Host Controller Interface.
109b8c86fc5SPierre Ossman	  Most controllers found today are PCI devices.
110b8c86fc5SPierre Ossman
1111c6a0718SPierre Ossman	  If you have a controller with this interface, say Y or M here.
1121c6a0718SPierre Ossman
1131c6a0718SPierre Ossman	  If unsure, say N.
1141c6a0718SPierre Ossman
1155ae70296SPhilip Langdaleconfig MMC_RICOH_MMC
11686147c84SKees Cook	bool "Ricoh MMC Controller Disabler"
117b8c86fc5SPierre Ossman	depends on MMC_SDHCI_PCI
118ba2f7325SJean Delvare	default y
1195ae70296SPhilip Langdale	help
12003cd8f7eSMaxim Levitsky	  This adds a pci quirk to disable Ricoh MMC Controller. This
1215ae70296SPhilip Langdale	  proprietary controller is unnecessary because the SDHCI driver
1225ae70296SPhilip Langdale	  supports MMC cards on the SD controller, but if it is not
1235ae70296SPhilip Langdale	  disabled, it will steal the MMC cards away - rendering them
12403cd8f7eSMaxim Levitsky	  useless. It is safe to select this even if you don't
1255ae70296SPhilip Langdale	  have a Ricoh based card reader.
1265ae70296SPhilip Langdale
1275ae70296SPhilip Langdale	  If unsure, say Y.
1285ae70296SPhilip Langdale
129c4e05037SAdrian Hunterconfig MMC_SDHCI_ACPI
130c4e05037SAdrian Hunter	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
131c2eda8abSSinan Kaya	depends on MMC_SDHCI && ACPI && PCI
1326e1c7d61SAdrian Hunter	select IOSF_MBI if X86
133c4e05037SAdrian Hunter	help
134c4e05037SAdrian Hunter	  This selects support for ACPI enumerated SDHCI controllers,
135c4e05037SAdrian Hunter	  identified by ACPI Compatibility ID PNP0D40 or specific
136c4e05037SAdrian Hunter	  ACPI Hardware IDs.
137c4e05037SAdrian Hunter
138c4e05037SAdrian Hunter	  If you have a controller with this interface, say Y or M here.
139c4e05037SAdrian Hunter
140c4e05037SAdrian Hunter	  If unsure, say N.
141c4e05037SAdrian Hunter
142f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
143f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
14438576af1SShawn Guo	depends on MMC_SDHCI
145f0de8369SShawn Guo	help
146f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
147f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
148f0de8369SShawn Guo
149f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
150f0de8369SShawn Guo
151f0de8369SShawn Guo	  If unsure, say N.
152f0de8369SShawn Guo
153e3ec3a3dSSoren Brinkmannconfig MMC_SDHCI_OF_ARASAN
154e3ec3a3dSSoren Brinkmann	tristate "SDHCI OF support for the Arasan SDHCI controllers"
155e3ec3a3dSSoren Brinkmann	depends on MMC_SDHCI_PLTFM
156e3ec3a3dSSoren Brinkmann	depends on OF
157c390f211SDouglas Anderson	depends on COMMON_CLK
15884362d79SShawn Lin	select MMC_CQHCI
159e3ec3a3dSSoren Brinkmann	help
160e3ec3a3dSSoren Brinkmann	  This selects the Arasan Secure Digital Host Controller Interface
161e3ec3a3dSSoren Brinkmann	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
162e3ec3a3dSSoren Brinkmann
163e3ec3a3dSSoren Brinkmann	  If you have a controller with this interface, say Y or M here.
164e3ec3a3dSSoren Brinkmann
165e3ec3a3dSSoren Brinkmann	  If unsure, say N.
166e3ec3a3dSSoren Brinkmann
167bb7b8ec6SAndrew Jefferyconfig MMC_SDHCI_OF_ASPEED
168bb7b8ec6SAndrew Jeffery	tristate "SDHCI OF support for the ASPEED SDHCI controller"
1693eb12314SPeter Robinson	depends on ARCH_ASPEED || COMPILE_TEST
170bb7b8ec6SAndrew Jeffery	depends on MMC_SDHCI_PLTFM
17172976643SAndrew Jeffery	depends on OF && OF_ADDRESS
17296790622SIvan Mikhaylov	select MMC_SDHCI_IO_ACCESSORS
173bb7b8ec6SAndrew Jeffery	help
174bb7b8ec6SAndrew Jeffery	  This selects the ASPEED Secure Digital Host Controller Interface.
175bb7b8ec6SAndrew Jeffery
176bb7b8ec6SAndrew Jeffery	  If you have a controller with this interface, say Y or M here. You
177bb7b8ec6SAndrew Jeffery	  also need to enable an appropriate bus interface.
178bb7b8ec6SAndrew Jeffery
179bb7b8ec6SAndrew Jeffery	  If unsure, say N.
180bb7b8ec6SAndrew Jeffery
1810bbcd225SAndrew Jefferyconfig MMC_SDHCI_OF_ASPEED_TEST
182291cd54eSDavid Gow	bool "Tests for the ASPEED SDHCI driver" if !KUNIT_ALL_TESTS
183291cd54eSDavid Gow	depends on MMC_SDHCI_OF_ASPEED && KUNIT
184d52788b3SDavid Gow	depends on (MMC_SDHCI_OF_ASPEED=m || KUNIT=y)
185291cd54eSDavid Gow	default KUNIT_ALL_TESTS
1860bbcd225SAndrew Jeffery	help
1870bbcd225SAndrew Jeffery	  Enable KUnit tests for the ASPEED SDHCI driver. Select this
1880bbcd225SAndrew Jeffery	  option only if you will boot the kernel for the purpose of running
1890bbcd225SAndrew Jeffery	  unit tests (e.g. under UML or qemu).
1900bbcd225SAndrew Jeffery
1910bbcd225SAndrew Jeffery	  The KUnit tests generally exercise parts of the driver that do not
1920bbcd225SAndrew Jeffery	  directly touch the hardware, for example, the phase correction
1930bbcd225SAndrew Jeffery	  calculations.
1940bbcd225SAndrew Jeffery
1950bbcd225SAndrew Jeffery	  If unsure, say N.
1960bbcd225SAndrew Jeffery
197bb5f8ea4Sludovic.desroches@atmel.comconfig MMC_SDHCI_OF_AT91
198bb5f8ea4Sludovic.desroches@atmel.com	tristate "SDHCI OF support for the Atmel SDMMC controller"
199bb5f8ea4Sludovic.desroches@atmel.com	depends on MMC_SDHCI_PLTFM
200ca2d13ecSMasahiro Yamada	depends on OF && HAVE_CLK
201bb5f8ea4Sludovic.desroches@atmel.com	help
202bb5f8ea4Sludovic.desroches@atmel.com	  This selects the Atmel SDMMC driver
203bb5f8ea4Sludovic.desroches@atmel.com
204f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
205f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
206f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
20754d84544SKrzysztof Kozlowski	depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
2082ca63524Syangbo lu	select MMC_SDHCI_IO_ACCESSORS
209151ede40Syangbo lu	select FSL_GUTS
2107657c3a7SAlbert Herranz	help
2117657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
2123085e9c1SAnton Vorontsov
213f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
214f0de8369SShawn Guo
2153085e9c1SAnton Vorontsov	  If unsure, say N.
2163085e9c1SAnton Vorontsov
2171144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
218f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
219f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
2205f2e097cSKevin Hao	depends on PPC
2211144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
2221144ab5dSAlbert Herranz	help
2231144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
2241144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
2251144ab5dSAlbert Herranz	  console.
2261144ab5dSAlbert Herranz
227f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
228f0de8369SShawn Guo
2291144ab5dSAlbert Herranz	  If unsure, say N.
2301144ab5dSAlbert Herranz
231e438cf49SJisheng Zhangconfig MMC_SDHCI_OF_DWCMSHC
232e438cf49SJisheng Zhang	tristate "SDHCI OF support for the Synopsys DWC MSHC"
233e438cf49SJisheng Zhang	depends on MMC_SDHCI_PLTFM
234e438cf49SJisheng Zhang	depends on OF
235e438cf49SJisheng Zhang	depends on COMMON_CLK
236e438cf49SJisheng Zhang	help
237e438cf49SJisheng Zhang	  This selects Synopsys DesignWare Cores Mobile Storage Controller
238e438cf49SJisheng Zhang	  support.
239e438cf49SJisheng Zhang	  If you have a controller with this interface, say Y or M here.
240e438cf49SJisheng Zhang	  If unsure, say N.
241e438cf49SJisheng Zhang
24243611afbSLars Povlsenconfig MMC_SDHCI_OF_SPARX5
24343611afbSLars Povlsen	tristate "SDHCI OF support for the MCHP Sparx5 SoC"
24443611afbSLars Povlsen	depends on MMC_SDHCI_PLTFM
24554d84544SKrzysztof Kozlowski	depends on ARCH_SPARX5 || COMPILE_TEST
24643611afbSLars Povlsen	help
24743611afbSLars Povlsen	  This selects the Secure Digital Host Controller Interface (SDHCI)
24843611afbSLars Povlsen	  found in the MCHP Sparx5 SoC.
24943611afbSLars Povlsen
25043611afbSLars Povlsen	  If you have a Sparx5 SoC with this interface, say Y or M here.
25143611afbSLars Povlsen
25243611afbSLars Povlsen	  If unsure, say N.
25343611afbSLars Povlsen
254ff6af28fSMasahiro Yamadaconfig MMC_SDHCI_CADENCE
255ff6af28fSMasahiro Yamada	tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
256ff6af28fSMasahiro Yamada	depends on MMC_SDHCI_PLTFM
257ff6af28fSMasahiro Yamada	depends on OF
258*b5dbcf1fSBrad Larson	select MMC_SDHCI_IO_ACCESSORS
259ff6af28fSMasahiro Yamada	help
260ff6af28fSMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
261ff6af28fSMasahiro Yamada
262ff6af28fSMasahiro Yamada	  If you have a controller with this interface, say Y or M here.
263ff6af28fSMasahiro Yamada
264ff6af28fSMasahiro Yamada	  If unsure, say N.
265ff6af28fSMasahiro Yamada
266a5a944d2SAngelo Dureghelloconfig MMC_SDHCI_ESDHC_MCF
267a5a944d2SAngelo Dureghello	tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
268a5a944d2SAngelo Dureghello	depends on M5441x
269a5a944d2SAngelo Dureghello	depends on MMC_SDHCI_PLTFM
270a5a944d2SAngelo Dureghello	select MMC_SDHCI_IO_ACCESSORS
271a5a944d2SAngelo Dureghello	help
272a5a944d2SAngelo Dureghello	  This selects the Freescale eSDHC controller support for
273a5a944d2SAngelo Dureghello	  ColdFire mcf5441x devices.
274a5a944d2SAngelo Dureghello
275a5a944d2SAngelo Dureghello	  If you have a controller with this interface, say Y or M here.
276a5a944d2SAngelo Dureghello
277a5a944d2SAngelo Dureghello	  If unsure, say N.
278a5a944d2SAngelo Dureghello
27995f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
28095a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
28154d84544SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
282f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
283ebe9572fSFabio Estevam	depends on OF
28495f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
285bb6e3581SBOUGH CHEN	select MMC_CQHCI
28695f25efeSWolfram Sang	help
28795a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
28895a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
28995f25efeSWolfram Sang
290f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
291f0de8369SShawn Guo
29295f25efeSWolfram Sang	  If unsure, say N.
29395f25efeSWolfram Sang
294985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
29585d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
29654d84544SKrzysztof Kozlowski	depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
297f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
298985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
299985b1aa0SMike Rapoport	help
300985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
301985b1aa0SMike Rapoport	  Marvell's Dove SoC.
302985b1aa0SMike Rapoport
303f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
304f0de8369SShawn Guo
305985b1aa0SMike Rapoport	  If unsure, say N.
306985b1aa0SMike Rapoport
30703d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
30885d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
30954d84544SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
310f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
31103d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
3123c4019f9SSowjanya Komatineni	select MMC_CQHCI
31303d2bfc8SOlof Johansson	help
31403d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
31503d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
31603d2bfc8SOlof Johansson
31703d2bfc8SOlof Johansson	  If unsure, say N.
31803d2bfc8SOlof Johansson
3190d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
32046cdda97SKrzysztof Kozlowski	tristate "SDHCI support on Samsung S3C/S5P/Exynos SoC"
32154d84544SKrzysztof Kozlowski	depends on MMC_SDHCI
322e731f314SLinus Torvalds	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
3230d1bb41aSBen Dooks	help
3240d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
3251ea35b35SArnd Bergmann	  often referrered to as the HSMMC block in some of the Samsung
3261ea35b35SArnd Bergmann	  S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
3270d1bb41aSBen Dooks
32846cdda97SKrzysztof Kozlowski	  If you have a controller with this interface (thereforeyou build for
32946cdda97SKrzysztof Kozlowski	  such Samsung SoC), say Y or M here.
3300d1bb41aSBen Dooks
3310d1bb41aSBen Dooks	  If unsure, say N.
3320d1bb41aSBen Dooks
333a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
334a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
3352f4574ddSArnd Bergmann	depends on HAVE_CLK
3365d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
337daa3054fSJean Delvare	depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
338a702c8abSZhangfei Gao	default CPU_MMP2
339a702c8abSZhangfei Gao	help
340a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
341a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
342a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
343a702c8abSZhangfei Gao
344a702c8abSZhangfei Gao	  If unsure, say N.
345a702c8abSZhangfei Gao
3469f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
3479f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
3482f4574ddSArnd Bergmann	depends on HAVE_CLK
3495d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
3508a8735ebSJean Delvare	depends on ARCH_MMP || COMPILE_TEST
3519f5d71e4SZhangfei Gao	default CPU_PXA910
352e7643950SDoug Brown	select MMC_SDHCI_IO_ACCESSORS
3539f5d71e4SZhangfei Gao	help
3549f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
3559f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
3569f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
3579f5d71e4SZhangfei Gao
3589f5d71e4SZhangfei Gao	  If unsure, say N.
3599f5d71e4SZhangfei Gao
360c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
361c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
36254d84544SKrzysztof Kozlowski	depends on MMC_SDHCI
36354d84544SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
364bbd7f0a2SUlf Hansson	depends on OF
365c63b3cbaSViresh KUMAR	help
366c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
367c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
368c63b3cbaSViresh KUMAR	  of SoC
369c63b3cbaSViresh KUMAR
370c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
371c63b3cbaSViresh KUMAR
372c63b3cbaSViresh KUMAR	  If unsure, say N.
373c63b3cbaSViresh KUMAR
3740d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
3750d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
37686147c84SKees Cook	depends on MMC_SDHCI_S3C
3770d1bb41aSBen Dooks	help
3780d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
3790d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
3800d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
3810d1bb41aSBen Dooks
3820d1bb41aSBen Dooks	  YMMV.
3830d1bb41aSBen Dooks
38401ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
38501ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
38654d84544SKrzysztof Kozlowski	depends on ARCH_BCM_MOBILE || COMPILE_TEST
3875d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
38801ebea1bSChristian Daudt	help
38901ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
39001ebea1bSChristian Daudt	  Interface(SDHCI) support.
39101ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
39201ebea1bSChristian Daudt
39301ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
39401ebea1bSChristian Daudt
39587a50745SVincent Yangconfig MMC_SDHCI_F_SDH30
39687a50745SVincent Yang	tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
39787a50745SVincent Yang	depends on MMC_SDHCI_PLTFM
39890e1d8ccSArd Biesheuvel	depends on OF || ACPI
39987a50745SVincent Yang	help
40087a50745SVincent Yang	  This selects the Secure Digital Host Controller Interface (SDHCI)
40187a50745SVincent Yang	  Needed by some Fujitsu SoC for MMC / SD / SDIO support.
40287a50745SVincent Yang	  If you have a controller with this interface, say Y or M here.
40387a50745SVincent Yang
40487a50745SVincent Yang	  If unsure, say N.
40587a50745SVincent Yang
406dd79b7e3STakao Oritoconfig MMC_SDHCI_MILBEAUT
407dd79b7e3STakao Orito	tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30"
408dd79b7e3STakao Orito	depends on MMC_SDHCI_PLTFM
409dd79b7e3STakao Orito	depends on OF
410dd79b7e3STakao Orito	help
411dd79b7e3STakao Orito	  This selects the Secure Digital Host Controller Interface (SDHCI)
412dd79b7e3STakao Orito	  Needed by Milbeaut SoC for MMC / SD / SDIO support.
413dd79b7e3STakao Orito	  If you have a controller with this interface, say Y or M here.
414dd79b7e3STakao Orito
415dd79b7e3STakao Orito	  If unsure, say N.
416dd79b7e3STakao Orito
417b580c52dSScott Brandenconfig MMC_SDHCI_IPROC
41877cb7d3aSStefan Wahren	tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
41998b5ce4cSAl Cooper	depends on ARCH_BCM2835 || ARCH_BCM_IPROC || ARCH_BRCMSTB || COMPILE_TEST
420b580c52dSScott Branden	depends on MMC_SDHCI_PLTFM
4217c7ba433SSrinath Mannam	depends on OF || ACPI
422b580c52dSScott Branden	default ARCH_BCM_IPROC
423b580c52dSScott Branden	select MMC_SDHCI_IO_ACCESSORS
424b580c52dSScott Branden	help
425b580c52dSScott Branden	  This selects the iProc SD/MMC controller.
426b580c52dSScott Branden
42777cb7d3aSStefan Wahren	  If you have a BCM2835 or IPROC platform with SD or MMC devices,
428b580c52dSScott Branden	  say Y or M here.
429b580c52dSScott Branden
430b580c52dSScott Branden	  If unsure, say N.
431b580c52dSScott Branden
43251c5d844SKevin Hilmanconfig MMC_MESON_GX
433e79dc1b4SNan Li	tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
43454d84544SKrzysztof Kozlowski	depends on ARCH_MESON|| COMPILE_TEST
4353157b035SRandy Dunlap	depends on COMMON_CLK
43651c5d844SKevin Hilman	help
43751c5d844SKevin Hilman	  This selects support for the Amlogic SD/MMC Host Controller
438e79dc1b4SNan Li	  found on the S905/GX*/AXG family of SoCs.  This controller is
43951c5d844SKevin Hilman	  MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
44051c5d844SKevin Hilman
44151c5d844SKevin Hilman	  If you have a controller with this interface, say Y here.
44251c5d844SKevin Hilman
443e4bf1b09SMartin Blumenstinglconfig MMC_MESON_MX_SDHC
444e4bf1b09SMartin Blumenstingl	tristate "Amlogic Meson SDHC Host Controller support"
445e4bf1b09SMartin Blumenstingl	depends on (ARM && ARCH_MESON) || COMPILE_TEST
446e4bf1b09SMartin Blumenstingl	depends on COMMON_CLK
447e4bf1b09SMartin Blumenstingl	depends on OF
448e4bf1b09SMartin Blumenstingl	help
449e4bf1b09SMartin Blumenstingl	  This selects support for the SDHC Host Controller on
450e4bf1b09SMartin Blumenstingl	  Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs.
451e4bf1b09SMartin Blumenstingl	  The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x
452e4bf1b09SMartin Blumenstingl	  with 1, 4, and 8 bit bus widths.
453e4bf1b09SMartin Blumenstingl
454e4bf1b09SMartin Blumenstingl	  If you have a controller with this interface, say Y or M here.
455e4bf1b09SMartin Blumenstingl	  If unsure, say N.
456e4bf1b09SMartin Blumenstingl
457ed80a13bSCarlo Caioneconfig MMC_MESON_MX_SDIO
458ed80a13bSCarlo Caione	tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
459ed80a13bSCarlo Caione	depends on ARCH_MESON || COMPILE_TEST
460ed80a13bSCarlo Caione	depends on COMMON_CLK
4613fd2fdb3SStephen Boyd	depends on OF_ADDRESS
462ed80a13bSCarlo Caione	help
463ed80a13bSCarlo Caione	  This selects support for the SD/MMC Host Controller on
464ed80a13bSCarlo Caione	  Amlogic Meson6, Meson8 and Meson8b SoCs.
465ed80a13bSCarlo Caione
466ed80a13bSCarlo Caione	  If you have a controller with this interface, say Y or M here.
467ed80a13bSCarlo Caione	  If unsure, say N.
468ed80a13bSCarlo Caione
4691b66e94eSJonas Jensenconfig MMC_MOXART
4701b66e94eSJonas Jensen	tristate "MOXART SD/MMC Host Controller support"
47154d84544SKrzysztof Kozlowski	depends on ARCH_MOXART || COMPILE_TEST
4721b66e94eSJonas Jensen	help
4731b66e94eSJonas Jensen	  This selects support for the MOXART SD/MMC Host Controller.
4741b66e94eSJonas Jensen	  MOXA provides one multi-functional card reader which can
4751b66e94eSJonas Jensen	  be found on some embedded hardware such as UC-7112-LX.
4761b66e94eSJonas Jensen	  If you have a controller with this interface, say Y here.
4771b66e94eSJonas Jensen
478f52d9c4fSPeter Griffinconfig MMC_SDHCI_ST
479f52d9c4fSPeter Griffin	tristate "SDHCI support on STMicroelectronics SoC"
48054d84544SKrzysztof Kozlowski	depends on ARCH_STI || FSP2 || COMPILE_TEST
481f52d9c4fSPeter Griffin	depends on MMC_SDHCI_PLTFM
482f52d9c4fSPeter Griffin	select MMC_SDHCI_IO_ACCESSORS
483f52d9c4fSPeter Griffin	help
484f52d9c4fSPeter Griffin	  This selects the Secure Digital Host Controller Interface in
485f52d9c4fSPeter Griffin	  STMicroelectronics SoCs.
486f52d9c4fSPeter Griffin
487f52d9c4fSPeter Griffin	  If you have a controller with this interface, say Y or M here.
488f52d9c4fSPeter Griffin	  If unsure, say N.
489f52d9c4fSPeter Griffin
4901c6a0718SPierre Ossmanconfig MMC_OMAP
4911c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
492790864dcSJan Engelhardt	depends on ARCH_OMAP
4931c6a0718SPierre Ossman	help
4941c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
4951c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
4961c6a0718SPierre Ossman	  say Y or M here.
4971c6a0718SPierre Ossman
4981c6a0718SPierre Ossman	  If unsure, say N.
4991c6a0718SPierre Ossman
500a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
501a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
502a7cedab6SLokesh Vutla	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
503a45c6cb8SMadhusudhan Chikkature	help
504a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
505bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
506bcf24e1dSAmarinder Bindra	  say Y or M here.
507a45c6cb8SMadhusudhan Chikkature
508a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
509a45c6cb8SMadhusudhan Chikkature
5101c6a0718SPierre Ossmanconfig MMC_WBSD
5111c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
512f95a387cSArnd Bergmann	depends on ISA_DMA_API
5131c6a0718SPierre Ossman	help
5141c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
5151c6a0718SPierre Ossman	  Multimedia card Interface.
5161c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
5171c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
5181c6a0718SPierre Ossman
5191c6a0718SPierre Ossman	  If unsure, say N.
5201c6a0718SPierre Ossman
521c5413ad8SOleksij Rempelconfig MMC_ALCOR
522c5413ad8SOleksij Rempel	tristate "Alcor Micro/Alcor Link SD/MMC controller"
523c5413ad8SOleksij Rempel	depends on MISC_ALCOR_PCI
524c5413ad8SOleksij Rempel	help
525c5413ad8SOleksij Rempel	  Say Y here to include driver code to support SD/MMC card interface
526c5413ad8SOleksij Rempel	  of Alcor Micro PCI-E card reader
527c5413ad8SOleksij Rempel
5281c6a0718SPierre Ossmanconfig MMC_AU1X
5291c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
53037663860SManuel Lauss	depends on MIPS_ALCHEMY
5311c6a0718SPierre Ossman	help
5321c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
5331c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
5341c6a0718SPierre Ossman
5351c6a0718SPierre Ossman	  If unsure, say N.
5361c6a0718SPierre Ossman
5377d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
538d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
539ef4b160fSAndy Shevchenko	depends on ARCH_AT91
5407d2be074SHaavard Skinnemoen	help
541ef4b160fSAndy Shevchenko	  This selects the Atmel Multimedia Card Interface driver.
542ef4b160fSAndy Shevchenko	  If you have an AT91 platform with a Multimedia Card slot,
543ef4b160fSAndy Shevchenko	  say Y or M here.
5447d2be074SHaavard Skinnemoen
5457d2be074SHaavard Skinnemoen	  If unsure, say N.
5467d2be074SHaavard Skinnemoen
5470eb0d9f4SGeorgi Djakovconfig MMC_SDHCI_MSM
5480eb0d9f4SGeorgi Djakov	tristate "Qualcomm SDHCI Controller Support"
549d425e42dSAlex Dewar	depends on ARCH_QCOM || COMPILE_TEST
5500eb0d9f4SGeorgi Djakov	depends on MMC_SDHCI_PLTFM
55199d570daSVijay Viswanath	select MMC_SDHCI_IO_ACCESSORS
55287a8df0dSRitesh Harjani	select MMC_CQHCI
553424953cfSArnd Bergmann	select QCOM_SCM if MMC_CRYPTO
5540eb0d9f4SGeorgi Djakov	help
5550eb0d9f4SGeorgi Djakov	  This selects the Secure Digital Host Controller Interface (SDHCI)
5560eb0d9f4SGeorgi Djakov	  support present in Qualcomm SOCs. The controller supports
5570eb0d9f4SGeorgi Djakov	  SD/MMC/SDIO devices.
5580eb0d9f4SGeorgi Djakov
5590eb0d9f4SGeorgi Djakov	  If you have a controller with this interface, say Y or M here.
5600eb0d9f4SGeorgi Djakov
5610eb0d9f4SGeorgi Djakov	  If unsure, say N.
5620eb0d9f4SGeorgi Djakov
563d96be879SSascha Hauerconfig MMC_MXC
564c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
565c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
566d96be879SSascha Hauer	help
567c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
568c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
569c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
570d96be879SSascha Hauer
571d96be879SSascha Hauer	  If unsure, say N.
572d96be879SSascha Hauer
573e4243f13SShawn Guoconfig MMC_MXS
574e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
575e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
576e4243f13SShawn Guo	help
577e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
578e4243f13SShawn Guo	  platforms like mx23/28.
579e4243f13SShawn Guo
580e4243f13SShawn Guo	  If unsure, say N.
581e4243f13SShawn Guo
5821c6a0718SPierre Ossmanconfig MMC_TIFM_SD
58386147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
58486147c84SKees Cook	depends on PCI
5851c6a0718SPierre Ossman	select TIFM_CORE
5861c6a0718SPierre Ossman	help
5871c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
5881c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
5891c6a0718SPierre Ossman	  laptops.
5901c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
5911c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
5921c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
5931c6a0718SPierre Ossman	  (TIFM_7XX1)'.
5941c6a0718SPierre Ossman
5951c6a0718SPierre Ossman	  To compile this driver as a module, choose M here: the
5961c6a0718SPierre Ossman	  module will be called tifm_sd.
5971c6a0718SPierre Ossman
598236caa7cSMaen Suleimanconfig MMC_MVSDIO
599236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
60054d84544SKrzysztof Kozlowski	depends on PLAT_ORION || (COMPILE_TEST && ARM)
60117da6783SLinus Walleij	depends on OF
602a7f7f624SMasahiro Yamada	help
603236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
604236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
605236caa7cSMaen Suleiman	  SoC controllers.
606236caa7cSMaen Suleiman
607236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
608236caa7cSMaen Suleiman	  module will be called mvsdio.
609236caa7cSMaen Suleiman
610b4cff454SVipin Bhandariconfig MMC_DAVINCI
611b4cff454SVipin Bhandari	tristate "TI DAVINCI Multimedia Card Interface support"
61254d84544SKrzysztof Kozlowski	depends on ARCH_DAVINCI || COMPILE_TEST
613b4cff454SVipin Bhandari	help
614b4cff454SVipin Bhandari	  This selects the TI DAVINCI Multimedia card Interface.
615b4cff454SVipin Bhandari	  If you have an DAVINCI board with a Multimedia Card slot,
616b4cff454SVipin Bhandari	  say Y or M here.  If unsure, say N.
617b4cff454SVipin Bhandari
61815a0580cSDavid Brownellconfig MMC_SPI
61957105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
620a395acf0SUlf Hansson	depends on SPI_MASTER
62115a0580cSDavid Brownell	select CRC7
62215a0580cSDavid Brownell	select CRC_ITU_T
62315a0580cSDavid Brownell	help
624692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
62557105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
62657105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
62757105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
62857105737SPierre Ossman	  controllers.
62915a0580cSDavid Brownell
63015a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
63115a0580cSDavid Brownell
6326a36913aSSascha Sommerconfig MMC_SDRICOH_CS
63386147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
63486147c84SKees Cook	depends on PCI && PCMCIA
6356a36913aSSascha Sommer	help
6366a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
6376a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
6386a36913aSSascha Sommer
6396a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
6406a36913aSSascha Sommer	  module will be called sdricoh_cs.
6416a36913aSSascha Sommer
642fb8bd90fSChunyan Zhangconfig MMC_SDHCI_SPRD
643fb8bd90fSChunyan Zhang	tristate "Spreadtrum SDIO host Controller"
64454d84544SKrzysztof Kozlowski	depends on ARCH_SPRD || COMPILE_TEST
645fb8bd90fSChunyan Zhang	depends on MMC_SDHCI_PLTFM
646fb8bd90fSChunyan Zhang	select MMC_SDHCI_IO_ACCESSORS
647f4498549SBaolin Wang	select MMC_HSQ
648fb8bd90fSChunyan Zhang	help
649fb8bd90fSChunyan Zhang	  This selects the SDIO Host Controller in Spreadtrum
650fb8bd90fSChunyan Zhang	  SoCs, this driver supports R11(IP version: R11P0).
651fb8bd90fSChunyan Zhang
652fb8bd90fSChunyan Zhang	  If you have a controller with this interface, say Y or M here.
653fb8bd90fSChunyan Zhang
654fb8bd90fSChunyan Zhang	  If unsure, say N.
655fb8bd90fSChunyan Zhang
656b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
657b6147490SGuennadi Liakhovetski	tristate
658b6147490SGuennadi Liakhovetski
65942051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
660b5b6a5f4SSimon Horman	tristate "Renesas SDHI SD/SDIO controller support"
66149312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
66242051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
663b4d86f37SWolfram Sang	select RESET_CONTROLLER if ARCH_RENESAS
66442051e8aSGuennadi Liakhovetski	help
66542051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
666b5b6a5f4SSimon Horman	  Renesas SuperH, ARM and ARM64 based SoCs
66742051e8aSGuennadi Liakhovetski
6682a68ea78SSimon Hormanconfig MMC_SDHI_SYS_DMAC
6692a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
6701d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
671c813e10aSMasahiro Yamada	default MMC_SDHI if (SUPERH || ARM)
6722a68ea78SSimon Horman	help
6732a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6742a68ea78SSimon Horman	  using SYS-DMAC via DMA Engine. This supports the controllers
6752a68ea78SSimon Horman	  found in SuperH and Renesas ARM based SoCs.
6762a68ea78SSimon Horman
6772a68ea78SSimon Hormanconfig MMC_SDHI_INTERNAL_DMAC
6782a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
6799706b472SChris Brandt	depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST
6801d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
6819706b472SChris Brandt	default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470)
6822a68ea78SSimon Horman	help
6832a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6842a68ea78SSimon Horman	  using on-chip bus mastering. This supports the controllers
6859706b472SChris Brandt	  found in arm64 based SoCs. This controller is also found in
6869706b472SChris Brandt	  some RZ family SoCs.
6872a68ea78SSimon Horman
6883fd784f7SMasahiro Yamadaconfig MMC_UNIPHIER
6893fd784f7SMasahiro Yamada	tristate "UniPhier SD/eMMC Host Controller support"
6903fd784f7SMasahiro Yamada	depends on ARCH_UNIPHIER || COMPILE_TEST
6913fd784f7SMasahiro Yamada	depends on OF
6923fd784f7SMasahiro Yamada	select MMC_TMIO_CORE
6933fd784f7SMasahiro Yamada	help
6943fd784f7SMasahiro Yamada	  This provides support for the SD/eMMC controller found in
6953fd784f7SMasahiro Yamada	  UniPhier SoCs. The eMMC variant of this controller is used
6963fd784f7SMasahiro Yamada	  only for 32-bit SoCs.
6973fd784f7SMasahiro Yamada
6985f5bac82SMichał Mirosławconfig MMC_CB710
6995f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
7000244ad00SMartin Schwidefsky	depends on PCI
7015f5bac82SMichał Mirosław	select CB710_CORE
7025f5bac82SMichał Mirosław	help
7035f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
7045f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
7055f5bac82SMichał Mirosław	  HP Compaq nx9500).
7065f5bac82SMichał Mirosław
7075f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
7085f5bac82SMichał Mirosław	  will be called cb710-mmc.
7095f5bac82SMichał Mirosław
710f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
711f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
712f0bf7f61SHarald Welte	depends on PCI
713f0bf7f61SHarald Welte	help
714f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
715f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
716f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
717f0bf7f61SHarald Welte	  SD/MMC/SDHC.
718f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
719f0bf7f61SHarald Welte
720f0bf7f61SHarald Welte	  If unsure, say N.
721eb962d5bSCliff Cai
72201d95843SSteven J. Hillconfig MMC_CAVIUM_OCTEON
72301d95843SSteven J. Hill	tristate "Cavium OCTEON SD/MMC Card Interface support"
72401d95843SSteven J. Hill	depends on CAVIUM_OCTEON_SOC
72501d95843SSteven J. Hill	help
72601d95843SSteven J. Hill	  This selects Cavium OCTEON SD/MMC card Interface.
72701d95843SSteven J. Hill	  If you have an OCTEON board with a Multimedia Card slot,
72801d95843SSteven J. Hill	  say Y or M here.
72901d95843SSteven J. Hill
73001d95843SSteven J. Hill	  If unsure, say N.
73101d95843SSteven J. Hill
732166bac38SJan Glauberconfig MMC_CAVIUM_THUNDERX
733166bac38SJan Glauber	tristate "Cavium ThunderX SD/MMC Card Interface support"
734166bac38SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
73562467bbbSJan Glauber	depends on GPIO_THUNDERX
736166bac38SJan Glauber	depends on OF_ADDRESS
737166bac38SJan Glauber	help
738166bac38SJan Glauber	  This selects Cavium ThunderX SD/MMC Card Interface.
739166bac38SJan Glauber	  If you have an Cavium ARM64 board with a Multimedia Card slot
740166bac38SJan Glauber	  or builtin eMMC chip say Y or M here. If built as a module
741166bac38SJan Glauber	  the module will be called thunderx_mmc.ko.
742166bac38SJan Glauber
743f95f3850SWill Newtonconfig MMC_DW
744f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
745ce54fb38SGuo Ren	depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST
746f95f3850SWill Newton	help
747f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
748f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
7493fc7eaefSShawn Lin	  PIO, internal DMA mode and external DMA mode.
750f95f3850SWill Newton
75162ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
75262ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
75362ca8034SShashidhar Hiremath	depends on MMC_DW
75462ca8034SShashidhar Hiremath	default y
75562ca8034SShashidhar Hiremath	help
75662ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
75762ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
75862ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
75962ca8034SShashidhar Hiremath	  Synopsys Designware IP.
76062ca8034SShashidhar Hiremath
76162ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
76262ca8034SShashidhar Hiremath
76362ca8034SShashidhar Hiremath	  If unsure, say Y.
76462ca8034SShashidhar Hiremath
76586958dccSLiming Sunconfig MMC_DW_BLUEFIELD
76686958dccSLiming Sun	tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
76786958dccSLiming Sun	depends on MMC_DW
76886958dccSLiming Sun	select MMC_DW_PLTFM
76986958dccSLiming Sun	help
77086958dccSLiming Sun	  This selects support for Mellanox BlueField SoC specific extensions to
77186958dccSLiming Sun	  the Synopsys DesignWare Memory Card Interface driver. Select this
77286958dccSLiming Sun	  option for platforms based on Mellanox BlueField SoC's.
77386958dccSLiming Sun
774c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
775e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
776c3665006SThomas Abraham	depends on MMC_DW
777c3665006SThomas Abraham	select MMC_DW_PLTFM
778c3665006SThomas Abraham	help
779c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
780c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
781c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
782c3665006SThomas Abraham
783e382ab74Stianshuliangconfig MMC_DW_HI3798CV200
784e382ab74Stianshuliang	tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
785e382ab74Stianshuliang	depends on MMC_DW
786e382ab74Stianshuliang	select MMC_DW_PLTFM
787e382ab74Stianshuliang	help
788e382ab74Stianshuliang	  This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
789e382ab74Stianshuliang	  Synopsys DesignWare Memory Card Interface driver. Select this option
790e382ab74Stianshuliang	  for platforms based on HiSilicon Hi3798CV200 SoC.
791e382ab74Stianshuliang
792036f29d5SZhangfei Gaoconfig MMC_DW_K3
793036f29d5SZhangfei Gao	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
794036f29d5SZhangfei Gao	depends on MMC_DW
795036f29d5SZhangfei Gao	select MMC_DW_PLTFM
796036f29d5SZhangfei Gao	help
797036f29d5SZhangfei Gao	  This selects support for Hisilicon K3 SoC specific extensions to the
798036f29d5SZhangfei Gao	  Synopsys DesignWare Memory Card Interface driver. Select this option
799036f29d5SZhangfei Gao	  for platforms based on Hisilicon K3 SoC's.
800036f29d5SZhangfei Gao
80162ca8034SShashidhar Hiremathconfig MMC_DW_PCI
80262ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
80362ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
80462ca8034SShashidhar Hiremath	help
80562ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
80662ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
80762ca8034SShashidhar Hiremath
80862ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
80962ca8034SShashidhar Hiremath
81062ca8034SShashidhar Hiremath	  If unsure, say N.
81162ca8034SShashidhar Hiremath
8124cdc2ec1Saddy keconfig MMC_DW_ROCKCHIP
8134cdc2ec1Saddy ke	tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
8144cdc2ec1Saddy ke	depends on MMC_DW && ARCH_ROCKCHIP
8154cdc2ec1Saddy ke	select MMC_DW_PLTFM
8164cdc2ec1Saddy ke	help
8174cdc2ec1Saddy ke	  This selects support for Rockchip SoC specific extensions to the
8184cdc2ec1Saddy ke	  Synopsys DesignWare Memory Card Interface driver. Select this option
8194cdc2ec1Saddy ke	  for platforms based on RK3066, RK3188 and RK3288 SoC's.
8204cdc2ec1Saddy ke
8219e622229SWilliam Qiuconfig MMC_DW_STARFIVE
8229e622229SWilliam Qiu	tristate "StarFive specific extensions for Synopsys DW Memory Card Interface"
8239e622229SWilliam Qiu	depends on SOC_STARFIVE
8249e622229SWilliam Qiu	depends on MMC_DW
8259e622229SWilliam Qiu	select MMC_DW_PLTFM
8269e622229SWilliam Qiu	help
8279e622229SWilliam Qiu	  This selects support for StarFive JH7110 SoC specific extensions to the
8289e622229SWilliam Qiu	  Synopsys DesignWare Memory Card Interface driver. Select this option
8299e622229SWilliam Qiu	  for platforms based on StarFive JH7110 SoC.
8309e622229SWilliam Qiu
831fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
832fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
83349312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
834fdc50a94SYusuke Goda	help
835ba9e9157SWolfram Sang	  This selects the MMC Host Interface controller (MMCIF) found in various
836ba9e9157SWolfram Sang	  Renesas SoCs for SH and ARM architectures.
837fdc50a94SYusuke Goda
83861bfbdb8SLars-Peter Clausen
83961bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
8406a78768aSAlex Smith	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
841685bc885SPaul Cercueil	depends on MIPS
84261bfbdb8SLars-Peter Clausen	help
8436a78768aSAlex Smith	  This selects support for the SD/MMC controller on Ingenic
8446a78768aSAlex Smith	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
8456a78768aSAlex Smith
84661bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
84761bfbdb8SLars-Peter Clausen	  say Y or M here.
84853f3a9e2SDavid Vrabel
84988095e7bSTony Olechconfig MMC_VUB300
85088095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
85188095e7bSTony Olech	depends on USB
85288095e7bSTony Olech	help
85388095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
85488095e7bSTony Olech
85588095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
85688095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
85788095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
85888095e7bSTony Olech
85988095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
86088095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
86188095e7bSTony Olech
86288095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
86388095e7bSTony Olech	  to single and multifunction SDIO cards.
86488095e7bSTony Olech
86588095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
86688095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
86788095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
86888095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
86988095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
87088095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
87188095e7bSTony Olech	  the best obtainable data rate.
87288095e7bSTony Olech
87388095e7bSTony Olech	  To compile this mmc host controller driver as a module,
87488095e7bSTony Olech	  choose M here: the module will be called vub300.
87588095e7bSTony Olech
87688095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
87788095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
87888095e7bSTony Olech	  VUB300 chip say Y or M here.
87988095e7bSTony Olech
88053f3a9e2SDavid Vrabelconfig MMC_USHC
88153f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
88253f3a9e2SDavid Vrabel	depends on USB
88353f3a9e2SDavid Vrabel	help
88453f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
88553f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
88653f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
88753f3a9e2SDavid Vrabel
88853f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
88953f3a9e2SDavid Vrabel	  and Ultrasira.
89053f3a9e2SDavid Vrabel
89153f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
89253f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
8933a96dff0STony Prisk
8943a96dff0STony Priskconfig MMC_WMT
8953a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
8963a96dff0STony Prisk	depends on ARCH_VT8500
8973a96dff0STony Prisk	default y
8983a96dff0STony Prisk	help
8993a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
9003a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
9013a96dff0STony Prisk
9023a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
9033a96dff0STony Prisk	  module will be called wmt-sdmmc.
9046a5971d8SLinus Torvalds
90575fa9ea6SGuennadi Liakhovetskiconfig MMC_USDHI6ROL0
90675fa9ea6SGuennadi Liakhovetski	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
9071ef94740SGeert Uytterhoeven	depends on HAS_DMA
90875fa9ea6SGuennadi Liakhovetski	help
90975fa9ea6SGuennadi Liakhovetski	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
91075fa9ea6SGuennadi Liakhovetski	  Host Controller
91175fa9ea6SGuennadi Liakhovetski
9122c94b645SWei WANGconfig MMC_REALTEK_PCI
9132c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
914e455b69dSRui Feng	depends on MISC_RTSX_PCI
9152c94b645SWei WANG	help
9162c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
9172c94b645SWei WANG	  of Realtek PCI-E card reader
918c7f6558dSRoger Tseng
919c7f6558dSRoger Tsengconfig MMC_REALTEK_USB
920c7f6558dSRoger Tseng	tristate "Realtek USB SD/MMC Card Interface Driver"
921e455b69dSRui Feng	depends on MISC_RTSX_USB
922c7f6558dSRoger Tseng	help
923c7f6558dSRoger Tseng	  Say Y here to include driver code to support SD/MMC card interface
924c7f6558dSRoger Tseng	  of Realtek RTS5129/39 series card reader
92519b7f796SDavid Lanzendörfer
92619b7f796SDavid Lanzendörferconfig MMC_SUNXI
92719b7f796SDavid Lanzendörfer	tristate "Allwinner sunxi SD/MMC Host Controller support"
92854d84544SKrzysztof Kozlowski	depends on ARCH_SUNXI || COMPILE_TEST
92991389c39SSamuel Holland	depends on SUNXI_CCU
93019b7f796SDavid Lanzendörfer	help
93119b7f796SDavid Lanzendörfer	  This selects support for the SD/MMC Host Controller on
93219b7f796SDavid Lanzendörfer	  Allwinner sunxi SoCs.
933a5eb8bbdSOndrej Zary
934a4080225SVenkat Gopalakrishnanconfig MMC_CQHCI
935a4080225SVenkat Gopalakrishnan	tristate "Command Queue Host Controller Interface support"
936a4080225SVenkat Gopalakrishnan	depends on HAS_DMA
937a4080225SVenkat Gopalakrishnan	help
938a4080225SVenkat Gopalakrishnan	  This selects the Command Queue Host Controller Interface (CQHCI)
939a4080225SVenkat Gopalakrishnan	  support present in host controllers of Qualcomm Technologies, Inc
940a4080225SVenkat Gopalakrishnan	  amongst others.
941a4080225SVenkat Gopalakrishnan	  This controller supports eMMC devices with command queue support.
942a4080225SVenkat Gopalakrishnan
943a4080225SVenkat Gopalakrishnan	  If you have a controller with this interface, say Y or M here.
944a4080225SVenkat Gopalakrishnan
945a4080225SVenkat Gopalakrishnan	  If unsure, say N.
946a4080225SVenkat Gopalakrishnan
947511ce378SBaolin Wangconfig MMC_HSQ
948511ce378SBaolin Wang	tristate "MMC Host Software Queue support"
949511ce378SBaolin Wang	help
950511ce378SBaolin Wang	  This selects the MMC Host Software Queue support. This may increase
951511ce378SBaolin Wang	  performance, if the host controller and its driver supports it.
952511ce378SBaolin Wang
953511ce378SBaolin Wang	  If you have a controller/driver supporting this interface, say Y or M
954511ce378SBaolin Wang	  here.
955511ce378SBaolin Wang
956511ce378SBaolin Wang	  If unsure, say N.
957511ce378SBaolin Wang
958a5eb8bbdSOndrej Zaryconfig MMC_TOSHIBA_PCI
959a5eb8bbdSOndrej Zary	tristate "Toshiba Type A SD/MMC Card Interface Driver"
960a5eb8bbdSOndrej Zary	depends on PCI
96120848903SChaotian Jing
962660fc733SEric Anholtconfig MMC_BCM2835
963660fc733SEric Anholt	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
964660fc733SEric Anholt	depends on ARCH_BCM2835 || COMPILE_TEST
965660fc733SEric Anholt	help
966660fc733SEric Anholt	  This selects the BCM2835 SDHOST MMC controller. If you have
967660fc733SEric Anholt	  a BCM2835 platform with SD or MMC devices, say Y or M here.
968660fc733SEric Anholt
969660fc733SEric Anholt	  Note that the BCM2835 has two SD controllers: The Arasan
970660fc733SEric Anholt	  sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
971660fc733SEric Anholt	  sdhost controller (supported by this driver).
972660fc733SEric Anholt
973660fc733SEric Anholt	  If unsure, say N.
974660fc733SEric Anholt
97520848903SChaotian Jingconfig MMC_MTK
97620848903SChaotian Jing	tristate "MediaTek SD/MMC Card Interface support"
977c2b22fffSGeert Uytterhoeven	depends on HAS_DMA
978b61d468dSKrzysztof Kozlowski	depends on COMMON_CLK
97926c2b19eSNeilBrown	select REGULATOR
98088bd652bSChun-Hung Wu	select MMC_CQHCI
98120848903SChaotian Jing	help
98220848903SChaotian Jing	  This selects the MediaTek(R) Secure digital and Multimedia card Interface.
98320848903SChaotian Jing	  If you have a machine with a integrated SD/MMC card reader, say Y or M here.
98420848903SChaotian Jing	  This is needed if support for any SD/SDIO/MMC devices is required.
98520848903SChaotian Jing	  If unsure, say N.
9865d9460d7SAndrei Pistirica
9875d9460d7SAndrei Pistiricaconfig MMC_SDHCI_MICROCHIP_PIC32
9885d9460d7SAndrei Pistirica	tristate "Microchip PIC32MZDA SDHCI support"
9895d9460d7SAndrei Pistirica	depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
9905d9460d7SAndrei Pistirica	help
9915d9460d7SAndrei Pistirica	  This selects the Secure Digital Host Controller Interface (SDHCI)
9925d9460d7SAndrei Pistirica	  for PIC32MZDA platform.
9935d9460d7SAndrei Pistirica
9945d9460d7SAndrei Pistirica	  If you have a controller with this interface, say Y or M here.
9955d9460d7SAndrei Pistirica
9965d9460d7SAndrei Pistirica	  If unsure, say N.
9976f549034SEnrico Weigelt, metux IT consult
998476bf3d6SAl Cooperconfig MMC_SDHCI_BRCMSTB
999476bf3d6SAl Cooper	tristate "Broadcom SDIO/SD/MMC support"
100050bfe185SBrian Norris	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
1001476bf3d6SAl Cooper	depends on MMC_SDHCI_PLTFM
1002d46ba2d1SAl Cooper	select MMC_CQHCI
100350bfe185SBrian Norris	default ARCH_BRCMSTB || BMIPS_GENERIC
1004476bf3d6SAl Cooper	help
1005476bf3d6SAl Cooper	  This selects support for the SDIO/SD/MMC Host Controller on
1006476bf3d6SAl Cooper	  Broadcom STB SoCs.
1007476bf3d6SAl Cooper
1008476bf3d6SAl Cooper	  If unsure, say Y.
10093a3748dbSHu Ziji
10103a3748dbSHu Zijiconfig MMC_SDHCI_XENON
10113a3748dbSHu Ziji	tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
10123a3748dbSHu Ziji	depends on MMC_SDHCI_PLTFM
10133a3748dbSHu Ziji	help
10143a3748dbSHu Ziji	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
10153a3748dbSHu Ziji	  If you have a controller with this interface, say Y or M here.
10163a3748dbSHu Ziji	  If unsure, say N.
10177d326930SKishon Vijay Abraham I
10187d326930SKishon Vijay Abraham Iconfig MMC_SDHCI_OMAP
10197d326930SKishon Vijay Abraham I	tristate "TI SDHCI Controller Support"
10207d326930SKishon Vijay Abraham I	depends on MMC_SDHCI_PLTFM && OF
1021961de0a8SFaiz Abbas	select THERMAL
1022287b1da6SFaiz Abbas	imply TI_SOC_THERMAL
1023195fadb7SChunyan Zhang	select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
10247d326930SKishon Vijay Abraham I	help
10257d326930SKishon Vijay Abraham I	  This selects the Secure Digital Host Controller Interface (SDHCI)
10267d326930SKishon Vijay Abraham I	  support present in TI's DRA7 SOCs. The controller supports
10277d326930SKishon Vijay Abraham I	  SD/MMC/SDIO devices.
10287d326930SKishon Vijay Abraham I
10297d326930SKishon Vijay Abraham I	  If you have a controller with this interface, say Y or M here.
10307d326930SKishon Vijay Abraham I
10317d326930SKishon Vijay Abraham I	  If unsure, say N.
103241fd4caeSFaiz Abbas
103341fd4caeSFaiz Abbasconfig MMC_SDHCI_AM654
103441fd4caeSFaiz Abbas	tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
10358d280b1dSBrian Norris	depends on MMC_SDHCI_PLTFM && OF
1036e374e875SFaiz Abbas	select MMC_SDHCI_IO_ACCESSORS
1037f545702bSFaiz Abbas	select MMC_CQHCI
10388d280b1dSBrian Norris	select REGMAP_MMIO
103941fd4caeSFaiz Abbas	help
104041fd4caeSFaiz Abbas	  This selects the Secure Digital Host Controller Interface (SDHCI)
104141fd4caeSFaiz Abbas	  support present in TI's AM654 SOCs. The controller supports
104241fd4caeSFaiz Abbas	  SD/MMC/SDIO devices.
104341fd4caeSFaiz Abbas
104441fd4caeSFaiz Abbas	  If you have a controller with this interface, say Y or M here.
104541fd4caeSFaiz Abbas
104641fd4caeSFaiz Abbas	  If unsure, say N.
1047ff65ffe4SManivannan Sadhasivam
1048ff65ffe4SManivannan Sadhasivamconfig MMC_OWL
1049ff65ffe4SManivannan Sadhasivam	tristate "Actions Semi Owl SD/MMC Host Controller support"
1050ff65ffe4SManivannan Sadhasivam	depends on HAS_DMA
1051ff65ffe4SManivannan Sadhasivam	depends on ARCH_ACTIONS || COMPILE_TEST
1052ff65ffe4SManivannan Sadhasivam	help
1053ff65ffe4SManivannan Sadhasivam	  This selects support for the SD/MMC Host Controller on
1054ff65ffe4SManivannan Sadhasivam	  Actions Semi Owl SoCs.
105518e762e3SChunyan Zhang
105618e762e3SChunyan Zhangconfig MMC_SDHCI_EXTERNAL_DMA
105718e762e3SChunyan Zhang	bool
105892e09910SGabriel Somlo
105992e09910SGabriel Somloconfig MMC_LITEX
106092e09910SGabriel Somlo	tristate "LiteX MMC Host Controller support"
106192e09910SGabriel Somlo	depends on ((PPC_MICROWATT || LITEX) && OF && HAVE_CLK) || COMPILE_TEST
106292e09910SGabriel Somlo	select REGULATOR
106392e09910SGabriel Somlo	select REGULATOR_FIXED_VOLTAGE
106492e09910SGabriel Somlo	help
106592e09910SGabriel Somlo	  This selects support for the MMC Host Controller found in LiteX SoCs.
106692e09910SGabriel Somlo
106792e09910SGabriel Somlo	  To compile this driver as a module, choose M here: the
106892e09910SGabriel Somlo	  module will be called litex_mmc.
106992e09910SGabriel Somlo
107092e09910SGabriel Somlo	  If unsure, say N.
1071