xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision b6147490)
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
843085e9c1SAnton Vorontsovconfig MMC_SDHCI_OF
853085e9c1SAnton Vorontsov	tristate "SDHCI support on OpenFirmware platforms"
86236cdc7bSRob Herring	depends on MMC_SDHCI && OF
873085e9c1SAnton Vorontsov	help
883085e9c1SAnton Vorontsov	  This selects the OF support for Secure Digital Host Controller
897657c3a7SAlbert Herranz	  Interfaces.
907657c3a7SAlbert Herranz
917657c3a7SAlbert Herranz	  If unsure, say N.
927657c3a7SAlbert Herranz
937657c3a7SAlbert Herranzconfig MMC_SDHCI_OF_ESDHC
947657c3a7SAlbert Herranz	bool "SDHCI OF support for the Freescale eSDHC controller"
957657c3a7SAlbert Herranz	depends on MMC_SDHCI_OF
96236cdc7bSRob Herring	depends on PPC_OF
977657c3a7SAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
987657c3a7SAlbert Herranz	help
997657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1003085e9c1SAnton Vorontsov
1013085e9c1SAnton Vorontsov	  If unsure, say N.
1023085e9c1SAnton Vorontsov
1031144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
1041144ab5dSAlbert Herranz	bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
1051144ab5dSAlbert Herranz	depends on MMC_SDHCI_OF
106236cdc7bSRob Herring	depends on PPC_OF
1071144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1081144ab5dSAlbert Herranz	help
1091144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1101144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1111144ab5dSAlbert Herranz	  console.
1121144ab5dSAlbert Herranz
1131144ab5dSAlbert Herranz	  If unsure, say N.
1141144ab5dSAlbert Herranz
115a3456a2dSRichard Röjforsconfig MMC_SDHCI_PLTFM
116a3456a2dSRichard Röjfors	tristate "SDHCI support on the platform specific bus"
117a3456a2dSRichard Röjfors	depends on MMC_SDHCI
118a3456a2dSRichard Röjfors	help
119a3456a2dSRichard Röjfors	  This selects the platform specific bus support for Secure Digital Host
120a3456a2dSRichard Röjfors	  Controller Interface.
121a3456a2dSRichard Röjfors
122a3456a2dSRichard Röjfors	  If you have a controller with this interface, say Y or M here.
123a3456a2dSRichard Röjfors
124a3456a2dSRichard Röjfors	  If unsure, say N.
125a3456a2dSRichard Röjfors
12620b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
12720b1597bSAnton Vorontsov	bool "SDHCI support on the Cavium Networks CNS3xxx SoC"
12820b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
12920b1597bSAnton Vorontsov	depends on MMC_SDHCI_PLTFM
13020b1597bSAnton Vorontsov	help
13120b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
13220b1597bSAnton Vorontsov
13320b1597bSAnton Vorontsov	  If unsure, say N.
13420b1597bSAnton Vorontsov
13595f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
13695f25efeSWolfram Sang	bool "SDHCI platform support for the Freescale eSDHC i.MX controller"
13795f25efeSWolfram Sang	depends on MMC_SDHCI_PLTFM && (ARCH_MX25 || ARCH_MX35 || ARCH_MX5)
13895f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
13995f25efeSWolfram Sang	help
14095f25efeSWolfram Sang	  This selects the Freescale eSDHC controller support on the platform
14195f25efeSWolfram Sang	  bus, found on platforms like mx35/51.
14295f25efeSWolfram Sang
14395f25efeSWolfram Sang	  If unsure, say N.
14495f25efeSWolfram Sang
145985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
146985b1aa0SMike Rapoport	bool "SDHCI support on Marvell's Dove SoC"
147985b1aa0SMike Rapoport	depends on ARCH_DOVE
148985b1aa0SMike Rapoport	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
154985b1aa0SMike Rapoport	  If unsure, say N.
155985b1aa0SMike Rapoport
15603d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
15703d2bfc8SOlof Johansson	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
15803d2bfc8SOlof Johansson	depends on MMC_SDHCI_PLTFM && ARCH_TEGRA
15903d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
16003d2bfc8SOlof Johansson	help
16103d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
16203d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
16303d2bfc8SOlof Johansson
16403d2bfc8SOlof Johansson	  If unsure, say N.
16503d2bfc8SOlof Johansson
1660d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
1670d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
168930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
1690d1bb41aSBen Dooks	help
1700d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
1710d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
1720d1bb41aSBen Dooks	  range of SoC.
1730d1bb41aSBen Dooks
1740d1bb41aSBen Dooks	  Note, due to the problems with DMA, the DMA support is only
1750d1bb41aSBen Dooks	  available with CONFIG_EXPERIMENTAL is selected.
1760d1bb41aSBen Dooks
1770d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
1780d1bb41aSBen Dooks
1790d1bb41aSBen Dooks	  If unsure, say N.
1800d1bb41aSBen Dooks
181536ac998SZhangfei Gaoconfig MMC_SDHCI_PXA
182536ac998SZhangfei Gao	tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
183536ac998SZhangfei Gao	depends on ARCH_PXA || ARCH_MMP
184536ac998SZhangfei Gao	select MMC_SDHCI
185536ac998SZhangfei Gao	select MMC_SDHCI_IO_ACCESSORS
186536ac998SZhangfei Gao	help
187536ac998SZhangfei Gao	  This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
188536ac998SZhangfei Gao	  If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
189536ac998SZhangfei Gao	  and a card slot, say Y or M here.
190536ac998SZhangfei Gao
191536ac998SZhangfei Gao	  If unsure, say N.
192536ac998SZhangfei Gao
193c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
194c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
195c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
196c63b3cbaSViresh KUMAR	help
197c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
198c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
199c63b3cbaSViresh KUMAR	  of SoC
200c63b3cbaSViresh KUMAR
201c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
202c63b3cbaSViresh KUMAR
203c63b3cbaSViresh KUMAR	  If unsure, say N.
204c63b3cbaSViresh KUMAR
2050d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
2060d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
2070d1bb41aSBen Dooks	depends on MMC_SDHCI_S3C && EXPERIMENTAL
2080d1bb41aSBen Dooks	help
2090d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
2100d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
2110d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
2120d1bb41aSBen Dooks
2130d1bb41aSBen Dooks	  YMMV.
2140d1bb41aSBen Dooks
2151c6a0718SPierre Ossmanconfig MMC_OMAP
2161c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
217790864dcSJan Engelhardt	depends on ARCH_OMAP
2181c6a0718SPierre Ossman	select TPS65010 if MACH_OMAP_H2
2191c6a0718SPierre Ossman	help
2201c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
2211c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
2221c6a0718SPierre Ossman	  say Y or M here.
2231c6a0718SPierre Ossman
2241c6a0718SPierre Ossman	  If unsure, say N.
2251c6a0718SPierre Ossman
226a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
227a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
22859b479e0STony Lindgren	depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
229a45c6cb8SMadhusudhan Chikkature	help
230a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
23182cf818dSkishore kadiyala	  If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
23282cf818dSkishore kadiyala	  Multimedia Card slot, say Y or M here.
233a45c6cb8SMadhusudhan Chikkature
234a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
235a45c6cb8SMadhusudhan Chikkature
2361c6a0718SPierre Ossmanconfig MMC_WBSD
2371c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
238790864dcSJan Engelhardt	depends on ISA_DMA_API
2391c6a0718SPierre Ossman	help
2401c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
2411c6a0718SPierre Ossman          Multimedia card Interface.
2421c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
2431c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
2441c6a0718SPierre Ossman
2451c6a0718SPierre Ossman	  If unsure, say N.
2461c6a0718SPierre Ossman
2471c6a0718SPierre Ossmanconfig MMC_AU1X
2481c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
249790864dcSJan Engelhardt	depends on SOC_AU1200
2501c6a0718SPierre Ossman	help
2511c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
2521c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
2531c6a0718SPierre Ossman
2541c6a0718SPierre Ossman	  If unsure, say N.
2551c6a0718SPierre Ossman
25604d699c3SRob Emanuelechoice
25704d699c3SRob Emanuele	prompt "Atmel SD/MMC Driver"
25809591dd3SNicolas Ferre	depends on AVR32 || ARCH_AT91
25904d699c3SRob Emanuele	default MMC_ATMELMCI if AVR32
26004d699c3SRob Emanuele	help
26104d699c3SRob Emanuele	  Choose which driver to use for the Atmel MCI Silicon
26204d699c3SRob Emanuele
2631c6a0718SPierre Ossmanconfig MMC_AT91
2641c6a0718SPierre Ossman	tristate "AT91 SD/MMC Card Interface support"
265790864dcSJan Engelhardt	depends on ARCH_AT91
2661c6a0718SPierre Ossman	help
2671c6a0718SPierre Ossman	  This selects the AT91 MCI controller.
2681c6a0718SPierre Ossman
2691c6a0718SPierre Ossman	  If unsure, say N.
2701c6a0718SPierre Ossman
2717d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
2727d2be074SHaavard Skinnemoen	tristate "Atmel Multimedia Card Interface support"
27304d699c3SRob Emanuele	depends on AVR32 || ARCH_AT91
2747d2be074SHaavard Skinnemoen	help
2757d2be074SHaavard Skinnemoen	  This selects the Atmel Multimedia Card Interface driver. If
27604d699c3SRob Emanuele	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
27704d699c3SRob Emanuele	  Card slot, say Y or M here.
2787d2be074SHaavard Skinnemoen
2797d2be074SHaavard Skinnemoen	  If unsure, say N.
2807d2be074SHaavard Skinnemoen
28104d699c3SRob Emanueleendchoice
28204d699c3SRob Emanuele
28365e8b083SHaavard Skinnemoenconfig MMC_ATMELMCI_DMA
28465e8b083SHaavard Skinnemoen	bool "Atmel MCI DMA support (EXPERIMENTAL)"
28575305d76SNicolas Ferre	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE && EXPERIMENTAL
28665e8b083SHaavard Skinnemoen	help
28765e8b083SHaavard Skinnemoen	  Say Y here to have the Atmel MCI driver use a DMA engine to
28865e8b083SHaavard Skinnemoen	  do data transfers and thus increase the throughput and
28965e8b083SHaavard Skinnemoen	  reduce the CPU utilization. Note that this is highly
29065e8b083SHaavard Skinnemoen	  experimental and may cause the driver to lock up.
29165e8b083SHaavard Skinnemoen
29265e8b083SHaavard Skinnemoen	  If unsure, say N.
29365e8b083SHaavard Skinnemoen
2941c6a0718SPierre Ossmanconfig MMC_IMX
2951c6a0718SPierre Ossman	tristate "Motorola i.MX Multimedia Card Interface support"
2968c8fdbc9SSascha Hauer	depends on ARCH_MX1
2971c6a0718SPierre Ossman	help
2981c6a0718SPierre Ossman	  This selects the Motorola i.MX Multimedia card Interface.
2991c6a0718SPierre Ossman	  If you have a i.MX platform with a Multimedia Card slot,
3001c6a0718SPierre Ossman	  say Y or M here.
3011c6a0718SPierre Ossman
3021c6a0718SPierre Ossman	  If unsure, say N.
3031c6a0718SPierre Ossman
304eba3f137SSahitya Tummalaconfig MMC_MSM
305eba3f137SSahitya Tummala	tristate "Qualcomm SDCC Controller Support"
306edd4dd0eSSahitya Tummala	depends on MMC && ARCH_MSM
3079d2bd738SSan Mehat	help
3089d2bd738SSan Mehat	  This provides support for the SD/MMC cell found in the
309eba3f137SSahitya Tummala	  MSM and QSD SOCs from Qualcomm. The controller also has
310eba3f137SSahitya Tummala	  support for SDIO devices.
3119d2bd738SSan Mehat
312d96be879SSascha Hauerconfig MMC_MXC
313d96be879SSascha Hauer	tristate "Freescale i.MX2/3 Multimedia Card Interface support"
314170cba8cSFabio Estevam	depends on MACH_MX21 || MACH_MX27 || ARCH_MX31
315d96be879SSascha Hauer	help
316d96be879SSascha Hauer	  This selects the Freescale i.MX2/3 Multimedia card Interface.
317d96be879SSascha Hauer	  If you have a i.MX platform with a Multimedia Card slot,
318d96be879SSascha Hauer	  say Y or M here.
319d96be879SSascha Hauer
320d96be879SSascha Hauer	  If unsure, say N.
321d96be879SSascha Hauer
322e4243f13SShawn Guoconfig MMC_MXS
323e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
324e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
325e4243f13SShawn Guo	help
326e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
327e4243f13SShawn Guo	  platforms like mx23/28.
328e4243f13SShawn Guo
329e4243f13SShawn Guo	  If unsure, say N.
330e4243f13SShawn Guo
3311c6a0718SPierre Ossmanconfig MMC_TIFM_SD
3321c6a0718SPierre Ossman	tristate "TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)"
333790864dcSJan Engelhardt	depends on EXPERIMENTAL && PCI
3341c6a0718SPierre Ossman	select TIFM_CORE
3351c6a0718SPierre Ossman	help
3361c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
3371c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
3381c6a0718SPierre Ossman	  laptops.
3391c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
3401c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
3411c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
3421c6a0718SPierre Ossman	  (TIFM_7XX1)'.
3431c6a0718SPierre Ossman
3441c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
3451c6a0718SPierre Ossman	  module will be called tifm_sd.
3461c6a0718SPierre Ossman
347236caa7cSMaen Suleimanconfig MMC_MVSDIO
348236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
349236caa7cSMaen Suleiman	depends on PLAT_ORION
350236caa7cSMaen Suleiman	---help---
351236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
352236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
353236caa7cSMaen Suleiman	  SoC controllers.
354236caa7cSMaen Suleiman
355236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
356236caa7cSMaen Suleiman	  module will be called mvsdio.
357236caa7cSMaen Suleiman
358b4cff454SVipin Bhandariconfig MMC_DAVINCI
359b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
360b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
361b4cff454SVipin Bhandari        help
362b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
363b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
364b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
365b4cff454SVipin Bhandari
36615a0580cSDavid Brownellconfig MMC_SPI
36757105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
3681ea4f444SPierre Ossman	depends on SPI_MASTER && !HIGHMEM && HAS_DMA
36915a0580cSDavid Brownell	select CRC7
37015a0580cSDavid Brownell	select CRC_ITU_T
37115a0580cSDavid Brownell	help
372692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
37357105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
37457105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
37557105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
37657105737SPierre Ossman	  controllers.
37715a0580cSDavid Brownell
37815a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
37915a0580cSDavid Brownell
380be518018SThomas Kleffelconfig MMC_S3C
381be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
3821ea4f444SPierre Ossman	depends on ARCH_S3C2410
383be518018SThomas Kleffel	help
384be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
385be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
386be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
387be518018SThomas Kleffel	  slot, say Y or M here.
388be518018SThomas Kleffel
389be518018SThomas Kleffel	  If unsure, say N.
390be518018SThomas Kleffel
3915a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
3925a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
3935a2c4fe0SBen Dooks       depends on MMC_S3C
3945a2c4fe0SBen Dooks       help
3955a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
3965a2c4fe0SBen Dooks	 the generic polling code.
3975a2c4fe0SBen Dooks
39826f14947SBen Dookschoice
39926f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
40026f14947SBen Dooks	depends on MMC_S3C
40126f14947SBen Dooks
40226f14947SBen Dooksconfig MMC_S3C_PIO
40326f14947SBen Dooks	bool "Use PIO transfers only"
40426f14947SBen Dooks	help
40526f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
40626f14947SBen Dooks
40726f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
40826f14947SBen Dooks	  move the data. This has been the traditional default for
40926f14947SBen Dooks	  the S3C MCI driver.
41026f14947SBen Dooks
41126f14947SBen Dooksconfig MMC_S3C_DMA
41226f14947SBen Dooks	bool "Use DMA transfers only (EXPERIMENTAL)"
41326f14947SBen Dooks	depends on EXPERIMENTAL
41426f14947SBen Dooks	help
41526f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
41626f14947SBen Dooks
41726f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
41826f14947SBen Dooks	  working properly and needs to be debugged before this
41926f14947SBen Dooks	  option is useful.
42026f14947SBen Dooks
42126f14947SBen Dooksconfig MMC_S3C_PIODMA
42226f14947SBen Dooks	bool "Support for both PIO and DMA (EXPERIMENTAL)"
42326f14947SBen Dooks	help
42426f14947SBen Dooks	  Compile both the PIO and DMA transfer routines into the
42526f14947SBen Dooks	  driver and let the platform select at run-time which one
42626f14947SBen Dooks	  is best.
42726f14947SBen Dooks
42826f14947SBen Dooks	  See notes for the DMA option.
42926f14947SBen Dooks
43026f14947SBen Dooksendchoice
43126f14947SBen Dooks
4326a36913aSSascha Sommerconfig MMC_SDRICOH_CS
4336a36913aSSascha Sommer	tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
4341ea4f444SPierre Ossman	depends on EXPERIMENTAL && PCI && PCMCIA
4356a36913aSSascha Sommer	help
4366a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
4376a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
4386a36913aSSascha Sommer
4396a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
4406a36913aSSascha Sommer	  module will be called sdricoh_cs.
4416a36913aSSascha Sommer
442b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
443b6147490SGuennadi Liakhovetski	tristate
444b6147490SGuennadi Liakhovetski
4454a48998fSIan Moltonconfig MMC_TMIO
4464a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
4473d8ca8c0SMagnus Damm	depends on MFD_TMIO || MFD_ASIC3 || MFD_SH_MOBILE_SDHI
448b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
4494a48998fSIan Molton	help
4504a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
451e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
4525f5bac82SMichał Mirosław
4535f5bac82SMichał Mirosławconfig MMC_CB710
4545f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
4555f5bac82SMichał Mirosław	depends on PCI
4569ffca830SRandy Dunlap	select MISC_DEVICES
4575f5bac82SMichał Mirosław	select CB710_CORE
4585f5bac82SMichał Mirosław	help
4595f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
4605f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
4615f5bac82SMichał Mirosław	  HP Compaq nx9500).
4625f5bac82SMichał Mirosław
4635f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
4645f5bac82SMichał Mirosław	  will be called cb710-mmc.
4655f5bac82SMichał Mirosław
466f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
467f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
468f0bf7f61SHarald Welte	depends on PCI
469f0bf7f61SHarald Welte	help
470f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
471f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
472f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
473f0bf7f61SHarald Welte	  SD/MMC/SDHC.
474f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
475f0bf7f61SHarald Welte
476f0bf7f61SHarald Welte	  If unsure, say N.
477eb962d5bSCliff Cai
478eb962d5bSCliff Caiconfig SDH_BFIN
479eb962d5bSCliff Cai	tristate "Blackfin Secure Digital Host support"
48005dabcc4SMike Frysinger	depends on (BF54x && !BF544) || (BF51x && !BF512)
481eb962d5bSCliff Cai	help
482eb962d5bSCliff Cai	  If you say yes here you will get support for the Blackfin on-chip
483eb962d5bSCliff Cai	  Secure Digital Host interface.  This includes support for MMC and
484eb962d5bSCliff Cai	  SD cards.
485eb962d5bSCliff Cai
486eb962d5bSCliff Cai	  To compile this driver as a module, choose M here: the
487eb962d5bSCliff Cai	  module will be called bfin_sdh.
488eb962d5bSCliff Cai
489eb962d5bSCliff Cai	  If unsure, say N.
490eb962d5bSCliff Cai
491eb962d5bSCliff Caiconfig SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
492eb962d5bSCliff Cai	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
493eb962d5bSCliff Cai	depends on SDH_BFIN
494eb962d5bSCliff Cai	help
495eb962d5bSCliff Cai	  If you say yes here SD-Cards may work on the EZkit.
496fdc50a94SYusuke Goda
497f95f3850SWill Newtonconfig MMC_DW
498f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
499f95f3850SWill Newton	depends on ARM
500f95f3850SWill Newton	help
501f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
502f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
503f95f3850SWill Newton	  PIO and external DMA modes.
504f95f3850SWill Newton
505f95f3850SWill Newtonconfig MMC_DW_IDMAC
506f95f3850SWill Newton	bool "Internal DMAC interface"
507f95f3850SWill Newton	depends on MMC_DW
508f95f3850SWill Newton	help
509f95f3850SWill Newton	  This selects support for the internal DMAC block within the Synopsys
510f95f3850SWill Newton	  Designware Mobile Storage IP block. This disables the external DMA
511f95f3850SWill Newton	  interface.
512f95f3850SWill Newton
513fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
514fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
515fdc50a94SYusuke Goda	depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
516fdc50a94SYusuke Goda	help
517b595076aSUwe Kleine-König	  This selects the MMC Host Interface controller (MMCIF).
518fdc50a94SYusuke Goda
519fdc50a94SYusuke Goda	  This driver supports MMCIF in sh7724/sh7757/sh7372.
52061bfbdb8SLars-Peter Clausen
52161bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
52261bfbdb8SLars-Peter Clausen	tristate "JZ4740 SD/Multimedia Card Interface support"
52361bfbdb8SLars-Peter Clausen	depends on MACH_JZ4740
52461bfbdb8SLars-Peter Clausen	help
52561bfbdb8SLars-Peter Clausen	  This selects support for the SD/MMC controller on Ingenic JZ4740
52661bfbdb8SLars-Peter Clausen	  SoCs.
52761bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
52861bfbdb8SLars-Peter Clausen	  say Y or M here.
52953f3a9e2SDavid Vrabel
53053f3a9e2SDavid Vrabelconfig MMC_USHC
53153f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
53253f3a9e2SDavid Vrabel	depends on USB
53353f3a9e2SDavid Vrabel	help
53453f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
53553f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
53653f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
53753f3a9e2SDavid Vrabel
53853f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
53953f3a9e2SDavid Vrabel	  and Ultrasira.
54053f3a9e2SDavid Vrabel
54153f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
54253f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
543