xref: /linux/drivers/mmc/host/Kconfig (revision 2c94b6452cc6de582584f21066cc5e36d9530c59)
11c6a0718SPierre Ossman#
21c6a0718SPierre Ossman# MMC/SD host controller drivers
31c6a0718SPierre Ossman#
41c6a0718SPierre Ossman
557105737SPierre Ossmancomment "MMC/SD/SDIO Host Controller Drivers"
61c6a0718SPierre Ossman
71c6a0718SPierre Ossmanconfig MMC_ARMMMCI
81c6a0718SPierre Ossman	tristate "ARM AMBA Multimedia Card Interface support"
9790864dcSJan Engelhardt	depends on ARM_AMBA
101c6a0718SPierre Ossman	help
111c6a0718SPierre Ossman	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
121c6a0718SPierre Ossman	  Interface (PL180 and PL181) support.  If you have an ARM(R)
131c6a0718SPierre Ossman	  platform with a Multimedia Card slot, say Y or M here.
141c6a0718SPierre Ossman
151c6a0718SPierre Ossman	  If unsure, say N.
161c6a0718SPierre Ossman
171c6a0718SPierre Ossmanconfig MMC_PXA
181c6a0718SPierre Ossman	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
19790864dcSJan Engelhardt	depends on ARCH_PXA
201c6a0718SPierre Ossman	help
211c6a0718SPierre Ossman	  This selects the Intel(R) PXA(R) Multimedia card Interface.
221c6a0718SPierre Ossman	  If you have a PXA(R) platform with a Multimedia Card slot,
231c6a0718SPierre Ossman	  say Y or M here.
241c6a0718SPierre Ossman
251c6a0718SPierre Ossman	  If unsure, say N.
261c6a0718SPierre Ossman
271c6a0718SPierre Ossmanconfig MMC_SDHCI
2834671dc2SPierre Ossman	tristate "Secure Digital Host Controller Interface support"
29b8c86fc5SPierre Ossman	depends on HAS_DMA
301c6a0718SPierre Ossman	help
31b8c86fc5SPierre Ossman	  This selects the generic Secure Digital Host Controller Interface.
321c6a0718SPierre Ossman	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
331c6a0718SPierre Ossman	  and Toshiba(R). Most controllers found in laptops are of this type.
34b8c86fc5SPierre Ossman
35b8c86fc5SPierre Ossman	  If you have a controller with this interface, say Y or M here. You
36b8c86fc5SPierre Ossman	  also need to enable an appropriate bus interface.
37b8c86fc5SPierre Ossman
38b8c86fc5SPierre Ossman	  If unsure, say N.
39b8c86fc5SPierre Ossman
404e4141a5SAnton Vorontsovconfig MMC_SDHCI_IO_ACCESSORS
414e4141a5SAnton Vorontsov	bool
424e4141a5SAnton Vorontsov	depends on MMC_SDHCI
434e4141a5SAnton Vorontsov	help
444e4141a5SAnton Vorontsov	  This is silent Kconfig symbol that is selected by the drivers that
454e4141a5SAnton Vorontsov	  need to overwrite SDHCI IO memory accessors.
464e4141a5SAnton Vorontsov
477657c3a7SAlbert Herranzconfig MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
487657c3a7SAlbert Herranz	bool
497657c3a7SAlbert Herranz	select MMC_SDHCI_IO_ACCESSORS
507657c3a7SAlbert Herranz	help
517657c3a7SAlbert Herranz	  This option is selected by drivers running on big endian hosts
527657c3a7SAlbert Herranz	  and performing I/O to a SDHCI controller through a bus that
537657c3a7SAlbert Herranz	  implements a hardware byte swapper using a 32-bit datum.
547657c3a7SAlbert Herranz	  This endian mapping mode is called "data invariance" and
557657c3a7SAlbert Herranz	  has the effect of scrambling the addresses and formats of data
567657c3a7SAlbert Herranz	  accessed in sizes other than the datum size.
577657c3a7SAlbert Herranz
581144ab5dSAlbert Herranz	  This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
597657c3a7SAlbert Herranz
60b8c86fc5SPierre Ossmanconfig MMC_SDHCI_PCI
61b8c86fc5SPierre Ossman	tristate "SDHCI support on PCI bus"
62b8c86fc5SPierre Ossman	depends on MMC_SDHCI && PCI
63b8c86fc5SPierre Ossman	help
64b8c86fc5SPierre Ossman	  This selects the PCI Secure Digital Host Controller Interface.
65b8c86fc5SPierre Ossman	  Most controllers found today are PCI devices.
66b8c86fc5SPierre Ossman
671c6a0718SPierre Ossman	  If you have a controller with this interface, say Y or M here.
681c6a0718SPierre Ossman
691c6a0718SPierre Ossman	  If unsure, say N.
701c6a0718SPierre Ossman
715ae70296SPhilip Langdaleconfig MMC_RICOH_MMC
7203cd8f7eSMaxim Levitsky	bool "Ricoh MMC Controller Disabler  (EXPERIMENTAL)"
73b8c86fc5SPierre Ossman	depends on MMC_SDHCI_PCI
745ae70296SPhilip Langdale	help
7503cd8f7eSMaxim Levitsky	  This adds a pci quirk to disable Ricoh MMC Controller. This
765ae70296SPhilip Langdale	  proprietary controller is unnecessary because the SDHCI driver
775ae70296SPhilip Langdale	  supports MMC cards on the SD controller, but if it is not
785ae70296SPhilip Langdale	  disabled, it will steal the MMC cards away - rendering them
7903cd8f7eSMaxim Levitsky	  useless. It is safe to select this even if you don't
805ae70296SPhilip Langdale	  have a Ricoh based card reader.
815ae70296SPhilip Langdale
825ae70296SPhilip Langdale	  If unsure, say Y.
835ae70296SPhilip Langdale
84f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
85f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
8638576af1SShawn Guo	depends on MMC_SDHCI
87f0de8369SShawn Guo	help
88f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
89f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
90f0de8369SShawn Guo
91f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
92f0de8369SShawn Guo
93f0de8369SShawn Guo	  If unsure, say N.
94f0de8369SShawn Guo
95f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
96f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
97f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
98236cdc7bSRob Herring	depends on PPC_OF
997657c3a7SAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1007657c3a7SAlbert Herranz	help
1017657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1023085e9c1SAnton Vorontsov
103f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
104f0de8369SShawn Guo
1053085e9c1SAnton Vorontsov	  If unsure, say N.
1063085e9c1SAnton Vorontsov
1071144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
108f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
109f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
110236cdc7bSRob Herring	depends on PPC_OF
1111144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1121144ab5dSAlbert Herranz	help
1131144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1141144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1151144ab5dSAlbert Herranz	  console.
1161144ab5dSAlbert Herranz
117f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
118f0de8369SShawn Guo
1191144ab5dSAlbert Herranz	  If unsure, say N.
1201144ab5dSAlbert Herranz
12120b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
12285d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
12320b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
124f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
12520b1597bSAnton Vorontsov	help
12620b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
12720b1597bSAnton Vorontsov
128f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
129f0de8369SShawn Guo
13020b1597bSAnton Vorontsov	  If unsure, say N.
13120b1597bSAnton Vorontsov
13295f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
13395a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
1342b795518SSascha Hauer	depends on ARCH_MXC
135f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
13695f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
13795f25efeSWolfram Sang	help
13895a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
13995a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
14095f25efeSWolfram Sang
141f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
142f0de8369SShawn Guo
14395f25efeSWolfram Sang	  If unsure, say N.
14495f25efeSWolfram Sang
145985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
14685d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
147985b1aa0SMike Rapoport	depends on ARCH_DOVE
148f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
149985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
150985b1aa0SMike Rapoport	help
151985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
152985b1aa0SMike Rapoport	  Marvell's Dove SoC.
153985b1aa0SMike Rapoport
154f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
155f0de8369SShawn Guo
156985b1aa0SMike Rapoport	  If unsure, say N.
157985b1aa0SMike Rapoport
15803d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
15985d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
16085d6509dSShawn Guo	depends on ARCH_TEGRA
161f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
16203d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
16303d2bfc8SOlof Johansson	help
16403d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
16503d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
16603d2bfc8SOlof Johansson
16703d2bfc8SOlof Johansson	  If unsure, say N.
16803d2bfc8SOlof Johansson
1690d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
1700d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
171930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
1720d1bb41aSBen Dooks	help
1730d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
1740d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
1750d1bb41aSBen Dooks	  range of SoC.
1760d1bb41aSBen Dooks
1770d1bb41aSBen Dooks	  Note, due to the problems with DMA, the DMA support is only
1780d1bb41aSBen Dooks	  available with CONFIG_EXPERIMENTAL is selected.
1790d1bb41aSBen Dooks
1800d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
1810d1bb41aSBen Dooks
1820d1bb41aSBen Dooks	  If unsure, say N.
1830d1bb41aSBen Dooks
184a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
185a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
186a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
187a702c8abSZhangfei Gao	select MMC_SDHCI
188a702c8abSZhangfei Gao	select MMC_SDHCI_PLTFM
189a702c8abSZhangfei Gao	default CPU_MMP2
190a702c8abSZhangfei Gao	help
191a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
192a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
193a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
194a702c8abSZhangfei Gao
195a702c8abSZhangfei Gao	  If unsure, say N.
196a702c8abSZhangfei Gao
1979f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
1989f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
1999f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2009f5d71e4SZhangfei Gao	select MMC_SDHCI
2019f5d71e4SZhangfei Gao	select MMC_SDHCI_PLTFM
2029f5d71e4SZhangfei Gao	default CPU_PXA910
2039f5d71e4SZhangfei Gao	help
2049f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2059f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2069f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2079f5d71e4SZhangfei Gao
2089f5d71e4SZhangfei Gao	  If unsure, say N.
2099f5d71e4SZhangfei Gao
210c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
211c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
212c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
213c63b3cbaSViresh KUMAR	help
214c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
215c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
216c63b3cbaSViresh KUMAR	  of SoC
217c63b3cbaSViresh KUMAR
218c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
219c63b3cbaSViresh KUMAR
220c63b3cbaSViresh KUMAR	  If unsure, say N.
221c63b3cbaSViresh KUMAR
2220d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
2230d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
2240d1bb41aSBen Dooks	depends on MMC_SDHCI_S3C && EXPERIMENTAL
2250d1bb41aSBen Dooks	help
2260d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
2270d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
2280d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
2290d1bb41aSBen Dooks
2300d1bb41aSBen Dooks	  YMMV.
2310d1bb41aSBen Dooks
2321c6a0718SPierre Ossmanconfig MMC_OMAP
2331c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
234790864dcSJan Engelhardt	depends on ARCH_OMAP
2351c6a0718SPierre Ossman	select TPS65010 if MACH_OMAP_H2
2361c6a0718SPierre Ossman	help
2371c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
2381c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
2391c6a0718SPierre Ossman	  say Y or M here.
2401c6a0718SPierre Ossman
2411c6a0718SPierre Ossman	  If unsure, say N.
2421c6a0718SPierre Ossman
243a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
244a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
24559b479e0STony Lindgren	depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
246a45c6cb8SMadhusudhan Chikkature	help
247a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
24882cf818dSkishore kadiyala	  If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
24982cf818dSkishore kadiyala	  Multimedia Card slot, say Y or M here.
250a45c6cb8SMadhusudhan Chikkature
251a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
252a45c6cb8SMadhusudhan Chikkature
2531c6a0718SPierre Ossmanconfig MMC_WBSD
2541c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
255790864dcSJan Engelhardt	depends on ISA_DMA_API
2561c6a0718SPierre Ossman	help
2571c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
2581c6a0718SPierre Ossman          Multimedia card Interface.
2591c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
2601c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
2611c6a0718SPierre Ossman
2621c6a0718SPierre Ossman	  If unsure, say N.
2631c6a0718SPierre Ossman
2641c6a0718SPierre Ossmanconfig MMC_AU1X
2651c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
26637663860SManuel Lauss	depends on MIPS_ALCHEMY
2671c6a0718SPierre Ossman	help
2681c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
2691c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
2701c6a0718SPierre Ossman
2711c6a0718SPierre Ossman	  If unsure, say N.
2721c6a0718SPierre Ossman
27304d699c3SRob Emanuelechoice
27404d699c3SRob Emanuele	prompt "Atmel SD/MMC Driver"
27509591dd3SNicolas Ferre	depends on AVR32 || ARCH_AT91
27604d699c3SRob Emanuele	default MMC_ATMELMCI if AVR32
27704d699c3SRob Emanuele	help
27804d699c3SRob Emanuele	  Choose which driver to use for the Atmel MCI Silicon
27904d699c3SRob Emanuele
2801c6a0718SPierre Ossmanconfig MMC_AT91
2810caaa953SLudovic Desroches	tristate "AT91 SD/MMC Card Interface support (DEPRECATED)"
282790864dcSJan Engelhardt	depends on ARCH_AT91
2831c6a0718SPierre Ossman	help
2840caaa953SLudovic Desroches	  This selects the AT91 MCI controller. This driver will
2850caaa953SLudovic Desroches	  be removed soon (for more information have a look to
2860caaa953SLudovic Desroches	  Documentation/feature-removal-schedule.txt). Please use
2870caaa953SLudovic Desroches	  MMC_ATMEL_MCI.
2881c6a0718SPierre Ossman
2891c6a0718SPierre Ossman	  If unsure, say N.
2901c6a0718SPierre Ossman
2917d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
2927d2be074SHaavard Skinnemoen	tristate "Atmel Multimedia Card Interface support"
29304d699c3SRob Emanuele	depends on AVR32 || ARCH_AT91
2947d2be074SHaavard Skinnemoen	help
2957d2be074SHaavard Skinnemoen	  This selects the Atmel Multimedia Card Interface driver. If
29604d699c3SRob Emanuele	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
29704d699c3SRob Emanuele	  Card slot, say Y or M here.
2987d2be074SHaavard Skinnemoen
2997d2be074SHaavard Skinnemoen	  If unsure, say N.
3007d2be074SHaavard Skinnemoen
30104d699c3SRob Emanueleendchoice
30204d699c3SRob Emanuele
30365e8b083SHaavard Skinnemoenconfig MMC_ATMELMCI_DMA
3045c209f1fSNicolas Ferre	bool "Atmel MCI DMA support"
3055c209f1fSNicolas Ferre	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
30665e8b083SHaavard Skinnemoen	help
30765e8b083SHaavard Skinnemoen	  Say Y here to have the Atmel MCI driver use a DMA engine to
30865e8b083SHaavard Skinnemoen	  do data transfers and thus increase the throughput and
3095c209f1fSNicolas Ferre	  reduce the CPU utilization.
31065e8b083SHaavard Skinnemoen
31165e8b083SHaavard Skinnemoen	  If unsure, say N.
31265e8b083SHaavard Skinnemoen
313eba3f137SSahitya Tummalaconfig MMC_MSM
314eba3f137SSahitya Tummala	tristate "Qualcomm SDCC Controller Support"
315edd4dd0eSSahitya Tummala	depends on MMC && ARCH_MSM
3169d2bd738SSan Mehat	help
3179d2bd738SSan Mehat	  This provides support for the SD/MMC cell found in the
318eba3f137SSahitya Tummala	  MSM and QSD SOCs from Qualcomm. The controller also has
319eba3f137SSahitya Tummala	  support for SDIO devices.
3209d2bd738SSan Mehat
321d96be879SSascha Hauerconfig MMC_MXC
3222b795518SSascha Hauer	tristate "Freescale i.MX21/27/31 Multimedia Card Interface support"
3232b795518SSascha Hauer	depends on ARCH_MXC
324d96be879SSascha Hauer	help
3252b795518SSascha Hauer	  This selects the Freescale i.MX21, i.MX27 and i.MX31 Multimedia card
3262b795518SSascha Hauer	  Interface. If you have a i.MX platform with a Multimedia Card slot,
327d96be879SSascha Hauer	  say Y or M here.
328d96be879SSascha Hauer
329d96be879SSascha Hauer	  If unsure, say N.
330d96be879SSascha Hauer
331e4243f13SShawn Guoconfig MMC_MXS
332e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
333e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
334e4243f13SShawn Guo	help
335e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
336e4243f13SShawn Guo	  platforms like mx23/28.
337e4243f13SShawn Guo
338e4243f13SShawn Guo	  If unsure, say N.
339e4243f13SShawn Guo
3401c6a0718SPierre Ossmanconfig MMC_TIFM_SD
3411c6a0718SPierre Ossman	tristate "TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)"
342790864dcSJan Engelhardt	depends on EXPERIMENTAL && PCI
3431c6a0718SPierre Ossman	select TIFM_CORE
3441c6a0718SPierre Ossman	help
3451c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
3461c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
3471c6a0718SPierre Ossman	  laptops.
3481c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
3491c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
3501c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
3511c6a0718SPierre Ossman	  (TIFM_7XX1)'.
3521c6a0718SPierre Ossman
3531c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
3541c6a0718SPierre Ossman	  module will be called tifm_sd.
3551c6a0718SPierre Ossman
356236caa7cSMaen Suleimanconfig MMC_MVSDIO
357236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
358236caa7cSMaen Suleiman	depends on PLAT_ORION
359236caa7cSMaen Suleiman	---help---
360236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
361236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
362236caa7cSMaen Suleiman	  SoC controllers.
363236caa7cSMaen Suleiman
364236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
365236caa7cSMaen Suleiman	  module will be called mvsdio.
366236caa7cSMaen Suleiman
367b4cff454SVipin Bhandariconfig MMC_DAVINCI
368b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
369b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
370b4cff454SVipin Bhandari        help
371b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
372b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
373b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
374b4cff454SVipin Bhandari
37515a0580cSDavid Brownellconfig MMC_SPI
37657105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
3771ea4f444SPierre Ossman	depends on SPI_MASTER && !HIGHMEM && HAS_DMA
37815a0580cSDavid Brownell	select CRC7
37915a0580cSDavid Brownell	select CRC_ITU_T
38015a0580cSDavid Brownell	help
381692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
38257105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
38357105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
38457105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
38557105737SPierre Ossman	  controllers.
38615a0580cSDavid Brownell
38715a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
38815a0580cSDavid Brownell
389be518018SThomas Kleffelconfig MMC_S3C
390be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
391b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
392be518018SThomas Kleffel	help
393be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
394be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
395be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
396be518018SThomas Kleffel	  slot, say Y or M here.
397be518018SThomas Kleffel
398be518018SThomas Kleffel	  If unsure, say N.
399be518018SThomas Kleffel
4005a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
4015a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
4025a2c4fe0SBen Dooks       depends on MMC_S3C
4035a2c4fe0SBen Dooks       help
4045a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
4055a2c4fe0SBen Dooks	 the generic polling code.
4065a2c4fe0SBen Dooks
40726f14947SBen Dookschoice
40826f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
40926f14947SBen Dooks	depends on MMC_S3C
41026f14947SBen Dooks
41126f14947SBen Dooksconfig MMC_S3C_PIO
41226f14947SBen Dooks	bool "Use PIO transfers only"
41326f14947SBen Dooks	help
41426f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
41526f14947SBen Dooks
41626f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
41726f14947SBen Dooks	  move the data. This has been the traditional default for
41826f14947SBen Dooks	  the S3C MCI driver.
41926f14947SBen Dooks
42026f14947SBen Dooksconfig MMC_S3C_DMA
42126f14947SBen Dooks	bool "Use DMA transfers only (EXPERIMENTAL)"
42226f14947SBen Dooks	depends on EXPERIMENTAL
42326f14947SBen Dooks	help
42426f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
42526f14947SBen Dooks
42626f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
42726f14947SBen Dooks	  working properly and needs to be debugged before this
42826f14947SBen Dooks	  option is useful.
42926f14947SBen Dooks
43026f14947SBen Dooksconfig MMC_S3C_PIODMA
43126f14947SBen Dooks	bool "Support for both PIO and DMA (EXPERIMENTAL)"
43226f14947SBen Dooks	help
43326f14947SBen Dooks	  Compile both the PIO and DMA transfer routines into the
43426f14947SBen Dooks	  driver and let the platform select at run-time which one
43526f14947SBen Dooks	  is best.
43626f14947SBen Dooks
43726f14947SBen Dooks	  See notes for the DMA option.
43826f14947SBen Dooks
43926f14947SBen Dooksendchoice
44026f14947SBen Dooks
4416a36913aSSascha Sommerconfig MMC_SDRICOH_CS
4426a36913aSSascha Sommer	tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
4431ea4f444SPierre Ossman	depends on EXPERIMENTAL && PCI && PCMCIA
4446a36913aSSascha Sommer	help
4456a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
4466a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
4476a36913aSSascha Sommer
4486a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
4496a36913aSSascha Sommer	  module will be called sdricoh_cs.
4506a36913aSSascha Sommer
451b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
452b6147490SGuennadi Liakhovetski	tristate
453b6147490SGuennadi Liakhovetski
4544a48998fSIan Moltonconfig MMC_TMIO
4554a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
45642051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
457b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
4584a48998fSIan Molton	help
4594a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
460e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
4615f5bac82SMichał Mirosław
46242051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
46342051e8aSGuennadi Liakhovetski	tristate "SH-Mobile SDHI SD/SDIO controller support"
464022b4835SGuennadi Liakhovetski	depends on SUPERH || ARCH_SHMOBILE
46542051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
46642051e8aSGuennadi Liakhovetski	help
46742051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
46842051e8aSGuennadi Liakhovetski	  SuperH and ARM SH-Mobile SoCs
46942051e8aSGuennadi Liakhovetski
4705f5bac82SMichał Mirosławconfig MMC_CB710
4715f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
4725f5bac82SMichał Mirosław	depends on PCI
4735f5bac82SMichał Mirosław	select CB710_CORE
4745f5bac82SMichał Mirosław	help
4755f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
4765f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
4775f5bac82SMichał Mirosław	  HP Compaq nx9500).
4785f5bac82SMichał Mirosław
4795f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
4805f5bac82SMichał Mirosław	  will be called cb710-mmc.
4815f5bac82SMichał Mirosław
482f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
483f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
484f0bf7f61SHarald Welte	depends on PCI
485f0bf7f61SHarald Welte	help
486f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
487f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
488f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
489f0bf7f61SHarald Welte	  SD/MMC/SDHC.
490f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
491f0bf7f61SHarald Welte
492f0bf7f61SHarald Welte	  If unsure, say N.
493eb962d5bSCliff Cai
494eb962d5bSCliff Caiconfig SDH_BFIN
495eb962d5bSCliff Cai	tristate "Blackfin Secure Digital Host support"
49605dabcc4SMike Frysinger	depends on (BF54x && !BF544) || (BF51x && !BF512)
497eb962d5bSCliff Cai	help
498eb962d5bSCliff Cai	  If you say yes here you will get support for the Blackfin on-chip
499eb962d5bSCliff Cai	  Secure Digital Host interface.  This includes support for MMC and
500eb962d5bSCliff Cai	  SD cards.
501eb962d5bSCliff Cai
502eb962d5bSCliff Cai	  To compile this driver as a module, choose M here: the
503eb962d5bSCliff Cai	  module will be called bfin_sdh.
504eb962d5bSCliff Cai
505eb962d5bSCliff Cai	  If unsure, say N.
506eb962d5bSCliff Cai
507eb962d5bSCliff Caiconfig SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
508eb962d5bSCliff Cai	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
509eb962d5bSCliff Cai	depends on SDH_BFIN
510eb962d5bSCliff Cai	help
511eb962d5bSCliff Cai	  If you say yes here SD-Cards may work on the EZkit.
512fdc50a94SYusuke Goda
513f95f3850SWill Newtonconfig MMC_DW
514f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
515f95f3850SWill Newton	depends on ARM
516f95f3850SWill Newton	help
517f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
518f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
519f95f3850SWill Newton	  PIO and external DMA modes.
520f95f3850SWill Newton
521f95f3850SWill Newtonconfig MMC_DW_IDMAC
522f95f3850SWill Newton	bool "Internal DMAC interface"
523f95f3850SWill Newton	depends on MMC_DW
524f95f3850SWill Newton	help
525f95f3850SWill Newton	  This selects support for the internal DMAC block within the Synopsys
526f95f3850SWill Newton	  Designware Mobile Storage IP block. This disables the external DMA
527f95f3850SWill Newton	  interface.
528f95f3850SWill Newton
52962ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
53062ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
53162ca8034SShashidhar Hiremath	depends on MMC_DW
53262ca8034SShashidhar Hiremath	default y
53362ca8034SShashidhar Hiremath	help
53462ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
53562ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
53662ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
53762ca8034SShashidhar Hiremath	  Synopsys Designware IP.
53862ca8034SShashidhar Hiremath
53962ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
54062ca8034SShashidhar Hiremath
54162ca8034SShashidhar Hiremath	  If unsure, say Y.
54262ca8034SShashidhar Hiremath
543c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
544c3665006SThomas Abraham	tristate "Exynos specific extentions for Synopsys DW Memory Card Interface"
545c3665006SThomas Abraham	depends on MMC_DW
546c3665006SThomas Abraham	select MMC_DW_PLTFM
547c3665006SThomas Abraham	help
548c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
549c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
550c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
551c3665006SThomas Abraham
55262ca8034SShashidhar Hiremathconfig MMC_DW_PCI
55362ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
55462ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
55562ca8034SShashidhar Hiremath	help
55662ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
55762ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
55862ca8034SShashidhar Hiremath
55962ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
56062ca8034SShashidhar Hiremath
56162ca8034SShashidhar Hiremath	  If unsure, say N.
56262ca8034SShashidhar Hiremath
563fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
564fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
565fdc50a94SYusuke Goda	depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
566fdc50a94SYusuke Goda	help
567b595076aSUwe Kleine-König	  This selects the MMC Host Interface controller (MMCIF).
568fdc50a94SYusuke Goda
569fdc50a94SYusuke Goda	  This driver supports MMCIF in sh7724/sh7757/sh7372.
57061bfbdb8SLars-Peter Clausen
57161bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
57261bfbdb8SLars-Peter Clausen	tristate "JZ4740 SD/Multimedia Card Interface support"
57361bfbdb8SLars-Peter Clausen	depends on MACH_JZ4740
57461bfbdb8SLars-Peter Clausen	help
57561bfbdb8SLars-Peter Clausen	  This selects support for the SD/MMC controller on Ingenic JZ4740
57661bfbdb8SLars-Peter Clausen	  SoCs.
57761bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
57861bfbdb8SLars-Peter Clausen	  say Y or M here.
57953f3a9e2SDavid Vrabel
58088095e7bSTony Olechconfig MMC_VUB300
58188095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
58288095e7bSTony Olech	depends on USB
58388095e7bSTony Olech	help
58488095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
58588095e7bSTony Olech
58688095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
58788095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
58888095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
58988095e7bSTony Olech
59088095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
59188095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
59288095e7bSTony Olech
59388095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
59488095e7bSTony Olech	  to single and multifunction SDIO cards.
59588095e7bSTony Olech
59688095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
59788095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
59888095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
59988095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
60088095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
60188095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
60288095e7bSTony Olech	  the best obtainable data rate.
60388095e7bSTony Olech
60488095e7bSTony Olech	  To compile this mmc host controller driver as a module,
60588095e7bSTony Olech	  choose M here: the module will be called vub300.
60688095e7bSTony Olech
60788095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
60888095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
60988095e7bSTony Olech	  VUB300 chip say Y or M here.
61088095e7bSTony Olech
61153f3a9e2SDavid Vrabelconfig MMC_USHC
61253f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
61353f3a9e2SDavid Vrabel	depends on USB
61453f3a9e2SDavid Vrabel	help
61553f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
61653f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
61753f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
61853f3a9e2SDavid Vrabel
61953f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
62053f3a9e2SDavid Vrabel	  and Ultrasira.
62153f3a9e2SDavid Vrabel
62253f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
62353f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
624*2c94b645SWei WANG
625*2c94b645SWei WANGconfig MMC_REALTEK_PCI
626*2c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
627*2c94b645SWei WANG	depends on MFD_RTSX_PCI
628*2c94b645SWei WANG	help
629*2c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
630*2c94b645SWei WANG	  of Realtek PCI-E card reader
631