xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision fc2bd2e4)
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
107e3ec3a3dSSoren Brinkmannconfig MMC_SDHCI_OF_ARASAN
108e3ec3a3dSSoren Brinkmann	tristate "SDHCI OF support for the Arasan SDHCI controllers"
109e3ec3a3dSSoren Brinkmann	depends on MMC_SDHCI_PLTFM
110e3ec3a3dSSoren Brinkmann	depends on OF
111e3ec3a3dSSoren Brinkmann	help
112e3ec3a3dSSoren Brinkmann	  This selects the Arasan Secure Digital Host Controller Interface
113e3ec3a3dSSoren Brinkmann	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
114e3ec3a3dSSoren Brinkmann
115e3ec3a3dSSoren Brinkmann	  If you have a controller with this interface, say Y or M here.
116e3ec3a3dSSoren Brinkmann
117e3ec3a3dSSoren Brinkmann	  If unsure, say N.
118e3ec3a3dSSoren Brinkmann
119f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
120f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
121f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
122236cdc7bSRob Herring	depends on PPC_OF
1237657c3a7SAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1247657c3a7SAlbert Herranz	help
1257657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1263085e9c1SAnton Vorontsov
127f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
128f0de8369SShawn Guo
1293085e9c1SAnton Vorontsov	  If unsure, say N.
1303085e9c1SAnton Vorontsov
1311144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
132f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
133f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
134236cdc7bSRob Herring	depends on PPC_OF
1351144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1361144ab5dSAlbert Herranz	help
1371144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1381144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1391144ab5dSAlbert Herranz	  console.
1401144ab5dSAlbert Herranz
141f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
142f0de8369SShawn Guo
1431144ab5dSAlbert Herranz	  If unsure, say N.
1441144ab5dSAlbert Herranz
14520b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
14685d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
14720b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
148f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
14920b1597bSAnton Vorontsov	help
15020b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
15120b1597bSAnton Vorontsov
152f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
153f0de8369SShawn Guo
15420b1597bSAnton Vorontsov	  If unsure, say N.
15520b1597bSAnton Vorontsov
15695f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
15795a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
1582b795518SSascha Hauer	depends on ARCH_MXC
159f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
16095f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
16195f25efeSWolfram Sang	help
16295a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
16395a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
16495f25efeSWolfram Sang
165f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
166f0de8369SShawn Guo
16795f25efeSWolfram Sang	  If unsure, say N.
16895f25efeSWolfram Sang
169985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
17085d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
171985b1aa0SMike Rapoport	depends on ARCH_DOVE
172f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
173985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
174985b1aa0SMike Rapoport	help
175985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
176985b1aa0SMike Rapoport	  Marvell's Dove SoC.
177985b1aa0SMike Rapoport
178f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
179f0de8369SShawn Guo
180985b1aa0SMike Rapoport	  If unsure, say N.
181985b1aa0SMike Rapoport
18203d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
18385d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
18485d6509dSShawn Guo	depends on ARCH_TEGRA
185f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
18603d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
18703d2bfc8SOlof Johansson	help
18803d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
18903d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
19003d2bfc8SOlof Johansson
19103d2bfc8SOlof Johansson	  If unsure, say N.
19203d2bfc8SOlof Johansson
1930d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
1940d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
195930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
1960d1bb41aSBen Dooks	help
1970d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
1980d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
1990d1bb41aSBen Dooks	  range of SoC.
2000d1bb41aSBen Dooks
2010d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
2020d1bb41aSBen Dooks
2030d1bb41aSBen Dooks	  If unsure, say N.
2040d1bb41aSBen Dooks
205b3b665b0SBarry Songconfig MMC_SDHCI_SIRF
206b3b665b0SBarry Song	tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
207b3b665b0SBarry Song	depends on ARCH_SIRF
208b3b665b0SBarry Song	depends on MMC_SDHCI_PLTFM
209b3b665b0SBarry Song	help
210b3b665b0SBarry Song	  This selects the SDHCI support for SiRF System-on-Chip devices.
211b3b665b0SBarry Song
212b3b665b0SBarry Song	  If you have a controller with this interface, say Y or M here.
213b3b665b0SBarry Song
214b3b665b0SBarry Song	  If unsure, say N.
215b3b665b0SBarry Song
216a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
217a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
218a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
219a702c8abSZhangfei Gao	select MMC_SDHCI
220a702c8abSZhangfei Gao	select MMC_SDHCI_PLTFM
221a702c8abSZhangfei Gao	default CPU_MMP2
222a702c8abSZhangfei Gao	help
223a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
224a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
225a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
226a702c8abSZhangfei Gao
227a702c8abSZhangfei Gao	  If unsure, say N.
228a702c8abSZhangfei Gao
2299f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
2309f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
2319f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2329f5d71e4SZhangfei Gao	select MMC_SDHCI
2339f5d71e4SZhangfei Gao	select MMC_SDHCI_PLTFM
2349f5d71e4SZhangfei Gao	default CPU_PXA910
2359f5d71e4SZhangfei Gao	help
2369f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2379f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2389f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2399f5d71e4SZhangfei Gao
2409f5d71e4SZhangfei Gao	  If unsure, say N.
2419f5d71e4SZhangfei Gao
242c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
243c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
244c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
245c63b3cbaSViresh KUMAR	help
246c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
247c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
248c63b3cbaSViresh KUMAR	  of SoC
249c63b3cbaSViresh KUMAR
250c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
251c63b3cbaSViresh KUMAR
252c63b3cbaSViresh KUMAR	  If unsure, say N.
253c63b3cbaSViresh KUMAR
2540d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
2550d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
25686147c84SKees Cook	depends on MMC_SDHCI_S3C
2570d1bb41aSBen Dooks	help
2580d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
2590d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
2600d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
2610d1bb41aSBen Dooks
2620d1bb41aSBen Dooks	  YMMV.
2630d1bb41aSBen Dooks
26401ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
26501ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
266fc2bd2e4SChristian Daudt	depends on ARCH_BCM_MOBILE
26701ebea1bSChristian Daudt	select MMC_SDHCI_PLTFM
26801ebea1bSChristian Daudt	help
26901ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
27001ebea1bSChristian Daudt	  Interface(SDHCI) support.
27101ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
27201ebea1bSChristian Daudt
27301ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
27401ebea1bSChristian Daudt
2751a94715dSStephen Warrenconfig MMC_SDHCI_BCM2835
2761a94715dSStephen Warren	tristate "SDHCI platform support for the BCM2835 SD/MMC Controller"
2771a94715dSStephen Warren	depends on ARCH_BCM2835
2781a94715dSStephen Warren	depends on MMC_SDHCI_PLTFM
2791a94715dSStephen Warren	select MMC_SDHCI_IO_ACCESSORS
2801a94715dSStephen Warren	help
2811a94715dSStephen Warren	  This selects the BCM2835 SD/MMC controller. If you have a BCM2835
2821a94715dSStephen Warren	  platform with SD or MMC devices, say Y or M here.
2831a94715dSStephen Warren
2841a94715dSStephen Warren	  If unsure, say N.
2851a94715dSStephen Warren
2861c6a0718SPierre Ossmanconfig MMC_OMAP
2871c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
288790864dcSJan Engelhardt	depends on ARCH_OMAP
2891c6a0718SPierre Ossman	select TPS65010 if MACH_OMAP_H2
2901c6a0718SPierre Ossman	help
2911c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
2921c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
2931c6a0718SPierre Ossman	  say Y or M here.
2941c6a0718SPierre Ossman
2951c6a0718SPierre Ossman	  If unsure, say N.
2961c6a0718SPierre Ossman
297a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
298a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
299bcf24e1dSAmarinder Bindra	depends on ARCH_OMAP2PLUS || COMPILE_TEST
300a45c6cb8SMadhusudhan Chikkature	help
301a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
302bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
303bcf24e1dSAmarinder Bindra	  say Y or M here.
304a45c6cb8SMadhusudhan Chikkature
305a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
306a45c6cb8SMadhusudhan Chikkature
3071c6a0718SPierre Ossmanconfig MMC_WBSD
3081c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
309790864dcSJan Engelhardt	depends on ISA_DMA_API
3101c6a0718SPierre Ossman	help
3111c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
3121c6a0718SPierre Ossman          Multimedia card Interface.
3131c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
3141c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
3151c6a0718SPierre Ossman
3161c6a0718SPierre Ossman	  If unsure, say N.
3171c6a0718SPierre Ossman
3181c6a0718SPierre Ossmanconfig MMC_AU1X
3191c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
32037663860SManuel Lauss	depends on MIPS_ALCHEMY
3211c6a0718SPierre Ossman	help
3221c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
3231c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
3241c6a0718SPierre Ossman
3251c6a0718SPierre Ossman	  If unsure, say N.
3261c6a0718SPierre Ossman
3277d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
328d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
32904d699c3SRob Emanuele	depends on AVR32 || ARCH_AT91
3307d2be074SHaavard Skinnemoen	help
3317d2be074SHaavard Skinnemoen	  This selects the Atmel Multimedia Card Interface driver. If
33204d699c3SRob Emanuele	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
33304d699c3SRob Emanuele	  Card slot, say Y or M here.
3347d2be074SHaavard Skinnemoen
3357d2be074SHaavard Skinnemoen	  If unsure, say N.
3367d2be074SHaavard Skinnemoen
337eba3f137SSahitya Tummalaconfig MMC_MSM
338eba3f137SSahitya Tummala	tristate "Qualcomm SDCC Controller Support"
33967d55cecSStephen Boyd	depends on MMC && (ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50)
3409d2bd738SSan Mehat	help
3419d2bd738SSan Mehat	  This provides support for the SD/MMC cell found in the
342eba3f137SSahitya Tummala	  MSM and QSD SOCs from Qualcomm. The controller also has
343eba3f137SSahitya Tummala	  support for SDIO devices.
3449d2bd738SSan Mehat
345d96be879SSascha Hauerconfig MMC_MXC
346c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
347c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
348d96be879SSascha Hauer	help
349c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
350c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
351c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
352d96be879SSascha Hauer
353d96be879SSascha Hauer	  If unsure, say N.
354d96be879SSascha Hauer
355e4243f13SShawn Guoconfig MMC_MXS
356e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
357e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
358e4243f13SShawn Guo	help
359e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
360e4243f13SShawn Guo	  platforms like mx23/28.
361e4243f13SShawn Guo
362e4243f13SShawn Guo	  If unsure, say N.
363e4243f13SShawn Guo
3641c6a0718SPierre Ossmanconfig MMC_TIFM_SD
36586147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
36686147c84SKees Cook	depends on PCI
3671c6a0718SPierre Ossman	select TIFM_CORE
3681c6a0718SPierre Ossman	help
3691c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
3701c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
3711c6a0718SPierre Ossman	  laptops.
3721c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
3731c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
3741c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
3751c6a0718SPierre Ossman	  (TIFM_7XX1)'.
3761c6a0718SPierre Ossman
3771c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
3781c6a0718SPierre Ossman	  module will be called tifm_sd.
3791c6a0718SPierre Ossman
380236caa7cSMaen Suleimanconfig MMC_MVSDIO
381236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
382236caa7cSMaen Suleiman	depends on PLAT_ORION
383236caa7cSMaen Suleiman	---help---
384236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
385236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
386236caa7cSMaen Suleiman	  SoC controllers.
387236caa7cSMaen Suleiman
388236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
389236caa7cSMaen Suleiman	  module will be called mvsdio.
390236caa7cSMaen Suleiman
391b4cff454SVipin Bhandariconfig MMC_DAVINCI
392b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
393b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
394b4cff454SVipin Bhandari        help
395b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
396b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
397b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
398b4cff454SVipin Bhandari
39985c34d2eSMike Lockwoodconfig MMC_GOLDFISH
40085c34d2eSMike Lockwood	tristate "goldfish qemu Multimedia Card Interface support"
40185c34d2eSMike Lockwood	depends on GOLDFISH
40285c34d2eSMike Lockwood	help
40385c34d2eSMike Lockwood	  This selects the Goldfish Multimedia card Interface emulation
40485c34d2eSMike Lockwood	  found on the Goldfish Android virtual device emulation.
40585c34d2eSMike Lockwood
40615a0580cSDavid Brownellconfig MMC_SPI
40757105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
4081ea4f444SPierre Ossman	depends on SPI_MASTER && !HIGHMEM && HAS_DMA
40915a0580cSDavid Brownell	select CRC7
41015a0580cSDavid Brownell	select CRC_ITU_T
41115a0580cSDavid Brownell	help
412692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
41357105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
41457105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
41557105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
41657105737SPierre Ossman	  controllers.
41715a0580cSDavid Brownell
41815a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
41915a0580cSDavid Brownell
420be518018SThomas Kleffelconfig MMC_S3C
421be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
422b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
423be518018SThomas Kleffel	help
424be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
425be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
426be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
427be518018SThomas Kleffel	  slot, say Y or M here.
428be518018SThomas Kleffel
429be518018SThomas Kleffel	  If unsure, say N.
430be518018SThomas Kleffel
4315a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
4325a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
4335a2c4fe0SBen Dooks       depends on MMC_S3C
4345a2c4fe0SBen Dooks       help
4355a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
4365a2c4fe0SBen Dooks	 the generic polling code.
4375a2c4fe0SBen Dooks
43826f14947SBen Dookschoice
43926f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
44026f14947SBen Dooks	depends on MMC_S3C
44126f14947SBen Dooks
44226f14947SBen Dooksconfig MMC_S3C_PIO
44326f14947SBen Dooks	bool "Use PIO transfers only"
44426f14947SBen Dooks	help
44526f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
44626f14947SBen Dooks
44726f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
44826f14947SBen Dooks	  move the data. This has been the traditional default for
44926f14947SBen Dooks	  the S3C MCI driver.
45026f14947SBen Dooks
45126f14947SBen Dooksconfig MMC_S3C_DMA
45286147c84SKees Cook	bool "Use DMA transfers only"
45326f14947SBen Dooks	help
45426f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
45526f14947SBen Dooks
45626f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
45726f14947SBen Dooks	  working properly and needs to be debugged before this
45826f14947SBen Dooks	  option is useful.
45926f14947SBen Dooks
46026f14947SBen Dooksconfig MMC_S3C_PIODMA
46186147c84SKees Cook	bool "Support for both PIO and DMA"
46226f14947SBen Dooks	help
46326f14947SBen Dooks	  Compile both the PIO and DMA transfer routines into the
46426f14947SBen Dooks	  driver and let the platform select at run-time which one
46526f14947SBen Dooks	  is best.
46626f14947SBen Dooks
46726f14947SBen Dooks	  See notes for the DMA option.
46826f14947SBen Dooks
46926f14947SBen Dooksendchoice
47026f14947SBen Dooks
4716a36913aSSascha Sommerconfig MMC_SDRICOH_CS
47286147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
47386147c84SKees Cook	depends on PCI && PCMCIA
4746a36913aSSascha Sommer	help
4756a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
4766a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
4776a36913aSSascha Sommer
4786a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
4796a36913aSSascha Sommer	  module will be called sdricoh_cs.
4806a36913aSSascha Sommer
481b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
482b6147490SGuennadi Liakhovetski	tristate
483b6147490SGuennadi Liakhovetski
4844a48998fSIan Moltonconfig MMC_TMIO
4854a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
48642051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
487b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
4884a48998fSIan Molton	help
4894a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
490e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
4915f5bac82SMichał Mirosław
49242051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
49342051e8aSGuennadi Liakhovetski	tristate "SH-Mobile SDHI SD/SDIO controller support"
494ff0fa48fSLaurent Pinchart	depends on SUPERH || ARM
495ff0fa48fSLaurent Pinchart	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
49642051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
49742051e8aSGuennadi Liakhovetski	help
49842051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
49942051e8aSGuennadi Liakhovetski	  SuperH and ARM SH-Mobile SoCs
50042051e8aSGuennadi Liakhovetski
5015f5bac82SMichał Mirosławconfig MMC_CB710
5025f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
5030244ad00SMartin Schwidefsky	depends on PCI
5045f5bac82SMichał Mirosław	select CB710_CORE
5055f5bac82SMichał Mirosław	help
5065f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
5075f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
5085f5bac82SMichał Mirosław	  HP Compaq nx9500).
5095f5bac82SMichał Mirosław
5105f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
5115f5bac82SMichał Mirosław	  will be called cb710-mmc.
5125f5bac82SMichał Mirosław
513f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
514f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
515f0bf7f61SHarald Welte	depends on PCI
516f0bf7f61SHarald Welte	help
517f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
518f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
519f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
520f0bf7f61SHarald Welte	  SD/MMC/SDHC.
521f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
522f0bf7f61SHarald Welte
523f0bf7f61SHarald Welte	  If unsure, say N.
524eb962d5bSCliff Cai
525eb962d5bSCliff Caiconfig SDH_BFIN
526eb962d5bSCliff Cai	tristate "Blackfin Secure Digital Host support"
52705dabcc4SMike Frysinger	depends on (BF54x && !BF544) || (BF51x && !BF512)
528eb962d5bSCliff Cai	help
529eb962d5bSCliff Cai	  If you say yes here you will get support for the Blackfin on-chip
530eb962d5bSCliff Cai	  Secure Digital Host interface.  This includes support for MMC and
531eb962d5bSCliff Cai	  SD cards.
532eb962d5bSCliff Cai
533eb962d5bSCliff Cai	  To compile this driver as a module, choose M here: the
534eb962d5bSCliff Cai	  module will be called bfin_sdh.
535eb962d5bSCliff Cai
536eb962d5bSCliff Cai	  If unsure, say N.
537eb962d5bSCliff Cai
538eb962d5bSCliff Caiconfig SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
539eb962d5bSCliff Cai	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
540eb962d5bSCliff Cai	depends on SDH_BFIN
541eb962d5bSCliff Cai	help
542eb962d5bSCliff Cai	  If you say yes here SD-Cards may work on the EZkit.
543fdc50a94SYusuke Goda
544f95f3850SWill Newtonconfig MMC_DW
545f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
546b7d06c85SMischa Jonker	depends on ARC || ARM
547f95f3850SWill Newton	help
548f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
549f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
550f95f3850SWill Newton	  PIO and external DMA modes.
551f95f3850SWill Newton
552f95f3850SWill Newtonconfig MMC_DW_IDMAC
553f95f3850SWill Newton	bool "Internal DMAC interface"
554f95f3850SWill Newton	depends on MMC_DW
555f95f3850SWill Newton	help
556f95f3850SWill Newton	  This selects support for the internal DMAC block within the Synopsys
557f95f3850SWill Newton	  Designware Mobile Storage IP block. This disables the external DMA
558f95f3850SWill Newton	  interface.
559f95f3850SWill Newton
56062ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
56162ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
56262ca8034SShashidhar Hiremath	depends on MMC_DW
56362ca8034SShashidhar Hiremath	default y
56462ca8034SShashidhar Hiremath	help
56562ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
56662ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
56762ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
56862ca8034SShashidhar Hiremath	  Synopsys Designware IP.
56962ca8034SShashidhar Hiremath
57062ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
57162ca8034SShashidhar Hiremath
57262ca8034SShashidhar Hiremath	  If unsure, say Y.
57362ca8034SShashidhar Hiremath
574c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
575e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
576c3665006SThomas Abraham	depends on MMC_DW
577c3665006SThomas Abraham	select MMC_DW_PLTFM
578c3665006SThomas Abraham	help
579c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
580c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
581c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
582c3665006SThomas Abraham
583036f29d5SZhangfei Gaoconfig MMC_DW_K3
584036f29d5SZhangfei Gao	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
585036f29d5SZhangfei Gao	depends on MMC_DW
586036f29d5SZhangfei Gao	select MMC_DW_PLTFM
587036f29d5SZhangfei Gao	select MMC_DW_IDMAC
588036f29d5SZhangfei Gao	help
589036f29d5SZhangfei Gao	  This selects support for Hisilicon K3 SoC specific extensions to the
590036f29d5SZhangfei Gao	  Synopsys DesignWare Memory Card Interface driver. Select this option
591036f29d5SZhangfei Gao	  for platforms based on Hisilicon K3 SoC's.
592036f29d5SZhangfei Gao
59362ca8034SShashidhar Hiremathconfig MMC_DW_PCI
59462ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
59562ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
59662ca8034SShashidhar Hiremath	help
59762ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
59862ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
59962ca8034SShashidhar Hiremath
60062ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
60162ca8034SShashidhar Hiremath
60262ca8034SShashidhar Hiremath	  If unsure, say N.
60362ca8034SShashidhar Hiremath
604fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
605fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
6069ccb0bd0SLaurent Pinchart	depends on MMC_BLOCK
6079ccb0bd0SLaurent Pinchart	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
608fdc50a94SYusuke Goda	help
609b595076aSUwe Kleine-König	  This selects the MMC Host Interface controller (MMCIF).
610fdc50a94SYusuke Goda
611fdc50a94SYusuke Goda	  This driver supports MMCIF in sh7724/sh7757/sh7372.
61261bfbdb8SLars-Peter Clausen
61361bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
61461bfbdb8SLars-Peter Clausen	tristate "JZ4740 SD/Multimedia Card Interface support"
61561bfbdb8SLars-Peter Clausen	depends on MACH_JZ4740
61661bfbdb8SLars-Peter Clausen	help
61761bfbdb8SLars-Peter Clausen	  This selects support for the SD/MMC controller on Ingenic JZ4740
61861bfbdb8SLars-Peter Clausen	  SoCs.
61961bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
62061bfbdb8SLars-Peter Clausen	  say Y or M here.
62153f3a9e2SDavid Vrabel
62288095e7bSTony Olechconfig MMC_VUB300
62388095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
62488095e7bSTony Olech	depends on USB
62588095e7bSTony Olech	help
62688095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
62788095e7bSTony Olech
62888095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
62988095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
63088095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
63188095e7bSTony Olech
63288095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
63388095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
63488095e7bSTony Olech
63588095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
63688095e7bSTony Olech	  to single and multifunction SDIO cards.
63788095e7bSTony Olech
63888095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
63988095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
64088095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
64188095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
64288095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
64388095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
64488095e7bSTony Olech	  the best obtainable data rate.
64588095e7bSTony Olech
64688095e7bSTony Olech	  To compile this mmc host controller driver as a module,
64788095e7bSTony Olech	  choose M here: the module will be called vub300.
64888095e7bSTony Olech
64988095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
65088095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
65188095e7bSTony Olech	  VUB300 chip say Y or M here.
65288095e7bSTony Olech
65353f3a9e2SDavid Vrabelconfig MMC_USHC
65453f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
65553f3a9e2SDavid Vrabel	depends on USB
65653f3a9e2SDavid Vrabel	help
65753f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
65853f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
65953f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
66053f3a9e2SDavid Vrabel
66153f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
66253f3a9e2SDavid Vrabel	  and Ultrasira.
66353f3a9e2SDavid Vrabel
66453f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
66553f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
6663a96dff0STony Prisk
6673a96dff0STony Priskconfig MMC_WMT
6683a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
6693a96dff0STony Prisk	depends on ARCH_VT8500
6703a96dff0STony Prisk	default y
6713a96dff0STony Prisk	help
6723a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
6733a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
6743a96dff0STony Prisk
6753a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
6763a96dff0STony Prisk	  module will be called wmt-sdmmc.
6776a5971d8SLinus Torvalds
6782c94b645SWei WANGconfig MMC_REALTEK_PCI
6792c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
6802c94b645SWei WANG	depends on MFD_RTSX_PCI
6812c94b645SWei WANG	help
6822c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
6832c94b645SWei WANG	  of Realtek PCI-E card reader
684