xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision 67d55cec)
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
7286147c84SKees Cook	bool "Ricoh MMC Controller Disabler"
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
84c4e05037SAdrian Hunterconfig MMC_SDHCI_ACPI
85c4e05037SAdrian Hunter	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
86c4e05037SAdrian Hunter	depends on MMC_SDHCI && ACPI
87c4e05037SAdrian Hunter	help
88c4e05037SAdrian Hunter	  This selects support for ACPI enumerated SDHCI controllers,
89c4e05037SAdrian Hunter	  identified by ACPI Compatibility ID PNP0D40 or specific
90c4e05037SAdrian Hunter	  ACPI Hardware IDs.
91c4e05037SAdrian Hunter
92c4e05037SAdrian Hunter	  If you have a controller with this interface, say Y or M here.
93c4e05037SAdrian Hunter
94c4e05037SAdrian Hunter	  If unsure, say N.
95c4e05037SAdrian Hunter
96f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
97f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
9838576af1SShawn Guo	depends on MMC_SDHCI
99f0de8369SShawn Guo	help
100f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
101f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
102f0de8369SShawn Guo
103f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
104f0de8369SShawn Guo
105f0de8369SShawn Guo	  If unsure, say N.
106f0de8369SShawn Guo
107f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
108f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
109f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
110236cdc7bSRob Herring	depends on PPC_OF
1117657c3a7SAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1127657c3a7SAlbert Herranz	help
1137657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1143085e9c1SAnton Vorontsov
115f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
116f0de8369SShawn Guo
1173085e9c1SAnton Vorontsov	  If unsure, say N.
1183085e9c1SAnton Vorontsov
1191144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
120f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
121f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
122236cdc7bSRob Herring	depends on PPC_OF
1231144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1241144ab5dSAlbert Herranz	help
1251144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1261144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1271144ab5dSAlbert Herranz	  console.
1281144ab5dSAlbert Herranz
129f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
130f0de8369SShawn Guo
1311144ab5dSAlbert Herranz	  If unsure, say N.
1321144ab5dSAlbert Herranz
13320b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
13485d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
13520b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
136f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
13720b1597bSAnton Vorontsov	help
13820b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
13920b1597bSAnton Vorontsov
140f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
141f0de8369SShawn Guo
14220b1597bSAnton Vorontsov	  If unsure, say N.
14320b1597bSAnton Vorontsov
14495f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
14595a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
1462b795518SSascha Hauer	depends on ARCH_MXC
147f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
14895f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
14995f25efeSWolfram Sang	help
15095a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
15195a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
15295f25efeSWolfram Sang
153f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
154f0de8369SShawn Guo
15595f25efeSWolfram Sang	  If unsure, say N.
15695f25efeSWolfram Sang
157985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
15885d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
159985b1aa0SMike Rapoport	depends on ARCH_DOVE
160f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
161985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
162985b1aa0SMike Rapoport	help
163985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
164985b1aa0SMike Rapoport	  Marvell's Dove SoC.
165985b1aa0SMike Rapoport
166f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
167f0de8369SShawn Guo
168985b1aa0SMike Rapoport	  If unsure, say N.
169985b1aa0SMike Rapoport
17003d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
17185d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
17285d6509dSShawn Guo	depends on ARCH_TEGRA
173f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
17403d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
17503d2bfc8SOlof Johansson	help
17603d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
17703d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
17803d2bfc8SOlof Johansson
17903d2bfc8SOlof Johansson	  If unsure, say N.
18003d2bfc8SOlof Johansson
1810d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
1820d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
183930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
1840d1bb41aSBen Dooks	help
1850d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
1860d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
1870d1bb41aSBen Dooks	  range of SoC.
1880d1bb41aSBen Dooks
1890d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
1900d1bb41aSBen Dooks
1910d1bb41aSBen Dooks	  If unsure, say N.
1920d1bb41aSBen Dooks
193b3b665b0SBarry Songconfig MMC_SDHCI_SIRF
194b3b665b0SBarry Song	tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
195b3b665b0SBarry Song	depends on ARCH_SIRF
196b3b665b0SBarry Song	depends on MMC_SDHCI_PLTFM
197b3b665b0SBarry Song	help
198b3b665b0SBarry Song	  This selects the SDHCI support for SiRF System-on-Chip devices.
199b3b665b0SBarry Song
200b3b665b0SBarry Song	  If you have a controller with this interface, say Y or M here.
201b3b665b0SBarry Song
202b3b665b0SBarry Song	  If unsure, say N.
203b3b665b0SBarry Song
204a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
205a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
206a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
207a702c8abSZhangfei Gao	select MMC_SDHCI
208a702c8abSZhangfei Gao	select MMC_SDHCI_PLTFM
209a702c8abSZhangfei Gao	default CPU_MMP2
210a702c8abSZhangfei Gao	help
211a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
212a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
213a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
214a702c8abSZhangfei Gao
215a702c8abSZhangfei Gao	  If unsure, say N.
216a702c8abSZhangfei Gao
2179f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
2189f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
2199f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2209f5d71e4SZhangfei Gao	select MMC_SDHCI
2219f5d71e4SZhangfei Gao	select MMC_SDHCI_PLTFM
2229f5d71e4SZhangfei Gao	default CPU_PXA910
2239f5d71e4SZhangfei Gao	help
2249f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2259f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2269f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2279f5d71e4SZhangfei Gao
2289f5d71e4SZhangfei Gao	  If unsure, say N.
2299f5d71e4SZhangfei Gao
230c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
231c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
232c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
233c63b3cbaSViresh KUMAR	help
234c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
235c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
236c63b3cbaSViresh KUMAR	  of SoC
237c63b3cbaSViresh KUMAR
238c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
239c63b3cbaSViresh KUMAR
240c63b3cbaSViresh KUMAR	  If unsure, say N.
241c63b3cbaSViresh KUMAR
2420d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
2430d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
24486147c84SKees Cook	depends on MMC_SDHCI_S3C
2450d1bb41aSBen Dooks	help
2460d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
2470d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
2480d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
2490d1bb41aSBen Dooks
2500d1bb41aSBen Dooks	  YMMV.
2510d1bb41aSBen Dooks
25201ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
25301ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
25401ebea1bSChristian Daudt	depends on ARCH_BCM
25501ebea1bSChristian Daudt	select MMC_SDHCI_PLTFM
25601ebea1bSChristian Daudt	help
25701ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
25801ebea1bSChristian Daudt	  Interface(SDHCI) support.
25901ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
26001ebea1bSChristian Daudt
26101ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
26201ebea1bSChristian Daudt
2631a94715dSStephen Warrenconfig MMC_SDHCI_BCM2835
2641a94715dSStephen Warren	tristate "SDHCI platform support for the BCM2835 SD/MMC Controller"
2651a94715dSStephen Warren	depends on ARCH_BCM2835
2661a94715dSStephen Warren	depends on MMC_SDHCI_PLTFM
2671a94715dSStephen Warren	select MMC_SDHCI_IO_ACCESSORS
2681a94715dSStephen Warren	help
2691a94715dSStephen Warren	  This selects the BCM2835 SD/MMC controller. If you have a BCM2835
2701a94715dSStephen Warren	  platform with SD or MMC devices, say Y or M here.
2711a94715dSStephen Warren
2721a94715dSStephen Warren	  If unsure, say N.
2731a94715dSStephen Warren
2741c6a0718SPierre Ossmanconfig MMC_OMAP
2751c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
276790864dcSJan Engelhardt	depends on ARCH_OMAP
2771c6a0718SPierre Ossman	select TPS65010 if MACH_OMAP_H2
2781c6a0718SPierre Ossman	help
2791c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
2801c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
2811c6a0718SPierre Ossman	  say Y or M here.
2821c6a0718SPierre Ossman
2831c6a0718SPierre Ossman	  If unsure, say N.
2841c6a0718SPierre Ossman
285a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
286a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
287bcf24e1dSAmarinder Bindra	depends on ARCH_OMAP2PLUS || COMPILE_TEST
288a45c6cb8SMadhusudhan Chikkature	help
289a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
290bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
291bcf24e1dSAmarinder Bindra	  say Y or M here.
292a45c6cb8SMadhusudhan Chikkature
293a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
294a45c6cb8SMadhusudhan Chikkature
2951c6a0718SPierre Ossmanconfig MMC_WBSD
2961c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
297790864dcSJan Engelhardt	depends on ISA_DMA_API
2981c6a0718SPierre Ossman	help
2991c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
3001c6a0718SPierre Ossman          Multimedia card Interface.
3011c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
3021c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
3031c6a0718SPierre Ossman
3041c6a0718SPierre Ossman	  If unsure, say N.
3051c6a0718SPierre Ossman
3061c6a0718SPierre Ossmanconfig MMC_AU1X
3071c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
30837663860SManuel Lauss	depends on MIPS_ALCHEMY
3091c6a0718SPierre Ossman	help
3101c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
3111c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
3121c6a0718SPierre Ossman
3131c6a0718SPierre Ossman	  If unsure, say N.
3141c6a0718SPierre Ossman
3157d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
316d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
31704d699c3SRob Emanuele	depends on AVR32 || ARCH_AT91
3187d2be074SHaavard Skinnemoen	help
3197d2be074SHaavard Skinnemoen	  This selects the Atmel Multimedia Card Interface driver. If
32004d699c3SRob Emanuele	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
32104d699c3SRob Emanuele	  Card slot, say Y or M here.
3227d2be074SHaavard Skinnemoen
3237d2be074SHaavard Skinnemoen	  If unsure, say N.
3247d2be074SHaavard Skinnemoen
325eba3f137SSahitya Tummalaconfig MMC_MSM
326eba3f137SSahitya Tummala	tristate "Qualcomm SDCC Controller Support"
32767d55cecSStephen Boyd	depends on MMC && (ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50)
3289d2bd738SSan Mehat	help
3299d2bd738SSan Mehat	  This provides support for the SD/MMC cell found in the
330eba3f137SSahitya Tummala	  MSM and QSD SOCs from Qualcomm. The controller also has
331eba3f137SSahitya Tummala	  support for SDIO devices.
3329d2bd738SSan Mehat
333d96be879SSascha Hauerconfig MMC_MXC
334c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
335c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
336d96be879SSascha Hauer	help
337c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
338c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
339c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
340d96be879SSascha Hauer
341d96be879SSascha Hauer	  If unsure, say N.
342d96be879SSascha Hauer
343e4243f13SShawn Guoconfig MMC_MXS
344e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
345e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
346e4243f13SShawn Guo	help
347e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
348e4243f13SShawn Guo	  platforms like mx23/28.
349e4243f13SShawn Guo
350e4243f13SShawn Guo	  If unsure, say N.
351e4243f13SShawn Guo
3521c6a0718SPierre Ossmanconfig MMC_TIFM_SD
35386147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
35486147c84SKees Cook	depends on PCI
3551c6a0718SPierre Ossman	select TIFM_CORE
3561c6a0718SPierre Ossman	help
3571c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
3581c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
3591c6a0718SPierre Ossman	  laptops.
3601c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
3611c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
3621c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
3631c6a0718SPierre Ossman	  (TIFM_7XX1)'.
3641c6a0718SPierre Ossman
3651c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
3661c6a0718SPierre Ossman	  module will be called tifm_sd.
3671c6a0718SPierre Ossman
368236caa7cSMaen Suleimanconfig MMC_MVSDIO
369236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
370236caa7cSMaen Suleiman	depends on PLAT_ORION
371236caa7cSMaen Suleiman	---help---
372236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
373236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
374236caa7cSMaen Suleiman	  SoC controllers.
375236caa7cSMaen Suleiman
376236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
377236caa7cSMaen Suleiman	  module will be called mvsdio.
378236caa7cSMaen Suleiman
379b4cff454SVipin Bhandariconfig MMC_DAVINCI
380b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
381b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
382b4cff454SVipin Bhandari        help
383b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
384b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
385b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
386b4cff454SVipin Bhandari
38785c34d2eSMike Lockwoodconfig MMC_GOLDFISH
38885c34d2eSMike Lockwood	tristate "goldfish qemu Multimedia Card Interface support"
38985c34d2eSMike Lockwood	depends on GOLDFISH
39085c34d2eSMike Lockwood	help
39185c34d2eSMike Lockwood	  This selects the Goldfish Multimedia card Interface emulation
39285c34d2eSMike Lockwood	  found on the Goldfish Android virtual device emulation.
39385c34d2eSMike Lockwood
39415a0580cSDavid Brownellconfig MMC_SPI
39557105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
3961ea4f444SPierre Ossman	depends on SPI_MASTER && !HIGHMEM && HAS_DMA
39715a0580cSDavid Brownell	select CRC7
39815a0580cSDavid Brownell	select CRC_ITU_T
39915a0580cSDavid Brownell	help
400692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
40157105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
40257105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
40357105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
40457105737SPierre Ossman	  controllers.
40515a0580cSDavid Brownell
40615a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
40715a0580cSDavid Brownell
408be518018SThomas Kleffelconfig MMC_S3C
409be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
410b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
411be518018SThomas Kleffel	help
412be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
413be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
414be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
415be518018SThomas Kleffel	  slot, say Y or M here.
416be518018SThomas Kleffel
417be518018SThomas Kleffel	  If unsure, say N.
418be518018SThomas Kleffel
4195a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
4205a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
4215a2c4fe0SBen Dooks       depends on MMC_S3C
4225a2c4fe0SBen Dooks       help
4235a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
4245a2c4fe0SBen Dooks	 the generic polling code.
4255a2c4fe0SBen Dooks
42626f14947SBen Dookschoice
42726f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
42826f14947SBen Dooks	depends on MMC_S3C
42926f14947SBen Dooks
43026f14947SBen Dooksconfig MMC_S3C_PIO
43126f14947SBen Dooks	bool "Use PIO transfers only"
43226f14947SBen Dooks	help
43326f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
43426f14947SBen Dooks
43526f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
43626f14947SBen Dooks	  move the data. This has been the traditional default for
43726f14947SBen Dooks	  the S3C MCI driver.
43826f14947SBen Dooks
43926f14947SBen Dooksconfig MMC_S3C_DMA
44086147c84SKees Cook	bool "Use DMA transfers only"
44126f14947SBen Dooks	help
44226f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
44326f14947SBen Dooks
44426f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
44526f14947SBen Dooks	  working properly and needs to be debugged before this
44626f14947SBen Dooks	  option is useful.
44726f14947SBen Dooks
44826f14947SBen Dooksconfig MMC_S3C_PIODMA
44986147c84SKees Cook	bool "Support for both PIO and DMA"
45026f14947SBen Dooks	help
45126f14947SBen Dooks	  Compile both the PIO and DMA transfer routines into the
45226f14947SBen Dooks	  driver and let the platform select at run-time which one
45326f14947SBen Dooks	  is best.
45426f14947SBen Dooks
45526f14947SBen Dooks	  See notes for the DMA option.
45626f14947SBen Dooks
45726f14947SBen Dooksendchoice
45826f14947SBen Dooks
4596a36913aSSascha Sommerconfig MMC_SDRICOH_CS
46086147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
46186147c84SKees Cook	depends on PCI && PCMCIA
4626a36913aSSascha Sommer	help
4636a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
4646a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
4656a36913aSSascha Sommer
4666a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
4676a36913aSSascha Sommer	  module will be called sdricoh_cs.
4686a36913aSSascha Sommer
469b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
470b6147490SGuennadi Liakhovetski	tristate
471b6147490SGuennadi Liakhovetski
4724a48998fSIan Moltonconfig MMC_TMIO
4734a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
47442051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
475b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
4764a48998fSIan Molton	help
4774a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
478e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
4795f5bac82SMichał Mirosław
48042051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
48142051e8aSGuennadi Liakhovetski	tristate "SH-Mobile SDHI SD/SDIO controller support"
482022b4835SGuennadi Liakhovetski	depends on SUPERH || ARCH_SHMOBILE
48342051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
48442051e8aSGuennadi Liakhovetski	help
48542051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
48642051e8aSGuennadi Liakhovetski	  SuperH and ARM SH-Mobile SoCs
48742051e8aSGuennadi Liakhovetski
4885f5bac82SMichał Mirosławconfig MMC_CB710
4895f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
4900244ad00SMartin Schwidefsky	depends on PCI
4915f5bac82SMichał Mirosław	select CB710_CORE
4925f5bac82SMichał Mirosław	help
4935f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
4945f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
4955f5bac82SMichał Mirosław	  HP Compaq nx9500).
4965f5bac82SMichał Mirosław
4975f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
4985f5bac82SMichał Mirosław	  will be called cb710-mmc.
4995f5bac82SMichał Mirosław
500f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
501f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
502f0bf7f61SHarald Welte	depends on PCI
503f0bf7f61SHarald Welte	help
504f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
505f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
506f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
507f0bf7f61SHarald Welte	  SD/MMC/SDHC.
508f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
509f0bf7f61SHarald Welte
510f0bf7f61SHarald Welte	  If unsure, say N.
511eb962d5bSCliff Cai
512eb962d5bSCliff Caiconfig SDH_BFIN
513eb962d5bSCliff Cai	tristate "Blackfin Secure Digital Host support"
51405dabcc4SMike Frysinger	depends on (BF54x && !BF544) || (BF51x && !BF512)
515eb962d5bSCliff Cai	help
516eb962d5bSCliff Cai	  If you say yes here you will get support for the Blackfin on-chip
517eb962d5bSCliff Cai	  Secure Digital Host interface.  This includes support for MMC and
518eb962d5bSCliff Cai	  SD cards.
519eb962d5bSCliff Cai
520eb962d5bSCliff Cai	  To compile this driver as a module, choose M here: the
521eb962d5bSCliff Cai	  module will be called bfin_sdh.
522eb962d5bSCliff Cai
523eb962d5bSCliff Cai	  If unsure, say N.
524eb962d5bSCliff Cai
525eb962d5bSCliff Caiconfig SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
526eb962d5bSCliff Cai	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
527eb962d5bSCliff Cai	depends on SDH_BFIN
528eb962d5bSCliff Cai	help
529eb962d5bSCliff Cai	  If you say yes here SD-Cards may work on the EZkit.
530fdc50a94SYusuke Goda
531f95f3850SWill Newtonconfig MMC_DW
532f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
533b7d06c85SMischa Jonker	depends on ARC || ARM
534f95f3850SWill Newton	help
535f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
536f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
537f95f3850SWill Newton	  PIO and external DMA modes.
538f95f3850SWill Newton
539f95f3850SWill Newtonconfig MMC_DW_IDMAC
540f95f3850SWill Newton	bool "Internal DMAC interface"
541f95f3850SWill Newton	depends on MMC_DW
542f95f3850SWill Newton	help
543f95f3850SWill Newton	  This selects support for the internal DMAC block within the Synopsys
544f95f3850SWill Newton	  Designware Mobile Storage IP block. This disables the external DMA
545f95f3850SWill Newton	  interface.
546f95f3850SWill Newton
54762ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
54862ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
54962ca8034SShashidhar Hiremath	depends on MMC_DW
55062ca8034SShashidhar Hiremath	default y
55162ca8034SShashidhar Hiremath	help
55262ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
55362ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
55462ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
55562ca8034SShashidhar Hiremath	  Synopsys Designware IP.
55662ca8034SShashidhar Hiremath
55762ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
55862ca8034SShashidhar Hiremath
55962ca8034SShashidhar Hiremath	  If unsure, say Y.
56062ca8034SShashidhar Hiremath
561c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
562e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
563c3665006SThomas Abraham	depends on MMC_DW
564c3665006SThomas Abraham	select MMC_DW_PLTFM
565c3665006SThomas Abraham	help
566c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
567c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
568c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
569c3665006SThomas Abraham
570eede2111SDinh Nguyenconfig MMC_DW_SOCFPGA
571eede2111SDinh Nguyen	tristate "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
572e33c2025SJingoo Han	depends on MMC_DW && MFD_SYSCON
573eede2111SDinh Nguyen	select MMC_DW_PLTFM
574eede2111SDinh Nguyen	help
575eede2111SDinh Nguyen	  This selects support for Altera SoCFPGA specific extensions to the
576eede2111SDinh Nguyen	  Synopsys DesignWare Memory Card Interface driver.
577eede2111SDinh Nguyen
57862ca8034SShashidhar Hiremathconfig MMC_DW_PCI
57962ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
58062ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
58162ca8034SShashidhar Hiremath	help
58262ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
58362ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
58462ca8034SShashidhar Hiremath
58562ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
58662ca8034SShashidhar Hiremath
58762ca8034SShashidhar Hiremath	  If unsure, say N.
58862ca8034SShashidhar Hiremath
589fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
590fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
591fdc50a94SYusuke Goda	depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
592fdc50a94SYusuke Goda	help
593b595076aSUwe Kleine-König	  This selects the MMC Host Interface controller (MMCIF).
594fdc50a94SYusuke Goda
595fdc50a94SYusuke Goda	  This driver supports MMCIF in sh7724/sh7757/sh7372.
59661bfbdb8SLars-Peter Clausen
59761bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
59861bfbdb8SLars-Peter Clausen	tristate "JZ4740 SD/Multimedia Card Interface support"
59961bfbdb8SLars-Peter Clausen	depends on MACH_JZ4740
60061bfbdb8SLars-Peter Clausen	help
60161bfbdb8SLars-Peter Clausen	  This selects support for the SD/MMC controller on Ingenic JZ4740
60261bfbdb8SLars-Peter Clausen	  SoCs.
60361bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
60461bfbdb8SLars-Peter Clausen	  say Y or M here.
60553f3a9e2SDavid Vrabel
60688095e7bSTony Olechconfig MMC_VUB300
60788095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
60888095e7bSTony Olech	depends on USB
60988095e7bSTony Olech	help
61088095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
61188095e7bSTony Olech
61288095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
61388095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
61488095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
61588095e7bSTony Olech
61688095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
61788095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
61888095e7bSTony Olech
61988095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
62088095e7bSTony Olech	  to single and multifunction SDIO cards.
62188095e7bSTony Olech
62288095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
62388095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
62488095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
62588095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
62688095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
62788095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
62888095e7bSTony Olech	  the best obtainable data rate.
62988095e7bSTony Olech
63088095e7bSTony Olech	  To compile this mmc host controller driver as a module,
63188095e7bSTony Olech	  choose M here: the module will be called vub300.
63288095e7bSTony Olech
63388095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
63488095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
63588095e7bSTony Olech	  VUB300 chip say Y or M here.
63688095e7bSTony Olech
63753f3a9e2SDavid Vrabelconfig MMC_USHC
63853f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
63953f3a9e2SDavid Vrabel	depends on USB
64053f3a9e2SDavid Vrabel	help
64153f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
64253f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
64353f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
64453f3a9e2SDavid Vrabel
64553f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
64653f3a9e2SDavid Vrabel	  and Ultrasira.
64753f3a9e2SDavid Vrabel
64853f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
64953f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
6503a96dff0STony Prisk
6513a96dff0STony Priskconfig MMC_WMT
6523a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
6533a96dff0STony Prisk	depends on ARCH_VT8500
6543a96dff0STony Prisk	default y
6553a96dff0STony Prisk	help
6563a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
6573a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
6583a96dff0STony Prisk
6593a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
6603a96dff0STony Prisk	  module will be called wmt-sdmmc.
6616a5971d8SLinus Torvalds
6622c94b645SWei WANGconfig MMC_REALTEK_PCI
6632c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
6642c94b645SWei WANG	depends on MFD_RTSX_PCI
6652c94b645SWei WANG	help
6662c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
6672c94b645SWei WANG	  of Realtek PCI-E card reader
668