xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision e438cf49)
11c6a0718SPierre Ossman#
21c6a0718SPierre Ossman# MMC/SD host controller drivers
31c6a0718SPierre Ossman#
41c6a0718SPierre Ossman
557105737SPierre Ossmancomment "MMC/SD/SDIO Host Controller Drivers"
61c6a0718SPierre Ossman
703596b92SShawn Linconfig MMC_DEBUG
8b4f146f5SWolfram Sang	bool "MMC host drivers debugging"
903596b92SShawn Lin	depends on MMC != n
1003596b92SShawn Lin	help
1103596b92SShawn Lin	  This is an option for use by developers; most people should
1203596b92SShawn Lin	  say N here. This enables MMC host driver debugging. And further
1303596b92SShawn Lin	  added host drivers please don't invent their private macro for
1403596b92SShawn Lin	  debugging.
1503596b92SShawn Lin
161c6a0718SPierre Ossmanconfig MMC_ARMMMCI
171c6a0718SPierre Ossman	tristate "ARM AMBA Multimedia Card Interface support"
18790864dcSJan Engelhardt	depends on ARM_AMBA
191c6a0718SPierre Ossman	help
201c6a0718SPierre Ossman	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
211c6a0718SPierre Ossman	  Interface (PL180 and PL181) support.  If you have an ARM(R)
221c6a0718SPierre Ossman	  platform with a Multimedia Card slot, say Y or M here.
231c6a0718SPierre Ossman
241c6a0718SPierre Ossman	  If unsure, say N.
251c6a0718SPierre Ossman
269cb15142SSrinivas Kandagatlaconfig MMC_QCOM_DML
271ac99066SSrinivas Kandagatla	bool "Qualcomm Data Mover for SD Card Controller"
289cb15142SSrinivas Kandagatla	depends on MMC_ARMMMCI && QCOM_BAM_DMA
299cb15142SSrinivas Kandagatla	default y
309cb15142SSrinivas Kandagatla	help
319cb15142SSrinivas Kandagatla	  This selects the Qualcomm Data Mover lite/local on SD Card controller.
329cb15142SSrinivas Kandagatla	  This option will enable the dma to work correctly, if you are using
339cb15142SSrinivas Kandagatla	  Qcom SOCs and MMC, you would probably need this option to get DMA working.
349cb15142SSrinivas Kandagatla
359cb15142SSrinivas Kandagatla	  if unsure, say N.
369cb15142SSrinivas Kandagatla
371c6a0718SPierre Ossmanconfig MMC_PXA
381c6a0718SPierre Ossman	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
39790864dcSJan Engelhardt	depends on ARCH_PXA
401c6a0718SPierre Ossman	help
411c6a0718SPierre Ossman	  This selects the Intel(R) PXA(R) Multimedia card Interface.
421c6a0718SPierre Ossman	  If you have a PXA(R) platform with a Multimedia Card slot,
431c6a0718SPierre Ossman	  say Y or M here.
441c6a0718SPierre Ossman
451c6a0718SPierre Ossman	  If unsure, say N.
461c6a0718SPierre Ossman
471c6a0718SPierre Ossmanconfig MMC_SDHCI
4834671dc2SPierre Ossman	tristate "Secure Digital Host Controller Interface support"
49b8c86fc5SPierre Ossman	depends on HAS_DMA
501c6a0718SPierre Ossman	help
51b8c86fc5SPierre Ossman	  This selects the generic Secure Digital Host Controller Interface.
521c6a0718SPierre Ossman	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
531c6a0718SPierre Ossman	  and Toshiba(R). Most controllers found in laptops are of this type.
54b8c86fc5SPierre Ossman
55b8c86fc5SPierre Ossman	  If you have a controller with this interface, say Y or M here. You
56b8c86fc5SPierre Ossman	  also need to enable an appropriate bus interface.
57b8c86fc5SPierre Ossman
58b8c86fc5SPierre Ossman	  If unsure, say N.
59b8c86fc5SPierre Ossman
604e4141a5SAnton Vorontsovconfig MMC_SDHCI_IO_ACCESSORS
614e4141a5SAnton Vorontsov	bool
624e4141a5SAnton Vorontsov	depends on MMC_SDHCI
634e4141a5SAnton Vorontsov	help
644e4141a5SAnton Vorontsov	  This is silent Kconfig symbol that is selected by the drivers that
654e4141a5SAnton Vorontsov	  need to overwrite SDHCI IO memory accessors.
664e4141a5SAnton Vorontsov
677657c3a7SAlbert Herranzconfig MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
687657c3a7SAlbert Herranz	bool
6982813b71SJean Delvare	depends on MMC_SDHCI
707657c3a7SAlbert Herranz	select MMC_SDHCI_IO_ACCESSORS
717657c3a7SAlbert Herranz	help
727657c3a7SAlbert Herranz	  This option is selected by drivers running on big endian hosts
737657c3a7SAlbert Herranz	  and performing I/O to a SDHCI controller through a bus that
747657c3a7SAlbert Herranz	  implements a hardware byte swapper using a 32-bit datum.
757657c3a7SAlbert Herranz	  This endian mapping mode is called "data invariance" and
767657c3a7SAlbert Herranz	  has the effect of scrambling the addresses and formats of data
777657c3a7SAlbert Herranz	  accessed in sizes other than the datum size.
787657c3a7SAlbert Herranz
792ca63524Syangbo lu	  This is the case for the Nintendo Wii SDHCI.
807657c3a7SAlbert Herranz
81b8c86fc5SPierre Ossmanconfig MMC_SDHCI_PCI
82b8c86fc5SPierre Ossman	tristate "SDHCI support on PCI bus"
83b8c86fc5SPierre Ossman	depends on MMC_SDHCI && PCI
848ee82bdaSAdrian Hunter	select MMC_CQHCI
85b8c86fc5SPierre Ossman	help
86b8c86fc5SPierre Ossman	  This selects the PCI Secure Digital Host Controller Interface.
87b8c86fc5SPierre Ossman	  Most controllers found today are PCI devices.
88b8c86fc5SPierre Ossman
891c6a0718SPierre Ossman	  If you have a controller with this interface, say Y or M here.
901c6a0718SPierre Ossman
911c6a0718SPierre Ossman	  If unsure, say N.
921c6a0718SPierre Ossman
935ae70296SPhilip Langdaleconfig MMC_RICOH_MMC
9486147c84SKees Cook	bool "Ricoh MMC Controller Disabler"
95b8c86fc5SPierre Ossman	depends on MMC_SDHCI_PCI
96ba2f7325SJean Delvare	default y
975ae70296SPhilip Langdale	help
9803cd8f7eSMaxim Levitsky	  This adds a pci quirk to disable Ricoh MMC Controller. This
995ae70296SPhilip Langdale	  proprietary controller is unnecessary because the SDHCI driver
1005ae70296SPhilip Langdale	  supports MMC cards on the SD controller, but if it is not
1015ae70296SPhilip Langdale	  disabled, it will steal the MMC cards away - rendering them
10203cd8f7eSMaxim Levitsky	  useless. It is safe to select this even if you don't
1035ae70296SPhilip Langdale	  have a Ricoh based card reader.
1045ae70296SPhilip Langdale
1055ae70296SPhilip Langdale	  If unsure, say Y.
1065ae70296SPhilip Langdale
107c4e05037SAdrian Hunterconfig MMC_SDHCI_ACPI
108c4e05037SAdrian Hunter	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
109c4e05037SAdrian Hunter	depends on MMC_SDHCI && ACPI
1106e1c7d61SAdrian Hunter	select IOSF_MBI if X86
111c4e05037SAdrian Hunter	help
112c4e05037SAdrian Hunter	  This selects support for ACPI enumerated SDHCI controllers,
113c4e05037SAdrian Hunter	  identified by ACPI Compatibility ID PNP0D40 or specific
114c4e05037SAdrian Hunter	  ACPI Hardware IDs.
115c4e05037SAdrian Hunter
116c4e05037SAdrian Hunter	  If you have a controller with this interface, say Y or M here.
117c4e05037SAdrian Hunter
118c4e05037SAdrian Hunter	  If unsure, say N.
119c4e05037SAdrian Hunter
120f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
121f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
12238576af1SShawn Guo	depends on MMC_SDHCI
123f0de8369SShawn Guo	help
124f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
125f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
126f0de8369SShawn Guo
127f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
128f0de8369SShawn Guo
129f0de8369SShawn Guo	  If unsure, say N.
130f0de8369SShawn Guo
131e3ec3a3dSSoren Brinkmannconfig MMC_SDHCI_OF_ARASAN
132e3ec3a3dSSoren Brinkmann	tristate "SDHCI OF support for the Arasan SDHCI controllers"
133e3ec3a3dSSoren Brinkmann	depends on MMC_SDHCI_PLTFM
134e3ec3a3dSSoren Brinkmann	depends on OF
135c390f211SDouglas Anderson	depends on COMMON_CLK
13684362d79SShawn Lin	select MMC_CQHCI
137e3ec3a3dSSoren Brinkmann	help
138e3ec3a3dSSoren Brinkmann	  This selects the Arasan Secure Digital Host Controller Interface
139e3ec3a3dSSoren Brinkmann	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
140e3ec3a3dSSoren Brinkmann
141e3ec3a3dSSoren Brinkmann	  If you have a controller with this interface, say Y or M here.
142e3ec3a3dSSoren Brinkmann
143e3ec3a3dSSoren Brinkmann	  If unsure, say N.
144e3ec3a3dSSoren Brinkmann
145bb5f8ea4Sludovic.desroches@atmel.comconfig MMC_SDHCI_OF_AT91
146bb5f8ea4Sludovic.desroches@atmel.com	tristate "SDHCI OF support for the Atmel SDMMC controller"
147bb5f8ea4Sludovic.desroches@atmel.com	depends on MMC_SDHCI_PLTFM
148bb5f8ea4Sludovic.desroches@atmel.com	depends on OF
149bb5f8ea4Sludovic.desroches@atmel.com	help
150bb5f8ea4Sludovic.desroches@atmel.com	  This selects the Atmel SDMMC driver
151bb5f8ea4Sludovic.desroches@atmel.com
152f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
153f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
154f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1552ca63524Syangbo lu	depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE
1562ca63524Syangbo lu	select MMC_SDHCI_IO_ACCESSORS
157151ede40Syangbo lu	select FSL_GUTS
1587657c3a7SAlbert Herranz	help
1597657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1603085e9c1SAnton Vorontsov
161f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
162f0de8369SShawn Guo
1633085e9c1SAnton Vorontsov	  If unsure, say N.
1643085e9c1SAnton Vorontsov
1651144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
166f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
167f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1685f2e097cSKevin Hao	depends on PPC
1691144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1701144ab5dSAlbert Herranz	help
1711144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1721144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1731144ab5dSAlbert Herranz	  console.
1741144ab5dSAlbert Herranz
175f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
176f0de8369SShawn Guo
1771144ab5dSAlbert Herranz	  If unsure, say N.
1781144ab5dSAlbert Herranz
179e438cf49SJisheng Zhangconfig MMC_SDHCI_OF_DWCMSHC
180e438cf49SJisheng Zhang	tristate "SDHCI OF support for the Synopsys DWC MSHC"
181e438cf49SJisheng Zhang	depends on MMC_SDHCI_PLTFM
182e438cf49SJisheng Zhang	depends on OF
183e438cf49SJisheng Zhang	depends on COMMON_CLK
184e438cf49SJisheng Zhang	help
185e438cf49SJisheng Zhang	  This selects Synopsys DesignWare Cores Mobile Storage Controller
186e438cf49SJisheng Zhang	  support.
187e438cf49SJisheng Zhang	  If you have a controller with this interface, say Y or M here.
188e438cf49SJisheng Zhang	  If unsure, say N.
189e438cf49SJisheng Zhang
190ff6af28fSMasahiro Yamadaconfig MMC_SDHCI_CADENCE
191ff6af28fSMasahiro Yamada	tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
192ff6af28fSMasahiro Yamada	depends on MMC_SDHCI_PLTFM
193ff6af28fSMasahiro Yamada	depends on OF
194ff6af28fSMasahiro Yamada	help
195ff6af28fSMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
196ff6af28fSMasahiro Yamada
197ff6af28fSMasahiro Yamada	  If you have a controller with this interface, say Y or M here.
198ff6af28fSMasahiro Yamada
199ff6af28fSMasahiro Yamada	  If unsure, say N.
200ff6af28fSMasahiro Yamada
20120b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
20285d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
20320b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
204f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
20520b1597bSAnton Vorontsov	help
20620b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
20720b1597bSAnton Vorontsov
208f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
209f0de8369SShawn Guo
21020b1597bSAnton Vorontsov	  If unsure, say N.
21120b1597bSAnton Vorontsov
21295f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
21395a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
2142b795518SSascha Hauer	depends on ARCH_MXC
215f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
21695f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
21795f25efeSWolfram Sang	help
21895a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
21995a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
22095f25efeSWolfram Sang
221f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
222f0de8369SShawn Guo
22395f25efeSWolfram Sang	  If unsure, say N.
22495f25efeSWolfram Sang
225985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
22685d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
227ec4422acSSebastian Hesselbarth	depends on ARCH_DOVE || MACH_DOVE
228f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
229985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
230985b1aa0SMike Rapoport	help
231985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
232985b1aa0SMike Rapoport	  Marvell's Dove SoC.
233985b1aa0SMike Rapoport
234f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
235f0de8369SShawn Guo
236985b1aa0SMike Rapoport	  If unsure, say N.
237985b1aa0SMike Rapoport
23803d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
23985d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
24085d6509dSShawn Guo	depends on ARCH_TEGRA
241f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
24203d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
24303d2bfc8SOlof Johansson	help
24403d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
24503d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
24603d2bfc8SOlof Johansson
24703d2bfc8SOlof Johansson	  If unsure, say N.
24803d2bfc8SOlof Johansson
2490d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
2500d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
251930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
2520d1bb41aSBen Dooks	help
2530d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
2540d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
2550d1bb41aSBen Dooks	  range of SoC.
2560d1bb41aSBen Dooks
2570d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
2580d1bb41aSBen Dooks
2590d1bb41aSBen Dooks	  If unsure, say N.
2600d1bb41aSBen Dooks
261b3b665b0SBarry Songconfig MMC_SDHCI_SIRF
262b3b665b0SBarry Song	tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
263b3b665b0SBarry Song	depends on ARCH_SIRF
264b3b665b0SBarry Song	depends on MMC_SDHCI_PLTFM
265a1b0b977SWeijun Yang	select MMC_SDHCI_IO_ACCESSORS
266b3b665b0SBarry Song	help
267b3b665b0SBarry Song	  This selects the SDHCI support for SiRF System-on-Chip devices.
268b3b665b0SBarry Song
269b3b665b0SBarry Song	  If you have a controller with this interface, say Y or M here.
270b3b665b0SBarry Song
271b3b665b0SBarry Song	  If unsure, say N.
272b3b665b0SBarry Song
273a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
274a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
275a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
2765d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
277daa3054fSJean Delvare	depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
278a702c8abSZhangfei Gao	default CPU_MMP2
279a702c8abSZhangfei Gao	help
280a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
281a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
282a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
283a702c8abSZhangfei Gao
284a702c8abSZhangfei Gao	  If unsure, say N.
285a702c8abSZhangfei Gao
2869f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
2879f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
2889f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2895d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
2908a8735ebSJean Delvare	depends on ARCH_MMP || COMPILE_TEST
2919f5d71e4SZhangfei Gao	default CPU_PXA910
2929f5d71e4SZhangfei Gao	help
2939f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2949f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2959f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2969f5d71e4SZhangfei Gao
2979f5d71e4SZhangfei Gao	  If unsure, say N.
2989f5d71e4SZhangfei Gao
299c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
300c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
301c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
302bbd7f0a2SUlf Hansson	depends on OF
303c63b3cbaSViresh KUMAR	help
304c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
305c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
306c63b3cbaSViresh KUMAR	  of SoC
307c63b3cbaSViresh KUMAR
308c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
309c63b3cbaSViresh KUMAR
310c63b3cbaSViresh KUMAR	  If unsure, say N.
311c63b3cbaSViresh KUMAR
3120d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
3130d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
31486147c84SKees Cook	depends on MMC_SDHCI_S3C
3150d1bb41aSBen Dooks	help
3160d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
3170d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
3180d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
3190d1bb41aSBen Dooks
3200d1bb41aSBen Dooks	  YMMV.
3210d1bb41aSBen Dooks
32201ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
32301ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
324fc2bd2e4SChristian Daudt	depends on ARCH_BCM_MOBILE
3255d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
32601ebea1bSChristian Daudt	help
32701ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
32801ebea1bSChristian Daudt	  Interface(SDHCI) support.
32901ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
33001ebea1bSChristian Daudt
33101ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
33201ebea1bSChristian Daudt
33387a50745SVincent Yangconfig MMC_SDHCI_F_SDH30
33487a50745SVincent Yang	tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
33587a50745SVincent Yang	depends on MMC_SDHCI_PLTFM
33690e1d8ccSArd Biesheuvel	depends on OF || ACPI
33787a50745SVincent Yang	help
33887a50745SVincent Yang	  This selects the Secure Digital Host Controller Interface (SDHCI)
33987a50745SVincent Yang	  Needed by some Fujitsu SoC for MMC / SD / SDIO support.
34087a50745SVincent Yang	  If you have a controller with this interface, say Y or M here.
34187a50745SVincent Yang
34287a50745SVincent Yang	  If unsure, say N.
34387a50745SVincent Yang
344b580c52dSScott Brandenconfig MMC_SDHCI_IPROC
34577cb7d3aSStefan Wahren	tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
34677cb7d3aSStefan Wahren	depends on ARCH_BCM2835 || ARCH_BCM_IPROC || COMPILE_TEST
347b580c52dSScott Branden	depends on MMC_SDHCI_PLTFM
348b580c52dSScott Branden	default ARCH_BCM_IPROC
349b580c52dSScott Branden	select MMC_SDHCI_IO_ACCESSORS
350b580c52dSScott Branden	help
351b580c52dSScott Branden	  This selects the iProc SD/MMC controller.
352b580c52dSScott Branden
35377cb7d3aSStefan Wahren	  If you have a BCM2835 or IPROC platform with SD or MMC devices,
354b580c52dSScott Branden	  say Y or M here.
355b580c52dSScott Branden
356b580c52dSScott Branden	  If unsure, say N.
357b580c52dSScott Branden
35851c5d844SKevin Hilmanconfig MMC_MESON_GX
359e79dc1b4SNan Li	tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
36051c5d844SKevin Hilman	depends on ARCH_MESON && MMC
36151c5d844SKevin Hilman	help
36251c5d844SKevin Hilman	  This selects support for the Amlogic SD/MMC Host Controller
363e79dc1b4SNan Li	  found on the S905/GX*/AXG family of SoCs.  This controller is
36451c5d844SKevin Hilman	  MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
36551c5d844SKevin Hilman
36651c5d844SKevin Hilman	  If you have a controller with this interface, say Y here.
36751c5d844SKevin Hilman
368ed80a13bSCarlo Caioneconfig MMC_MESON_MX_SDIO
369ed80a13bSCarlo Caione	tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
370ed80a13bSCarlo Caione	depends on ARCH_MESON || COMPILE_TEST
371ed80a13bSCarlo Caione	depends on COMMON_CLK
372ed80a13bSCarlo Caione	depends on OF
373ed80a13bSCarlo Caione	help
374ed80a13bSCarlo Caione	  This selects support for the SD/MMC Host Controller on
375ed80a13bSCarlo Caione	  Amlogic Meson6, Meson8 and Meson8b SoCs.
376ed80a13bSCarlo Caione
377ed80a13bSCarlo Caione	  If you have a controller with this interface, say Y or M here.
378ed80a13bSCarlo Caione	  If unsure, say N.
379ed80a13bSCarlo Caione
3801b66e94eSJonas Jensenconfig MMC_MOXART
3811b66e94eSJonas Jensen	tristate "MOXART SD/MMC Host Controller support"
3821b66e94eSJonas Jensen	depends on ARCH_MOXART && MMC
3831b66e94eSJonas Jensen	help
3841b66e94eSJonas Jensen	  This selects support for the MOXART SD/MMC Host Controller.
3851b66e94eSJonas Jensen	  MOXA provides one multi-functional card reader which can
3861b66e94eSJonas Jensen	  be found on some embedded hardware such as UC-7112-LX.
3871b66e94eSJonas Jensen	  If you have a controller with this interface, say Y here.
3881b66e94eSJonas Jensen
389f52d9c4fSPeter Griffinconfig MMC_SDHCI_ST
390f52d9c4fSPeter Griffin	tristate "SDHCI support on STMicroelectronics SoC"
3912feada5bSIvan Mikhaylov	depends on ARCH_STI || FSP2
392f52d9c4fSPeter Griffin	depends on MMC_SDHCI_PLTFM
393f52d9c4fSPeter Griffin	select MMC_SDHCI_IO_ACCESSORS
394f52d9c4fSPeter Griffin	help
395f52d9c4fSPeter Griffin	  This selects the Secure Digital Host Controller Interface in
396f52d9c4fSPeter Griffin	  STMicroelectronics SoCs.
397f52d9c4fSPeter Griffin
398f52d9c4fSPeter Griffin	  If you have a controller with this interface, say Y or M here.
399f52d9c4fSPeter Griffin	  If unsure, say N.
400f52d9c4fSPeter Griffin
4011c6a0718SPierre Ossmanconfig MMC_OMAP
4021c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
403790864dcSJan Engelhardt	depends on ARCH_OMAP
40460a549fcSArnd Bergmann	depends on TPS65010 || !MACH_OMAP_H2
4051c6a0718SPierre Ossman	help
4061c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
4071c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
4081c6a0718SPierre Ossman	  say Y or M here.
4091c6a0718SPierre Ossman
4101c6a0718SPierre Ossman	  If unsure, say N.
4111c6a0718SPierre Ossman
412a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
413a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
414a7cedab6SLokesh Vutla	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
415a45c6cb8SMadhusudhan Chikkature	help
416a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
417bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
418bcf24e1dSAmarinder Bindra	  say Y or M here.
419a45c6cb8SMadhusudhan Chikkature
420a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
421a45c6cb8SMadhusudhan Chikkature
4221c6a0718SPierre Ossmanconfig MMC_WBSD
4231c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
424790864dcSJan Engelhardt	depends on ISA_DMA_API
4251c6a0718SPierre Ossman	help
4261c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
4271c6a0718SPierre Ossman          Multimedia card Interface.
4281c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
4291c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
4301c6a0718SPierre Ossman
4311c6a0718SPierre Ossman	  If unsure, say N.
4321c6a0718SPierre Ossman
4331c6a0718SPierre Ossmanconfig MMC_AU1X
4341c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
43537663860SManuel Lauss	depends on MIPS_ALCHEMY
4361c6a0718SPierre Ossman	help
4371c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
4381c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
4391c6a0718SPierre Ossman
4401c6a0718SPierre Ossman	  If unsure, say N.
4411c6a0718SPierre Ossman
4427d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
443d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
444ef4b160fSAndy Shevchenko	depends on ARCH_AT91
4457d2be074SHaavard Skinnemoen	help
446ef4b160fSAndy Shevchenko	  This selects the Atmel Multimedia Card Interface driver.
447ef4b160fSAndy Shevchenko	  If you have an AT91 platform with a Multimedia Card slot,
448ef4b160fSAndy Shevchenko	  say Y or M here.
4497d2be074SHaavard Skinnemoen
4507d2be074SHaavard Skinnemoen	  If unsure, say N.
4517d2be074SHaavard Skinnemoen
4520eb0d9f4SGeorgi Djakovconfig MMC_SDHCI_MSM
4530eb0d9f4SGeorgi Djakov	tristate "Qualcomm SDHCI Controller Support"
4546096d7a8SGeorgi Djakov	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
4550eb0d9f4SGeorgi Djakov	depends on MMC_SDHCI_PLTFM
45699d570daSVijay Viswanath	select MMC_SDHCI_IO_ACCESSORS
4570eb0d9f4SGeorgi Djakov	help
4580eb0d9f4SGeorgi Djakov	  This selects the Secure Digital Host Controller Interface (SDHCI)
4590eb0d9f4SGeorgi Djakov	  support present in Qualcomm SOCs. The controller supports
4600eb0d9f4SGeorgi Djakov	  SD/MMC/SDIO devices.
4610eb0d9f4SGeorgi Djakov
4620eb0d9f4SGeorgi Djakov	  If you have a controller with this interface, say Y or M here.
4630eb0d9f4SGeorgi Djakov
4640eb0d9f4SGeorgi Djakov	  If unsure, say N.
4650eb0d9f4SGeorgi Djakov
466d96be879SSascha Hauerconfig MMC_MXC
467c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
468c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
469d96be879SSascha Hauer	help
470c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
471c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
472c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
473d96be879SSascha Hauer
474d96be879SSascha Hauer	  If unsure, say N.
475d96be879SSascha Hauer
476e4243f13SShawn Guoconfig MMC_MXS
477e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
478e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
479e4243f13SShawn Guo	help
480e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
481e4243f13SShawn Guo	  platforms like mx23/28.
482e4243f13SShawn Guo
483e4243f13SShawn Guo	  If unsure, say N.
484e4243f13SShawn Guo
4851c6a0718SPierre Ossmanconfig MMC_TIFM_SD
48686147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
48786147c84SKees Cook	depends on PCI
4881c6a0718SPierre Ossman	select TIFM_CORE
4891c6a0718SPierre Ossman	help
4901c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
4911c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
4921c6a0718SPierre Ossman	  laptops.
4931c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
4941c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
4951c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
4961c6a0718SPierre Ossman	  (TIFM_7XX1)'.
4971c6a0718SPierre Ossman
4981c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
4991c6a0718SPierre Ossman	  module will be called tifm_sd.
5001c6a0718SPierre Ossman
501236caa7cSMaen Suleimanconfig MMC_MVSDIO
502236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
503236caa7cSMaen Suleiman	depends on PLAT_ORION
50417da6783SLinus Walleij	depends on OF
505236caa7cSMaen Suleiman	---help---
506236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
507236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
508236caa7cSMaen Suleiman	  SoC controllers.
509236caa7cSMaen Suleiman
510236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
511236caa7cSMaen Suleiman	  module will be called mvsdio.
512236caa7cSMaen Suleiman
513b4cff454SVipin Bhandariconfig MMC_DAVINCI
514b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
515b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
516b4cff454SVipin Bhandari        help
517b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
518b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
519b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
520b4cff454SVipin Bhandari
52185c34d2eSMike Lockwoodconfig MMC_GOLDFISH
52285c34d2eSMike Lockwood	tristate "goldfish qemu Multimedia Card Interface support"
5237f8a9a7eSLuis de Bethencourt	depends on GOLDFISH || COMPILE_TEST
52485c34d2eSMike Lockwood	help
52585c34d2eSMike Lockwood	  This selects the Goldfish Multimedia card Interface emulation
52685c34d2eSMike Lockwood	  found on the Goldfish Android virtual device emulation.
52785c34d2eSMike Lockwood
52815a0580cSDavid Brownellconfig MMC_SPI
52957105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
530e176c255SIan Molton	depends on SPI_MASTER && HAS_DMA
53115a0580cSDavid Brownell	select CRC7
53215a0580cSDavid Brownell	select CRC_ITU_T
53315a0580cSDavid Brownell	help
534692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
53557105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
53657105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
53757105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
53857105737SPierre Ossman	  controllers.
53915a0580cSDavid Brownell
54015a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
54115a0580cSDavid Brownell
542be518018SThomas Kleffelconfig MMC_S3C
543be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
544b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
545b45e4b50SVasily Khoruzhick	depends on S3C24XX_DMAC
546be518018SThomas Kleffel	help
547be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
548be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
549be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
550be518018SThomas Kleffel	  slot, say Y or M here.
551be518018SThomas Kleffel
552be518018SThomas Kleffel	  If unsure, say N.
553be518018SThomas Kleffel
5545a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
5555a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
5565a2c4fe0SBen Dooks       depends on MMC_S3C
5575a2c4fe0SBen Dooks       help
5585a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
5595a2c4fe0SBen Dooks	 the generic polling code.
5605a2c4fe0SBen Dooks
56126f14947SBen Dookschoice
56226f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
56326f14947SBen Dooks	depends on MMC_S3C
56426f14947SBen Dooks
56526f14947SBen Dooksconfig MMC_S3C_PIO
56626f14947SBen Dooks	bool "Use PIO transfers only"
56726f14947SBen Dooks	help
56826f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
56926f14947SBen Dooks
57026f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
57126f14947SBen Dooks	  move the data. This has been the traditional default for
57226f14947SBen Dooks	  the S3C MCI driver.
57326f14947SBen Dooks
57426f14947SBen Dooksconfig MMC_S3C_DMA
57586147c84SKees Cook	bool "Use DMA transfers only"
57626f14947SBen Dooks	help
57726f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
57826f14947SBen Dooks
57926f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
58026f14947SBen Dooks	  working properly and needs to be debugged before this
58126f14947SBen Dooks	  option is useful.
58226f14947SBen Dooks
58326f14947SBen Dooksendchoice
58426f14947SBen Dooks
5856a36913aSSascha Sommerconfig MMC_SDRICOH_CS
58686147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
58786147c84SKees Cook	depends on PCI && PCMCIA
5886a36913aSSascha Sommer	help
5896a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
5906a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
5916a36913aSSascha Sommer
5926a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
5936a36913aSSascha Sommer	  module will be called sdricoh_cs.
5946a36913aSSascha Sommer
595b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
596b6147490SGuennadi Liakhovetski	tristate
597b6147490SGuennadi Liakhovetski
5984a48998fSIan Moltonconfig MMC_TMIO
5994a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
60042051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
601b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
6024a48998fSIan Molton	help
6034a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
604e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
6055f5bac82SMichał Mirosław
60642051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
607b5b6a5f4SSimon Horman	tristate "Renesas SDHI SD/SDIO controller support"
60849312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
60942051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
61042051e8aSGuennadi Liakhovetski	help
61142051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
612b5b6a5f4SSimon Horman	  Renesas SuperH, ARM and ARM64 based SoCs
61342051e8aSGuennadi Liakhovetski
6142a68ea78SSimon Hormanconfig MMC_SDHI_SYS_DMAC
6152a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
6161d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
617c813e10aSMasahiro Yamada	default MMC_SDHI if (SUPERH || ARM)
6182a68ea78SSimon Horman	help
6192a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6202a68ea78SSimon Horman	  using SYS-DMAC via DMA Engine. This supports the controllers
6212a68ea78SSimon Horman	  found in SuperH and Renesas ARM based SoCs.
6222a68ea78SSimon Horman
6232a68ea78SSimon Hormanconfig MMC_SDHI_INTERNAL_DMAC
6242a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
6252a68ea78SSimon Horman	depends on ARM64 || COMPILE_TEST
6261d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
627c813e10aSMasahiro Yamada	default MMC_SDHI if ARM64
6282a68ea78SSimon Horman	help
6292a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6302a68ea78SSimon Horman	  using on-chip bus mastering. This supports the controllers
6312a68ea78SSimon Horman	  found in arm64 based SoCs.
6322a68ea78SSimon Horman
6335f5bac82SMichał Mirosławconfig MMC_CB710
6345f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
6350244ad00SMartin Schwidefsky	depends on PCI
6365f5bac82SMichał Mirosław	select CB710_CORE
6375f5bac82SMichał Mirosław	help
6385f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
6395f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
6405f5bac82SMichał Mirosław	  HP Compaq nx9500).
6415f5bac82SMichał Mirosław
6425f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
6435f5bac82SMichał Mirosław	  will be called cb710-mmc.
6445f5bac82SMichał Mirosław
645f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
646f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
647f0bf7f61SHarald Welte	depends on PCI
648f0bf7f61SHarald Welte	help
649f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
650f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
651f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
652f0bf7f61SHarald Welte	  SD/MMC/SDHC.
653f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
654f0bf7f61SHarald Welte
655f0bf7f61SHarald Welte	  If unsure, say N.
656eb962d5bSCliff Cai
65701d95843SSteven J. Hillconfig MMC_CAVIUM_OCTEON
65801d95843SSteven J. Hill	tristate "Cavium OCTEON SD/MMC Card Interface support"
65901d95843SSteven J. Hill	depends on CAVIUM_OCTEON_SOC
66001d95843SSteven J. Hill	help
66101d95843SSteven J. Hill	  This selects Cavium OCTEON SD/MMC card Interface.
66201d95843SSteven J. Hill	  If you have an OCTEON board with a Multimedia Card slot,
66301d95843SSteven J. Hill	  say Y or M here.
66401d95843SSteven J. Hill
66501d95843SSteven J. Hill	  If unsure, say N.
66601d95843SSteven J. Hill
667166bac38SJan Glauberconfig MMC_CAVIUM_THUNDERX
668166bac38SJan Glauber	tristate "Cavium ThunderX SD/MMC Card Interface support"
669166bac38SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
67062467bbbSJan Glauber	depends on GPIO_THUNDERX
671166bac38SJan Glauber	depends on OF_ADDRESS
672166bac38SJan Glauber	help
673166bac38SJan Glauber	  This selects Cavium ThunderX SD/MMC Card Interface.
674166bac38SJan Glauber	  If you have an Cavium ARM64 board with a Multimedia Card slot
675166bac38SJan Glauber	  or builtin eMMC chip say Y or M here. If built as a module
676166bac38SJan Glauber	  the module will be called thunderx_mmc.ko.
677166bac38SJan Glauber
678f95f3850SWill Newtonconfig MMC_DW
679f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
680c34346b2SAlim Akhtar	depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
681f95f3850SWill Newton	help
682f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
683f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
6843fc7eaefSShawn Lin	  PIO, internal DMA mode and external DMA mode.
685f95f3850SWill Newton
68662ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
68762ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
68862ca8034SShashidhar Hiremath	depends on MMC_DW
68962ca8034SShashidhar Hiremath	default y
69062ca8034SShashidhar Hiremath	help
69162ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
69262ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
69362ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
69462ca8034SShashidhar Hiremath	  Synopsys Designware IP.
69562ca8034SShashidhar Hiremath
69662ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
69762ca8034SShashidhar Hiremath
69862ca8034SShashidhar Hiremath	  If unsure, say Y.
69962ca8034SShashidhar Hiremath
70086958dccSLiming Sunconfig MMC_DW_BLUEFIELD
70186958dccSLiming Sun	tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
70286958dccSLiming Sun	depends on MMC_DW
70386958dccSLiming Sun	select MMC_DW_PLTFM
70486958dccSLiming Sun	help
70586958dccSLiming Sun	  This selects support for Mellanox BlueField SoC specific extensions to
70686958dccSLiming Sun	  the Synopsys DesignWare Memory Card Interface driver. Select this
70786958dccSLiming Sun	  option for platforms based on Mellanox BlueField SoC's.
70886958dccSLiming Sun
709c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
710e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
711c3665006SThomas Abraham	depends on MMC_DW
712c3665006SThomas Abraham	select MMC_DW_PLTFM
713c3665006SThomas Abraham	help
714c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
715c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
716c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
717c3665006SThomas Abraham
718e382ab74Stianshuliangconfig MMC_DW_HI3798CV200
719e382ab74Stianshuliang	tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
720e382ab74Stianshuliang	depends on MMC_DW
721e382ab74Stianshuliang	select MMC_DW_PLTFM
722e382ab74Stianshuliang	help
723e382ab74Stianshuliang	  This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
724e382ab74Stianshuliang	  Synopsys DesignWare Memory Card Interface driver. Select this option
725e382ab74Stianshuliang	  for platforms based on HiSilicon Hi3798CV200 SoC.
726e382ab74Stianshuliang
727036f29d5SZhangfei Gaoconfig MMC_DW_K3
728036f29d5SZhangfei Gao	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
729036f29d5SZhangfei Gao	depends on MMC_DW
730036f29d5SZhangfei Gao	select MMC_DW_PLTFM
731036f29d5SZhangfei Gao	help
732036f29d5SZhangfei Gao	  This selects support for Hisilicon K3 SoC specific extensions to the
733036f29d5SZhangfei Gao	  Synopsys DesignWare Memory Card Interface driver. Select this option
734036f29d5SZhangfei Gao	  for platforms based on Hisilicon K3 SoC's.
735036f29d5SZhangfei Gao
73662ca8034SShashidhar Hiremathconfig MMC_DW_PCI
73762ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
73862ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
73962ca8034SShashidhar Hiremath	help
74062ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
74162ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
74262ca8034SShashidhar Hiremath
74362ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
74462ca8034SShashidhar Hiremath
74562ca8034SShashidhar Hiremath	  If unsure, say N.
74662ca8034SShashidhar Hiremath
7474cdc2ec1Saddy keconfig MMC_DW_ROCKCHIP
7484cdc2ec1Saddy ke	tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
7494cdc2ec1Saddy ke	depends on MMC_DW && ARCH_ROCKCHIP
7504cdc2ec1Saddy ke	select MMC_DW_PLTFM
7514cdc2ec1Saddy ke	help
7524cdc2ec1Saddy ke	  This selects support for Rockchip SoC specific extensions to the
7534cdc2ec1Saddy ke	  Synopsys DesignWare Memory Card Interface driver. Select this option
7544cdc2ec1Saddy ke	  for platforms based on RK3066, RK3188 and RK3288 SoC's.
7554cdc2ec1Saddy ke
756a8c643adSJun Nieconfig MMC_DW_ZX
757a8c643adSJun Nie	tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
758a8c643adSJun Nie	depends on MMC_DW && ARCH_ZX
759a8c643adSJun Nie	select MMC_DW_PLTFM
760a8c643adSJun Nie	help
761a8c643adSJun Nie	  This selects support for ZTE SoC specific extensions to the
762a8c643adSJun Nie	  Synopsys DesignWare Memory Card Interface driver. Select this option
763a8c643adSJun Nie	  for platforms based on ZX296718 SoC's.
764a8c643adSJun Nie
765fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
766fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
76749312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
768fdc50a94SYusuke Goda	help
769ba9e9157SWolfram Sang	  This selects the MMC Host Interface controller (MMCIF) found in various
770ba9e9157SWolfram Sang	  Renesas SoCs for SH and ARM architectures.
771fdc50a94SYusuke Goda
77261bfbdb8SLars-Peter Clausen
77361bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
7746a78768aSAlex Smith	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
7756a78768aSAlex Smith	depends on MACH_JZ4740 || MACH_JZ4780
77661bfbdb8SLars-Peter Clausen	help
7776a78768aSAlex Smith	  This selects support for the SD/MMC controller on Ingenic
7786a78768aSAlex Smith	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
7796a78768aSAlex Smith
78061bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
78161bfbdb8SLars-Peter Clausen	  say Y or M here.
78253f3a9e2SDavid Vrabel
78388095e7bSTony Olechconfig MMC_VUB300
78488095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
78588095e7bSTony Olech	depends on USB
78688095e7bSTony Olech	help
78788095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
78888095e7bSTony Olech
78988095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
79088095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
79188095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
79288095e7bSTony Olech
79388095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
79488095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
79588095e7bSTony Olech
79688095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
79788095e7bSTony Olech	  to single and multifunction SDIO cards.
79888095e7bSTony Olech
79988095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
80088095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
80188095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
80288095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
80388095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
80488095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
80588095e7bSTony Olech	  the best obtainable data rate.
80688095e7bSTony Olech
80788095e7bSTony Olech	  To compile this mmc host controller driver as a module,
80888095e7bSTony Olech	  choose M here: the module will be called vub300.
80988095e7bSTony Olech
81088095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
81188095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
81288095e7bSTony Olech	  VUB300 chip say Y or M here.
81388095e7bSTony Olech
81453f3a9e2SDavid Vrabelconfig MMC_USHC
81553f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
81653f3a9e2SDavid Vrabel	depends on USB
81753f3a9e2SDavid Vrabel	help
81853f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
81953f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
82053f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
82153f3a9e2SDavid Vrabel
82253f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
82353f3a9e2SDavid Vrabel	  and Ultrasira.
82453f3a9e2SDavid Vrabel
82553f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
82653f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
8273a96dff0STony Prisk
8283a96dff0STony Priskconfig MMC_WMT
8293a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
8303a96dff0STony Prisk	depends on ARCH_VT8500
8313a96dff0STony Prisk	default y
8323a96dff0STony Prisk	help
8333a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
8343a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
8353a96dff0STony Prisk
8363a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
8373a96dff0STony Prisk	  module will be called wmt-sdmmc.
8386a5971d8SLinus Torvalds
83975fa9ea6SGuennadi Liakhovetskiconfig MMC_USDHI6ROL0
84075fa9ea6SGuennadi Liakhovetski	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
8411ef94740SGeert Uytterhoeven	depends on HAS_DMA
84275fa9ea6SGuennadi Liakhovetski	help
84375fa9ea6SGuennadi Liakhovetski	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
84475fa9ea6SGuennadi Liakhovetski	  Host Controller
84575fa9ea6SGuennadi Liakhovetski
8462c94b645SWei WANGconfig MMC_REALTEK_PCI
8472c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
848e455b69dSRui Feng	depends on MISC_RTSX_PCI
8492c94b645SWei WANG	help
8502c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
8512c94b645SWei WANG	  of Realtek PCI-E card reader
852c7f6558dSRoger Tseng
853c7f6558dSRoger Tsengconfig MMC_REALTEK_USB
854c7f6558dSRoger Tseng	tristate "Realtek USB SD/MMC Card Interface Driver"
855e455b69dSRui Feng	depends on MISC_RTSX_USB
856c7f6558dSRoger Tseng	help
857c7f6558dSRoger Tseng	  Say Y here to include driver code to support SD/MMC card interface
858c7f6558dSRoger Tseng	  of Realtek RTS5129/39 series card reader
85919b7f796SDavid Lanzendörfer
86019b7f796SDavid Lanzendörferconfig MMC_SUNXI
86119b7f796SDavid Lanzendörfer	tristate "Allwinner sunxi SD/MMC Host Controller support"
86219b7f796SDavid Lanzendörfer	depends on ARCH_SUNXI
86319b7f796SDavid Lanzendörfer	help
86419b7f796SDavid Lanzendörfer	  This selects support for the SD/MMC Host Controller on
86519b7f796SDavid Lanzendörfer	  Allwinner sunxi SoCs.
866a5eb8bbdSOndrej Zary
867a4080225SVenkat Gopalakrishnanconfig MMC_CQHCI
868a4080225SVenkat Gopalakrishnan	tristate "Command Queue Host Controller Interface support"
869a4080225SVenkat Gopalakrishnan	depends on HAS_DMA
870a4080225SVenkat Gopalakrishnan	help
871a4080225SVenkat Gopalakrishnan	  This selects the Command Queue Host Controller Interface (CQHCI)
872a4080225SVenkat Gopalakrishnan	  support present in host controllers of Qualcomm Technologies, Inc
873a4080225SVenkat Gopalakrishnan	  amongst others.
874a4080225SVenkat Gopalakrishnan	  This controller supports eMMC devices with command queue support.
875a4080225SVenkat Gopalakrishnan
876a4080225SVenkat Gopalakrishnan	  If you have a controller with this interface, say Y or M here.
877a4080225SVenkat Gopalakrishnan
878a4080225SVenkat Gopalakrishnan	  If unsure, say N.
879a4080225SVenkat Gopalakrishnan
880a5eb8bbdSOndrej Zaryconfig MMC_TOSHIBA_PCI
881a5eb8bbdSOndrej Zary	tristate "Toshiba Type A SD/MMC Card Interface Driver"
882a5eb8bbdSOndrej Zary	depends on PCI
88320848903SChaotian Jing
884660fc733SEric Anholtconfig MMC_BCM2835
885660fc733SEric Anholt	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
886660fc733SEric Anholt	depends on ARCH_BCM2835 || COMPILE_TEST
887660fc733SEric Anholt	help
888660fc733SEric Anholt	  This selects the BCM2835 SDHOST MMC controller. If you have
889660fc733SEric Anholt	  a BCM2835 platform with SD or MMC devices, say Y or M here.
890660fc733SEric Anholt
891660fc733SEric Anholt	  Note that the BCM2835 has two SD controllers: The Arasan
892660fc733SEric Anholt	  sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
893660fc733SEric Anholt	  sdhost controller (supported by this driver).
894660fc733SEric Anholt
895660fc733SEric Anholt	  If unsure, say N.
896660fc733SEric Anholt
89720848903SChaotian Jingconfig MMC_MTK
89820848903SChaotian Jing	tristate "MediaTek SD/MMC Card Interface support"
899c2b22fffSGeert Uytterhoeven	depends on HAS_DMA
90020848903SChaotian Jing	help
90120848903SChaotian Jing	  This selects the MediaTek(R) Secure digital and Multimedia card Interface.
90220848903SChaotian Jing	  If you have a machine with a integrated SD/MMC card reader, say Y or M here.
90320848903SChaotian Jing	  This is needed if support for any SD/SDIO/MMC devices is required.
90420848903SChaotian Jing	  If unsure, say N.
9055d9460d7SAndrei Pistirica
9065d9460d7SAndrei Pistiricaconfig MMC_SDHCI_MICROCHIP_PIC32
9075d9460d7SAndrei Pistirica        tristate "Microchip PIC32MZDA SDHCI support"
9085d9460d7SAndrei Pistirica        depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
9095d9460d7SAndrei Pistirica        help
9105d9460d7SAndrei Pistirica          This selects the Secure Digital Host Controller Interface (SDHCI)
9115d9460d7SAndrei Pistirica          for PIC32MZDA platform.
9125d9460d7SAndrei Pistirica
9135d9460d7SAndrei Pistirica          If you have a controller with this interface, say Y or M here.
9145d9460d7SAndrei Pistirica
9155d9460d7SAndrei Pistirica          If unsure, say N.
916476bf3d6SAl Cooperconfig MMC_SDHCI_BRCMSTB
917476bf3d6SAl Cooper	tristate "Broadcom SDIO/SD/MMC support"
918476bf3d6SAl Cooper	depends on ARCH_BRCMSTB || BMIPS_GENERIC
919476bf3d6SAl Cooper	depends on MMC_SDHCI_PLTFM
920476bf3d6SAl Cooper	default y
921476bf3d6SAl Cooper	help
922476bf3d6SAl Cooper	  This selects support for the SDIO/SD/MMC Host Controller on
923476bf3d6SAl Cooper	  Broadcom STB SoCs.
924476bf3d6SAl Cooper
925476bf3d6SAl Cooper	  If unsure, say Y.
9263a3748dbSHu Ziji
9273a3748dbSHu Zijiconfig MMC_SDHCI_XENON
9283a3748dbSHu Ziji	tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
9293a3748dbSHu Ziji	depends on MMC_SDHCI_PLTFM
9303a3748dbSHu Ziji	help
9313a3748dbSHu Ziji	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
9323a3748dbSHu Ziji	  If you have a controller with this interface, say Y or M here.
9333a3748dbSHu Ziji	  If unsure, say N.
9347d326930SKishon Vijay Abraham I
9357d326930SKishon Vijay Abraham Iconfig MMC_SDHCI_OMAP
9367d326930SKishon Vijay Abraham I	tristate "TI SDHCI Controller Support"
9377d326930SKishon Vijay Abraham I	depends on MMC_SDHCI_PLTFM && OF
9387d326930SKishon Vijay Abraham I	help
9397d326930SKishon Vijay Abraham I	  This selects the Secure Digital Host Controller Interface (SDHCI)
9407d326930SKishon Vijay Abraham I	  support present in TI's DRA7 SOCs. The controller supports
9417d326930SKishon Vijay Abraham I	  SD/MMC/SDIO devices.
9427d326930SKishon Vijay Abraham I
9437d326930SKishon Vijay Abraham I	  If you have a controller with this interface, say Y or M here.
9447d326930SKishon Vijay Abraham I
9457d326930SKishon Vijay Abraham I	  If unsure, say N.
946