xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision a4080225)
11c6a0718SPierre Ossman#
21c6a0718SPierre Ossman# MMC/SD host controller drivers
31c6a0718SPierre Ossman#
41c6a0718SPierre Ossman
557105737SPierre Ossmancomment "MMC/SD/SDIO Host Controller Drivers"
61c6a0718SPierre Ossman
703596b92SShawn Linconfig MMC_DEBUG
8b4f146f5SWolfram Sang	bool "MMC host drivers debugging"
903596b92SShawn Lin	depends on MMC != n
1003596b92SShawn Lin	help
1103596b92SShawn Lin	  This is an option for use by developers; most people should
1203596b92SShawn Lin	  say N here. This enables MMC host driver debugging. And further
1303596b92SShawn Lin	  added host drivers please don't invent their private macro for
1403596b92SShawn Lin	  debugging.
1503596b92SShawn Lin
161c6a0718SPierre Ossmanconfig MMC_ARMMMCI
171c6a0718SPierre Ossman	tristate "ARM AMBA Multimedia Card Interface support"
18790864dcSJan Engelhardt	depends on ARM_AMBA
191c6a0718SPierre Ossman	help
201c6a0718SPierre Ossman	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
211c6a0718SPierre Ossman	  Interface (PL180 and PL181) support.  If you have an ARM(R)
221c6a0718SPierre Ossman	  platform with a Multimedia Card slot, say Y or M here.
231c6a0718SPierre Ossman
241c6a0718SPierre Ossman	  If unsure, say N.
251c6a0718SPierre Ossman
269cb15142SSrinivas Kandagatlaconfig MMC_QCOM_DML
271ac99066SSrinivas Kandagatla	bool "Qualcomm Data Mover for SD Card Controller"
289cb15142SSrinivas Kandagatla	depends on MMC_ARMMMCI && QCOM_BAM_DMA
299cb15142SSrinivas Kandagatla	default y
309cb15142SSrinivas Kandagatla	help
319cb15142SSrinivas Kandagatla	  This selects the Qualcomm Data Mover lite/local on SD Card controller.
329cb15142SSrinivas Kandagatla	  This option will enable the dma to work correctly, if you are using
339cb15142SSrinivas Kandagatla	  Qcom SOCs and MMC, you would probably need this option to get DMA working.
349cb15142SSrinivas Kandagatla
359cb15142SSrinivas Kandagatla	  if unsure, say N.
369cb15142SSrinivas Kandagatla
371c6a0718SPierre Ossmanconfig MMC_PXA
381c6a0718SPierre Ossman	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
39790864dcSJan Engelhardt	depends on ARCH_PXA
401c6a0718SPierre Ossman	help
411c6a0718SPierre Ossman	  This selects the Intel(R) PXA(R) Multimedia card Interface.
421c6a0718SPierre Ossman	  If you have a PXA(R) platform with a Multimedia Card slot,
431c6a0718SPierre Ossman	  say Y or M here.
441c6a0718SPierre Ossman
451c6a0718SPierre Ossman	  If unsure, say N.
461c6a0718SPierre Ossman
471c6a0718SPierre Ossmanconfig MMC_SDHCI
4834671dc2SPierre Ossman	tristate "Secure Digital Host Controller Interface support"
49b8c86fc5SPierre Ossman	depends on HAS_DMA
501c6a0718SPierre Ossman	help
51b8c86fc5SPierre Ossman	  This selects the generic Secure Digital Host Controller Interface.
521c6a0718SPierre Ossman	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
531c6a0718SPierre Ossman	  and Toshiba(R). Most controllers found in laptops are of this type.
54b8c86fc5SPierre Ossman
55b8c86fc5SPierre Ossman	  If you have a controller with this interface, say Y or M here. You
56b8c86fc5SPierre Ossman	  also need to enable an appropriate bus interface.
57b8c86fc5SPierre Ossman
58b8c86fc5SPierre Ossman	  If unsure, say N.
59b8c86fc5SPierre Ossman
604e4141a5SAnton Vorontsovconfig MMC_SDHCI_IO_ACCESSORS
614e4141a5SAnton Vorontsov	bool
624e4141a5SAnton Vorontsov	depends on MMC_SDHCI
634e4141a5SAnton Vorontsov	help
644e4141a5SAnton Vorontsov	  This is silent Kconfig symbol that is selected by the drivers that
654e4141a5SAnton Vorontsov	  need to overwrite SDHCI IO memory accessors.
664e4141a5SAnton Vorontsov
677657c3a7SAlbert Herranzconfig MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
687657c3a7SAlbert Herranz	bool
6982813b71SJean Delvare	depends on MMC_SDHCI
707657c3a7SAlbert Herranz	select MMC_SDHCI_IO_ACCESSORS
717657c3a7SAlbert Herranz	help
727657c3a7SAlbert Herranz	  This option is selected by drivers running on big endian hosts
737657c3a7SAlbert Herranz	  and performing I/O to a SDHCI controller through a bus that
747657c3a7SAlbert Herranz	  implements a hardware byte swapper using a 32-bit datum.
757657c3a7SAlbert Herranz	  This endian mapping mode is called "data invariance" and
767657c3a7SAlbert Herranz	  has the effect of scrambling the addresses and formats of data
777657c3a7SAlbert Herranz	  accessed in sizes other than the datum size.
787657c3a7SAlbert Herranz
792ca63524Syangbo lu	  This is the case for the Nintendo Wii SDHCI.
807657c3a7SAlbert Herranz
81b8c86fc5SPierre Ossmanconfig MMC_SDHCI_PCI
82b8c86fc5SPierre Ossman	tristate "SDHCI support on PCI bus"
83b8c86fc5SPierre Ossman	depends on MMC_SDHCI && PCI
84b8c86fc5SPierre Ossman	help
85b8c86fc5SPierre Ossman	  This selects the PCI Secure Digital Host Controller Interface.
86b8c86fc5SPierre Ossman	  Most controllers found today are PCI devices.
87b8c86fc5SPierre Ossman
881c6a0718SPierre Ossman	  If you have a controller with this interface, say Y or M here.
891c6a0718SPierre Ossman
901c6a0718SPierre Ossman	  If unsure, say N.
911c6a0718SPierre Ossman
925ae70296SPhilip Langdaleconfig MMC_RICOH_MMC
9386147c84SKees Cook	bool "Ricoh MMC Controller Disabler"
94b8c86fc5SPierre Ossman	depends on MMC_SDHCI_PCI
95ba2f7325SJean Delvare	default y
965ae70296SPhilip Langdale	help
9703cd8f7eSMaxim Levitsky	  This adds a pci quirk to disable Ricoh MMC Controller. This
985ae70296SPhilip Langdale	  proprietary controller is unnecessary because the SDHCI driver
995ae70296SPhilip Langdale	  supports MMC cards on the SD controller, but if it is not
1005ae70296SPhilip Langdale	  disabled, it will steal the MMC cards away - rendering them
10103cd8f7eSMaxim Levitsky	  useless. It is safe to select this even if you don't
1025ae70296SPhilip Langdale	  have a Ricoh based card reader.
1035ae70296SPhilip Langdale
1045ae70296SPhilip Langdale	  If unsure, say Y.
1055ae70296SPhilip Langdale
106c4e05037SAdrian Hunterconfig MMC_SDHCI_ACPI
107c4e05037SAdrian Hunter	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
108c4e05037SAdrian Hunter	depends on MMC_SDHCI && ACPI
1096e1c7d61SAdrian Hunter	select IOSF_MBI if X86
110c4e05037SAdrian Hunter	help
111c4e05037SAdrian Hunter	  This selects support for ACPI enumerated SDHCI controllers,
112c4e05037SAdrian Hunter	  identified by ACPI Compatibility ID PNP0D40 or specific
113c4e05037SAdrian Hunter	  ACPI Hardware IDs.
114c4e05037SAdrian Hunter
115c4e05037SAdrian Hunter	  If you have a controller with this interface, say Y or M here.
116c4e05037SAdrian Hunter
117c4e05037SAdrian Hunter	  If unsure, say N.
118c4e05037SAdrian Hunter
119f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
120f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
12138576af1SShawn Guo	depends on MMC_SDHCI
122f0de8369SShawn Guo	help
123f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
124f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
125f0de8369SShawn Guo
126f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
127f0de8369SShawn Guo
128f0de8369SShawn Guo	  If unsure, say N.
129f0de8369SShawn Guo
130e3ec3a3dSSoren Brinkmannconfig MMC_SDHCI_OF_ARASAN
131e3ec3a3dSSoren Brinkmann	tristate "SDHCI OF support for the Arasan SDHCI controllers"
132e3ec3a3dSSoren Brinkmann	depends on MMC_SDHCI_PLTFM
133e3ec3a3dSSoren Brinkmann	depends on OF
134c390f211SDouglas Anderson	depends on COMMON_CLK
135e3ec3a3dSSoren Brinkmann	help
136e3ec3a3dSSoren Brinkmann	  This selects the Arasan Secure Digital Host Controller Interface
137e3ec3a3dSSoren Brinkmann	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
138e3ec3a3dSSoren Brinkmann
139e3ec3a3dSSoren Brinkmann	  If you have a controller with this interface, say Y or M here.
140e3ec3a3dSSoren Brinkmann
141e3ec3a3dSSoren Brinkmann	  If unsure, say N.
142e3ec3a3dSSoren Brinkmann
143bb5f8ea4Sludovic.desroches@atmel.comconfig MMC_SDHCI_OF_AT91
144bb5f8ea4Sludovic.desroches@atmel.com	tristate "SDHCI OF support for the Atmel SDMMC controller"
145bb5f8ea4Sludovic.desroches@atmel.com	depends on MMC_SDHCI_PLTFM
146bb5f8ea4Sludovic.desroches@atmel.com	depends on OF
147bb5f8ea4Sludovic.desroches@atmel.com	help
148bb5f8ea4Sludovic.desroches@atmel.com	  This selects the Atmel SDMMC driver
149bb5f8ea4Sludovic.desroches@atmel.com
150f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
151f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
152f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1532ca63524Syangbo lu	depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE
1542ca63524Syangbo lu	select MMC_SDHCI_IO_ACCESSORS
155151ede40Syangbo lu	select FSL_GUTS
1567657c3a7SAlbert Herranz	help
1577657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1583085e9c1SAnton Vorontsov
159f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
160f0de8369SShawn Guo
1613085e9c1SAnton Vorontsov	  If unsure, say N.
1623085e9c1SAnton Vorontsov
1631144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
164f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
165f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1665f2e097cSKevin Hao	depends on PPC
1671144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1681144ab5dSAlbert Herranz	help
1691144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1701144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1711144ab5dSAlbert Herranz	  console.
1721144ab5dSAlbert Herranz
173f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
174f0de8369SShawn Guo
1751144ab5dSAlbert Herranz	  If unsure, say N.
1761144ab5dSAlbert Herranz
177ff6af28fSMasahiro Yamadaconfig MMC_SDHCI_CADENCE
178ff6af28fSMasahiro Yamada	tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
179ff6af28fSMasahiro Yamada	depends on MMC_SDHCI_PLTFM
180ff6af28fSMasahiro Yamada	depends on OF
181ff6af28fSMasahiro Yamada	help
182ff6af28fSMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
183ff6af28fSMasahiro Yamada
184ff6af28fSMasahiro Yamada	  If you have a controller with this interface, say Y or M here.
185ff6af28fSMasahiro Yamada
186ff6af28fSMasahiro Yamada	  If unsure, say N.
187ff6af28fSMasahiro Yamada
18820b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
18985d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
19020b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
191f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
19220b1597bSAnton Vorontsov	help
19320b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
19420b1597bSAnton Vorontsov
195f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
196f0de8369SShawn Guo
19720b1597bSAnton Vorontsov	  If unsure, say N.
19820b1597bSAnton Vorontsov
19995f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
20095a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
2012b795518SSascha Hauer	depends on ARCH_MXC
202f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
20395f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
20495f25efeSWolfram Sang	help
20595a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
20695a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
20795f25efeSWolfram Sang
208f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
209f0de8369SShawn Guo
21095f25efeSWolfram Sang	  If unsure, say N.
21195f25efeSWolfram Sang
212985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
21385d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
214ec4422acSSebastian Hesselbarth	depends on ARCH_DOVE || MACH_DOVE
215f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
216985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
217985b1aa0SMike Rapoport	help
218985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
219985b1aa0SMike Rapoport	  Marvell's Dove SoC.
220985b1aa0SMike Rapoport
221f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
222f0de8369SShawn Guo
223985b1aa0SMike Rapoport	  If unsure, say N.
224985b1aa0SMike Rapoport
22503d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
22685d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
22785d6509dSShawn Guo	depends on ARCH_TEGRA
228f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
22903d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
23003d2bfc8SOlof Johansson	help
23103d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
23203d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
23303d2bfc8SOlof Johansson
23403d2bfc8SOlof Johansson	  If unsure, say N.
23503d2bfc8SOlof Johansson
2360d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
2370d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
238930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
2390d1bb41aSBen Dooks	help
2400d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
2410d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
2420d1bb41aSBen Dooks	  range of SoC.
2430d1bb41aSBen Dooks
2440d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
2450d1bb41aSBen Dooks
2460d1bb41aSBen Dooks	  If unsure, say N.
2470d1bb41aSBen Dooks
248b3b665b0SBarry Songconfig MMC_SDHCI_SIRF
249b3b665b0SBarry Song	tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
250b3b665b0SBarry Song	depends on ARCH_SIRF
251b3b665b0SBarry Song	depends on MMC_SDHCI_PLTFM
252a1b0b977SWeijun Yang	select MMC_SDHCI_IO_ACCESSORS
253b3b665b0SBarry Song	help
254b3b665b0SBarry Song	  This selects the SDHCI support for SiRF System-on-Chip devices.
255b3b665b0SBarry Song
256b3b665b0SBarry Song	  If you have a controller with this interface, say Y or M here.
257b3b665b0SBarry Song
258b3b665b0SBarry Song	  If unsure, say N.
259b3b665b0SBarry Song
260a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
261a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
262a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
2635d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
264daa3054fSJean Delvare	depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
265a702c8abSZhangfei Gao	default CPU_MMP2
266a702c8abSZhangfei Gao	help
267a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
268a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
269a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
270a702c8abSZhangfei Gao
271a702c8abSZhangfei Gao	  If unsure, say N.
272a702c8abSZhangfei Gao
2739f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
2749f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
2759f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2765d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
2778a8735ebSJean Delvare	depends on ARCH_MMP || COMPILE_TEST
2789f5d71e4SZhangfei Gao	default CPU_PXA910
2799f5d71e4SZhangfei Gao	help
2809f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2819f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2829f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2839f5d71e4SZhangfei Gao
2849f5d71e4SZhangfei Gao	  If unsure, say N.
2859f5d71e4SZhangfei Gao
286c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
287c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
288c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
289bbd7f0a2SUlf Hansson	depends on OF
290c63b3cbaSViresh KUMAR	help
291c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
292c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
293c63b3cbaSViresh KUMAR	  of SoC
294c63b3cbaSViresh KUMAR
295c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
296c63b3cbaSViresh KUMAR
297c63b3cbaSViresh KUMAR	  If unsure, say N.
298c63b3cbaSViresh KUMAR
2990d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
3000d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
30186147c84SKees Cook	depends on MMC_SDHCI_S3C
3020d1bb41aSBen Dooks	help
3030d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
3040d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
3050d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
3060d1bb41aSBen Dooks
3070d1bb41aSBen Dooks	  YMMV.
3080d1bb41aSBen Dooks
30901ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
31001ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
311fc2bd2e4SChristian Daudt	depends on ARCH_BCM_MOBILE
3125d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
31301ebea1bSChristian Daudt	help
31401ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
31501ebea1bSChristian Daudt	  Interface(SDHCI) support.
31601ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
31701ebea1bSChristian Daudt
31801ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
31901ebea1bSChristian Daudt
32087a50745SVincent Yangconfig MMC_SDHCI_F_SDH30
32187a50745SVincent Yang	tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
32287a50745SVincent Yang	depends on MMC_SDHCI_PLTFM
32387a50745SVincent Yang	depends on OF
32487a50745SVincent Yang	help
32587a50745SVincent Yang	  This selects the Secure Digital Host Controller Interface (SDHCI)
32687a50745SVincent Yang	  Needed by some Fujitsu SoC for MMC / SD / SDIO support.
32787a50745SVincent Yang	  If you have a controller with this interface, say Y or M here.
32887a50745SVincent Yang
32987a50745SVincent Yang	  If unsure, say N.
33087a50745SVincent Yang
331b580c52dSScott Brandenconfig MMC_SDHCI_IPROC
33277cb7d3aSStefan Wahren	tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
33377cb7d3aSStefan Wahren	depends on ARCH_BCM2835 || ARCH_BCM_IPROC || COMPILE_TEST
334b580c52dSScott Branden	depends on MMC_SDHCI_PLTFM
335b580c52dSScott Branden	default ARCH_BCM_IPROC
336b580c52dSScott Branden	select MMC_SDHCI_IO_ACCESSORS
337b580c52dSScott Branden	help
338b580c52dSScott Branden	  This selects the iProc SD/MMC controller.
339b580c52dSScott Branden
34077cb7d3aSStefan Wahren	  If you have a BCM2835 or IPROC platform with SD or MMC devices,
341b580c52dSScott Branden	  say Y or M here.
342b580c52dSScott Branden
343b580c52dSScott Branden	  If unsure, say N.
344b580c52dSScott Branden
34551c5d844SKevin Hilmanconfig MMC_MESON_GX
34651c5d844SKevin Hilman	tristate "Amlogic S905/GX* SD/MMC Host Controller support"
34751c5d844SKevin Hilman	depends on ARCH_MESON && MMC
34851c5d844SKevin Hilman	help
34951c5d844SKevin Hilman	  This selects support for the Amlogic SD/MMC Host Controller
35051c5d844SKevin Hilman	  found on the S905/GX* family of SoCs.  This controller is
35151c5d844SKevin Hilman	  MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
35251c5d844SKevin Hilman
35351c5d844SKevin Hilman	  If you have a controller with this interface, say Y here.
35451c5d844SKevin Hilman
355ed80a13bSCarlo Caioneconfig MMC_MESON_MX_SDIO
356ed80a13bSCarlo Caione	tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
357ed80a13bSCarlo Caione	depends on ARCH_MESON || COMPILE_TEST
358ed80a13bSCarlo Caione	depends on COMMON_CLK
359ed80a13bSCarlo Caione	depends on HAS_DMA
360ed80a13bSCarlo Caione	depends on OF
361ed80a13bSCarlo Caione	help
362ed80a13bSCarlo Caione	  This selects support for the SD/MMC Host Controller on
363ed80a13bSCarlo Caione	  Amlogic Meson6, Meson8 and Meson8b SoCs.
364ed80a13bSCarlo Caione
365ed80a13bSCarlo Caione	  If you have a controller with this interface, say Y or M here.
366ed80a13bSCarlo Caione	  If unsure, say N.
367ed80a13bSCarlo Caione
3681b66e94eSJonas Jensenconfig MMC_MOXART
3691b66e94eSJonas Jensen	tristate "MOXART SD/MMC Host Controller support"
3701b66e94eSJonas Jensen	depends on ARCH_MOXART && MMC
3711b66e94eSJonas Jensen	help
3721b66e94eSJonas Jensen	  This selects support for the MOXART SD/MMC Host Controller.
3731b66e94eSJonas Jensen	  MOXA provides one multi-functional card reader which can
3741b66e94eSJonas Jensen	  be found on some embedded hardware such as UC-7112-LX.
3751b66e94eSJonas Jensen	  If you have a controller with this interface, say Y here.
3761b66e94eSJonas Jensen
377f52d9c4fSPeter Griffinconfig MMC_SDHCI_ST
378f52d9c4fSPeter Griffin	tristate "SDHCI support on STMicroelectronics SoC"
3792feada5bSIvan Mikhaylov	depends on ARCH_STI || FSP2
380f52d9c4fSPeter Griffin	depends on MMC_SDHCI_PLTFM
381f52d9c4fSPeter Griffin	select MMC_SDHCI_IO_ACCESSORS
382f52d9c4fSPeter Griffin	help
383f52d9c4fSPeter Griffin	  This selects the Secure Digital Host Controller Interface in
384f52d9c4fSPeter Griffin	  STMicroelectronics SoCs.
385f52d9c4fSPeter Griffin
386f52d9c4fSPeter Griffin	  If you have a controller with this interface, say Y or M here.
387f52d9c4fSPeter Griffin	  If unsure, say N.
388f52d9c4fSPeter Griffin
3891c6a0718SPierre Ossmanconfig MMC_OMAP
3901c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
391790864dcSJan Engelhardt	depends on ARCH_OMAP
39260a549fcSArnd Bergmann	depends on TPS65010 || !MACH_OMAP_H2
3931c6a0718SPierre Ossman	help
3941c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
3951c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
3961c6a0718SPierre Ossman	  say Y or M here.
3971c6a0718SPierre Ossman
3981c6a0718SPierre Ossman	  If unsure, say N.
3991c6a0718SPierre Ossman
400a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
401a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
402c00c594dSGeert Uytterhoeven	depends on HAS_DMA
403a7cedab6SLokesh Vutla	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
404a45c6cb8SMadhusudhan Chikkature	help
405a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
406bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
407bcf24e1dSAmarinder Bindra	  say Y or M here.
408a45c6cb8SMadhusudhan Chikkature
409a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
410a45c6cb8SMadhusudhan Chikkature
4111c6a0718SPierre Ossmanconfig MMC_WBSD
4121c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
413790864dcSJan Engelhardt	depends on ISA_DMA_API
4141c6a0718SPierre Ossman	help
4151c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
4161c6a0718SPierre Ossman          Multimedia card Interface.
4171c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
4181c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
4191c6a0718SPierre Ossman
4201c6a0718SPierre Ossman	  If unsure, say N.
4211c6a0718SPierre Ossman
4221c6a0718SPierre Ossmanconfig MMC_AU1X
4231c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
42437663860SManuel Lauss	depends on MIPS_ALCHEMY
4251c6a0718SPierre Ossman	help
4261c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
4271c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
4281c6a0718SPierre Ossman
4291c6a0718SPierre Ossman	  If unsure, say N.
4301c6a0718SPierre Ossman
4317d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
432d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
433ef4b160fSAndy Shevchenko	depends on ARCH_AT91
4347d2be074SHaavard Skinnemoen	help
435ef4b160fSAndy Shevchenko	  This selects the Atmel Multimedia Card Interface driver.
436ef4b160fSAndy Shevchenko	  If you have an AT91 platform with a Multimedia Card slot,
437ef4b160fSAndy Shevchenko	  say Y or M here.
4387d2be074SHaavard Skinnemoen
4397d2be074SHaavard Skinnemoen	  If unsure, say N.
4407d2be074SHaavard Skinnemoen
4410eb0d9f4SGeorgi Djakovconfig MMC_SDHCI_MSM
4420eb0d9f4SGeorgi Djakov	tristate "Qualcomm SDHCI Controller Support"
4436096d7a8SGeorgi Djakov	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
4440eb0d9f4SGeorgi Djakov	depends on MMC_SDHCI_PLTFM
44599d570daSVijay Viswanath	select MMC_SDHCI_IO_ACCESSORS
4460eb0d9f4SGeorgi Djakov	help
4470eb0d9f4SGeorgi Djakov	  This selects the Secure Digital Host Controller Interface (SDHCI)
4480eb0d9f4SGeorgi Djakov	  support present in Qualcomm SOCs. The controller supports
4490eb0d9f4SGeorgi Djakov	  SD/MMC/SDIO devices.
4500eb0d9f4SGeorgi Djakov
4510eb0d9f4SGeorgi Djakov	  If you have a controller with this interface, say Y or M here.
4520eb0d9f4SGeorgi Djakov
4530eb0d9f4SGeorgi Djakov	  If unsure, say N.
4540eb0d9f4SGeorgi Djakov
455d96be879SSascha Hauerconfig MMC_MXC
456c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
457c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
458d96be879SSascha Hauer	help
459c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
460c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
461c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
462d96be879SSascha Hauer
463d96be879SSascha Hauer	  If unsure, say N.
464d96be879SSascha Hauer
465e4243f13SShawn Guoconfig MMC_MXS
466e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
467e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
468e4243f13SShawn Guo	help
469e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
470e4243f13SShawn Guo	  platforms like mx23/28.
471e4243f13SShawn Guo
472e4243f13SShawn Guo	  If unsure, say N.
473e4243f13SShawn Guo
4741c6a0718SPierre Ossmanconfig MMC_TIFM_SD
47586147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
47686147c84SKees Cook	depends on PCI
4771c6a0718SPierre Ossman	select TIFM_CORE
4781c6a0718SPierre Ossman	help
4791c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
4801c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
4811c6a0718SPierre Ossman	  laptops.
4821c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
4831c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
4841c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
4851c6a0718SPierre Ossman	  (TIFM_7XX1)'.
4861c6a0718SPierre Ossman
4871c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
4881c6a0718SPierre Ossman	  module will be called tifm_sd.
4891c6a0718SPierre Ossman
490236caa7cSMaen Suleimanconfig MMC_MVSDIO
491236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
492236caa7cSMaen Suleiman	depends on PLAT_ORION
49317da6783SLinus Walleij	depends on OF
494236caa7cSMaen Suleiman	---help---
495236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
496236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
497236caa7cSMaen Suleiman	  SoC controllers.
498236caa7cSMaen Suleiman
499236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
500236caa7cSMaen Suleiman	  module will be called mvsdio.
501236caa7cSMaen Suleiman
502b4cff454SVipin Bhandariconfig MMC_DAVINCI
503b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
504b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
505b4cff454SVipin Bhandari        help
506b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
507b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
508b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
509b4cff454SVipin Bhandari
51085c34d2eSMike Lockwoodconfig MMC_GOLDFISH
51185c34d2eSMike Lockwood	tristate "goldfish qemu Multimedia Card Interface support"
5123d358772SGeert Uytterhoeven	depends on HAS_DMA
5137f8a9a7eSLuis de Bethencourt	depends on GOLDFISH || COMPILE_TEST
51485c34d2eSMike Lockwood	help
51585c34d2eSMike Lockwood	  This selects the Goldfish Multimedia card Interface emulation
51685c34d2eSMike Lockwood	  found on the Goldfish Android virtual device emulation.
51785c34d2eSMike Lockwood
51815a0580cSDavid Brownellconfig MMC_SPI
51957105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
520e176c255SIan Molton	depends on SPI_MASTER && HAS_DMA
52115a0580cSDavid Brownell	select CRC7
52215a0580cSDavid Brownell	select CRC_ITU_T
52315a0580cSDavid Brownell	help
524692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
52557105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
52657105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
52757105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
52857105737SPierre Ossman	  controllers.
52915a0580cSDavid Brownell
53015a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
53115a0580cSDavid Brownell
532be518018SThomas Kleffelconfig MMC_S3C
533be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
534b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
535b45e4b50SVasily Khoruzhick	depends on S3C24XX_DMAC
536be518018SThomas Kleffel	help
537be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
538be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
539be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
540be518018SThomas Kleffel	  slot, say Y or M here.
541be518018SThomas Kleffel
542be518018SThomas Kleffel	  If unsure, say N.
543be518018SThomas Kleffel
5445a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
5455a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
5465a2c4fe0SBen Dooks       depends on MMC_S3C
5475a2c4fe0SBen Dooks       help
5485a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
5495a2c4fe0SBen Dooks	 the generic polling code.
5505a2c4fe0SBen Dooks
55126f14947SBen Dookschoice
55226f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
55326f14947SBen Dooks	depends on MMC_S3C
55426f14947SBen Dooks
55526f14947SBen Dooksconfig MMC_S3C_PIO
55626f14947SBen Dooks	bool "Use PIO transfers only"
55726f14947SBen Dooks	help
55826f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
55926f14947SBen Dooks
56026f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
56126f14947SBen Dooks	  move the data. This has been the traditional default for
56226f14947SBen Dooks	  the S3C MCI driver.
56326f14947SBen Dooks
56426f14947SBen Dooksconfig MMC_S3C_DMA
56586147c84SKees Cook	bool "Use DMA transfers only"
56626f14947SBen Dooks	help
56726f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
56826f14947SBen Dooks
56926f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
57026f14947SBen Dooks	  working properly and needs to be debugged before this
57126f14947SBen Dooks	  option is useful.
57226f14947SBen Dooks
57326f14947SBen Dooksendchoice
57426f14947SBen Dooks
5756a36913aSSascha Sommerconfig MMC_SDRICOH_CS
57686147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
57786147c84SKees Cook	depends on PCI && PCMCIA
5786a36913aSSascha Sommer	help
5796a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
5806a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
5816a36913aSSascha Sommer
5826a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
5836a36913aSSascha Sommer	  module will be called sdricoh_cs.
5846a36913aSSascha Sommer
585b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
586b6147490SGuennadi Liakhovetski	tristate
587b6147490SGuennadi Liakhovetski
5884a48998fSIan Moltonconfig MMC_TMIO
5894a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
59042051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
591b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
5924a48998fSIan Molton	help
5934a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
594e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
5955f5bac82SMichał Mirosław
59642051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
597b5b6a5f4SSimon Horman	tristate "Renesas SDHI SD/SDIO controller support"
598a72e8b17SWolfram Sang	depends on SUPERH || ARM || ARM64
59949312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
60042051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
6012a68ea78SSimon Horman	select MMC_SDHI_SYS_DMAC if (SUPERH || ARM)
6022a68ea78SSimon Horman	select MMC_SDHI_INTERNAL_DMAC if ARM64
60342051e8aSGuennadi Liakhovetski	help
60442051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
605b5b6a5f4SSimon Horman	  Renesas SuperH, ARM and ARM64 based SoCs
60642051e8aSGuennadi Liakhovetski
6072a68ea78SSimon Hormanconfig MMC_SDHI_SYS_DMAC
6082a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
6092a68ea78SSimon Horman	depends on MMC_SDHI
6102a68ea78SSimon Horman	help
6112a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6122a68ea78SSimon Horman	  using SYS-DMAC via DMA Engine. This supports the controllers
6132a68ea78SSimon Horman	  found in SuperH and Renesas ARM based SoCs.
6142a68ea78SSimon Horman
6152a68ea78SSimon Hormanconfig MMC_SDHI_INTERNAL_DMAC
6162a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
6172a68ea78SSimon Horman	depends on ARM64 || COMPILE_TEST
6182a68ea78SSimon Horman	depends on MMC_SDHI
6192a68ea78SSimon Horman	help
6202a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6212a68ea78SSimon Horman	  using on-chip bus mastering. This supports the controllers
6222a68ea78SSimon Horman	  found in arm64 based SoCs.
6232a68ea78SSimon Horman
6245f5bac82SMichał Mirosławconfig MMC_CB710
6255f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
6260244ad00SMartin Schwidefsky	depends on PCI
6275f5bac82SMichał Mirosław	select CB710_CORE
6285f5bac82SMichał Mirosław	help
6295f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
6305f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
6315f5bac82SMichał Mirosław	  HP Compaq nx9500).
6325f5bac82SMichał Mirosław
6335f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
6345f5bac82SMichał Mirosław	  will be called cb710-mmc.
6355f5bac82SMichał Mirosław
636f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
637f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
638f0bf7f61SHarald Welte	depends on PCI
639f0bf7f61SHarald Welte	help
640f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
641f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
642f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
643f0bf7f61SHarald Welte	  SD/MMC/SDHC.
644f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
645f0bf7f61SHarald Welte
646f0bf7f61SHarald Welte	  If unsure, say N.
647eb962d5bSCliff Cai
648eb962d5bSCliff Caiconfig SDH_BFIN
649eb962d5bSCliff Cai	tristate "Blackfin Secure Digital Host support"
65005dabcc4SMike Frysinger	depends on (BF54x && !BF544) || (BF51x && !BF512)
651eb962d5bSCliff Cai	help
652eb962d5bSCliff Cai	  If you say yes here you will get support for the Blackfin on-chip
653eb962d5bSCliff Cai	  Secure Digital Host interface.  This includes support for MMC and
654eb962d5bSCliff Cai	  SD cards.
655eb962d5bSCliff Cai
656eb962d5bSCliff Cai	  To compile this driver as a module, choose M here: the
657eb962d5bSCliff Cai	  module will be called bfin_sdh.
658eb962d5bSCliff Cai
659eb962d5bSCliff Cai	  If unsure, say N.
660eb962d5bSCliff Cai
661eb962d5bSCliff Caiconfig SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
662eb962d5bSCliff Cai	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
663eb962d5bSCliff Cai	depends on SDH_BFIN
664eb962d5bSCliff Cai	help
665eb962d5bSCliff Cai	  If you say yes here SD-Cards may work on the EZkit.
666fdc50a94SYusuke Goda
66701d95843SSteven J. Hillconfig MMC_CAVIUM_OCTEON
66801d95843SSteven J. Hill	tristate "Cavium OCTEON SD/MMC Card Interface support"
66901d95843SSteven J. Hill	depends on CAVIUM_OCTEON_SOC
67001d95843SSteven J. Hill	help
67101d95843SSteven J. Hill	  This selects Cavium OCTEON SD/MMC card Interface.
67201d95843SSteven J. Hill	  If you have an OCTEON board with a Multimedia Card slot,
67301d95843SSteven J. Hill	  say Y or M here.
67401d95843SSteven J. Hill
67501d95843SSteven J. Hill	  If unsure, say N.
67601d95843SSteven J. Hill
677166bac38SJan Glauberconfig MMC_CAVIUM_THUNDERX
678166bac38SJan Glauber	tristate "Cavium ThunderX SD/MMC Card Interface support"
679166bac38SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
68062467bbbSJan Glauber	depends on GPIO_THUNDERX
681166bac38SJan Glauber	depends on OF_ADDRESS
682166bac38SJan Glauber	help
683166bac38SJan Glauber	  This selects Cavium ThunderX SD/MMC Card Interface.
684166bac38SJan Glauber	  If you have an Cavium ARM64 board with a Multimedia Card slot
685166bac38SJan Glauber	  or builtin eMMC chip say Y or M here. If built as a module
686166bac38SJan Glauber	  the module will be called thunderx_mmc.ko.
687166bac38SJan Glauber
688f95f3850SWill Newtonconfig MMC_DW
689f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
6900857c691SAndrew Bresticker	depends on HAS_DMA
691c34346b2SAlim Akhtar	depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
692f95f3850SWill Newton	help
693f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
694f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
6953fc7eaefSShawn Lin	  PIO, internal DMA mode and external DMA mode.
696f95f3850SWill Newton
69762ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
69862ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
69962ca8034SShashidhar Hiremath	depends on MMC_DW
70062ca8034SShashidhar Hiremath	default y
70162ca8034SShashidhar Hiremath	help
70262ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
70362ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
70462ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
70562ca8034SShashidhar Hiremath	  Synopsys Designware IP.
70662ca8034SShashidhar Hiremath
70762ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
70862ca8034SShashidhar Hiremath
70962ca8034SShashidhar Hiremath	  If unsure, say Y.
71062ca8034SShashidhar Hiremath
711c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
712e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
713c3665006SThomas Abraham	depends on MMC_DW
714c3665006SThomas Abraham	select MMC_DW_PLTFM
715c3665006SThomas Abraham	help
716c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
717c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
718c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
719c3665006SThomas Abraham
720036f29d5SZhangfei Gaoconfig MMC_DW_K3
721036f29d5SZhangfei Gao	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
722036f29d5SZhangfei Gao	depends on MMC_DW
723036f29d5SZhangfei Gao	select MMC_DW_PLTFM
724036f29d5SZhangfei Gao	help
725036f29d5SZhangfei Gao	  This selects support for Hisilicon K3 SoC specific extensions to the
726036f29d5SZhangfei Gao	  Synopsys DesignWare Memory Card Interface driver. Select this option
727036f29d5SZhangfei Gao	  for platforms based on Hisilicon K3 SoC's.
728036f29d5SZhangfei Gao
72962ca8034SShashidhar Hiremathconfig MMC_DW_PCI
73062ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
73162ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
73262ca8034SShashidhar Hiremath	help
73362ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
73462ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
73562ca8034SShashidhar Hiremath
73662ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
73762ca8034SShashidhar Hiremath
73862ca8034SShashidhar Hiremath	  If unsure, say N.
73962ca8034SShashidhar Hiremath
7404cdc2ec1Saddy keconfig MMC_DW_ROCKCHIP
7414cdc2ec1Saddy ke	tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
7424cdc2ec1Saddy ke	depends on MMC_DW && ARCH_ROCKCHIP
7434cdc2ec1Saddy ke	select MMC_DW_PLTFM
7444cdc2ec1Saddy ke	help
7454cdc2ec1Saddy ke	  This selects support for Rockchip SoC specific extensions to the
7464cdc2ec1Saddy ke	  Synopsys DesignWare Memory Card Interface driver. Select this option
7474cdc2ec1Saddy ke	  for platforms based on RK3066, RK3188 and RK3288 SoC's.
7484cdc2ec1Saddy ke
749a8c643adSJun Nieconfig MMC_DW_ZX
750a8c643adSJun Nie	tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
751a8c643adSJun Nie	depends on MMC_DW && ARCH_ZX
752a8c643adSJun Nie	select MMC_DW_PLTFM
753a8c643adSJun Nie	help
754a8c643adSJun Nie	  This selects support for ZTE SoC specific extensions to the
755a8c643adSJun Nie	  Synopsys DesignWare Memory Card Interface driver. Select this option
756a8c643adSJun Nie	  for platforms based on ZX296718 SoC's.
757a8c643adSJun Nie
758fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
759fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
760963b14ffSWolfram Sang	depends on HAS_DMA
76149312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
762fdc50a94SYusuke Goda	help
763ba9e9157SWolfram Sang	  This selects the MMC Host Interface controller (MMCIF) found in various
764ba9e9157SWolfram Sang	  Renesas SoCs for SH and ARM architectures.
765fdc50a94SYusuke Goda
76661bfbdb8SLars-Peter Clausen
76761bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
76861bfbdb8SLars-Peter Clausen	tristate "JZ4740 SD/Multimedia Card Interface support"
76961bfbdb8SLars-Peter Clausen	depends on MACH_JZ4740
77061bfbdb8SLars-Peter Clausen	help
77161bfbdb8SLars-Peter Clausen	  This selects support for the SD/MMC controller on Ingenic JZ4740
77261bfbdb8SLars-Peter Clausen	  SoCs.
77361bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
77461bfbdb8SLars-Peter Clausen	  say Y or M here.
77553f3a9e2SDavid Vrabel
77688095e7bSTony Olechconfig MMC_VUB300
77788095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
77888095e7bSTony Olech	depends on USB
77988095e7bSTony Olech	help
78088095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
78188095e7bSTony Olech
78288095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
78388095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
78488095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
78588095e7bSTony Olech
78688095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
78788095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
78888095e7bSTony Olech
78988095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
79088095e7bSTony Olech	  to single and multifunction SDIO cards.
79188095e7bSTony Olech
79288095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
79388095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
79488095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
79588095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
79688095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
79788095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
79888095e7bSTony Olech	  the best obtainable data rate.
79988095e7bSTony Olech
80088095e7bSTony Olech	  To compile this mmc host controller driver as a module,
80188095e7bSTony Olech	  choose M here: the module will be called vub300.
80288095e7bSTony Olech
80388095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
80488095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
80588095e7bSTony Olech	  VUB300 chip say Y or M here.
80688095e7bSTony Olech
80753f3a9e2SDavid Vrabelconfig MMC_USHC
80853f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
80953f3a9e2SDavid Vrabel	depends on USB
81053f3a9e2SDavid Vrabel	help
81153f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
81253f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
81353f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
81453f3a9e2SDavid Vrabel
81553f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
81653f3a9e2SDavid Vrabel	  and Ultrasira.
81753f3a9e2SDavid Vrabel
81853f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
81953f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
8203a96dff0STony Prisk
8213a96dff0STony Priskconfig MMC_WMT
8223a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
8233a96dff0STony Prisk	depends on ARCH_VT8500
8243a96dff0STony Prisk	default y
8253a96dff0STony Prisk	help
8263a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
8273a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
8283a96dff0STony Prisk
8293a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
8303a96dff0STony Prisk	  module will be called wmt-sdmmc.
8316a5971d8SLinus Torvalds
83275fa9ea6SGuennadi Liakhovetskiconfig MMC_USDHI6ROL0
83375fa9ea6SGuennadi Liakhovetski	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
8341ef94740SGeert Uytterhoeven	depends on HAS_DMA
83575fa9ea6SGuennadi Liakhovetski	help
83675fa9ea6SGuennadi Liakhovetski	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
83775fa9ea6SGuennadi Liakhovetski	  Host Controller
83875fa9ea6SGuennadi Liakhovetski
8392c94b645SWei WANGconfig MMC_REALTEK_PCI
8402c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
8412c94b645SWei WANG	depends on MFD_RTSX_PCI
8422c94b645SWei WANG	help
8432c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
8442c94b645SWei WANG	  of Realtek PCI-E card reader
845c7f6558dSRoger Tseng
846c7f6558dSRoger Tsengconfig MMC_REALTEK_USB
847c7f6558dSRoger Tseng	tristate "Realtek USB SD/MMC Card Interface Driver"
848c7f6558dSRoger Tseng	depends on MFD_RTSX_USB
849c7f6558dSRoger Tseng	help
850c7f6558dSRoger Tseng	  Say Y here to include driver code to support SD/MMC card interface
851c7f6558dSRoger Tseng	  of Realtek RTS5129/39 series card reader
85219b7f796SDavid Lanzendörfer
85319b7f796SDavid Lanzendörferconfig MMC_SUNXI
85419b7f796SDavid Lanzendörfer	tristate "Allwinner sunxi SD/MMC Host Controller support"
85519b7f796SDavid Lanzendörfer	depends on ARCH_SUNXI
85619b7f796SDavid Lanzendörfer	help
85719b7f796SDavid Lanzendörfer	  This selects support for the SD/MMC Host Controller on
85819b7f796SDavid Lanzendörfer	  Allwinner sunxi SoCs.
859a5eb8bbdSOndrej Zary
860a4080225SVenkat Gopalakrishnanconfig MMC_CQHCI
861a4080225SVenkat Gopalakrishnan	tristate "Command Queue Host Controller Interface support"
862a4080225SVenkat Gopalakrishnan	depends on HAS_DMA
863a4080225SVenkat Gopalakrishnan	help
864a4080225SVenkat Gopalakrishnan	  This selects the Command Queue Host Controller Interface (CQHCI)
865a4080225SVenkat Gopalakrishnan	  support present in host controllers of Qualcomm Technologies, Inc
866a4080225SVenkat Gopalakrishnan	  amongst others.
867a4080225SVenkat Gopalakrishnan	  This controller supports eMMC devices with command queue support.
868a4080225SVenkat Gopalakrishnan
869a4080225SVenkat Gopalakrishnan	  If you have a controller with this interface, say Y or M here.
870a4080225SVenkat Gopalakrishnan
871a4080225SVenkat Gopalakrishnan	  If unsure, say N.
872a4080225SVenkat Gopalakrishnan
873a5eb8bbdSOndrej Zaryconfig MMC_TOSHIBA_PCI
874a5eb8bbdSOndrej Zary	tristate "Toshiba Type A SD/MMC Card Interface Driver"
875a5eb8bbdSOndrej Zary	depends on PCI
876a5eb8bbdSOndrej Zary	help
87720848903SChaotian Jing
878660fc733SEric Anholtconfig MMC_BCM2835
879660fc733SEric Anholt	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
880660fc733SEric Anholt	depends on ARCH_BCM2835 || COMPILE_TEST
881660fc733SEric Anholt	depends on HAS_DMA
882660fc733SEric Anholt	help
883660fc733SEric Anholt	  This selects the BCM2835 SDHOST MMC controller. If you have
884660fc733SEric Anholt	  a BCM2835 platform with SD or MMC devices, say Y or M here.
885660fc733SEric Anholt
886660fc733SEric Anholt	  Note that the BCM2835 has two SD controllers: The Arasan
887660fc733SEric Anholt	  sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
888660fc733SEric Anholt	  sdhost controller (supported by this driver).
889660fc733SEric Anholt
890660fc733SEric Anholt	  If unsure, say N.
891660fc733SEric Anholt
89220848903SChaotian Jingconfig MMC_MTK
89320848903SChaotian Jing	tristate "MediaTek SD/MMC Card Interface support"
894c2b22fffSGeert Uytterhoeven	depends on HAS_DMA
89520848903SChaotian Jing	help
89620848903SChaotian Jing	  This selects the MediaTek(R) Secure digital and Multimedia card Interface.
89720848903SChaotian Jing	  If you have a machine with a integrated SD/MMC card reader, say Y or M here.
89820848903SChaotian Jing	  This is needed if support for any SD/SDIO/MMC devices is required.
89920848903SChaotian Jing	  If unsure, say N.
9005d9460d7SAndrei Pistirica
9015d9460d7SAndrei Pistiricaconfig MMC_SDHCI_MICROCHIP_PIC32
9025d9460d7SAndrei Pistirica        tristate "Microchip PIC32MZDA SDHCI support"
9035d9460d7SAndrei Pistirica        depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
9045d9460d7SAndrei Pistirica        help
9055d9460d7SAndrei Pistirica          This selects the Secure Digital Host Controller Interface (SDHCI)
9065d9460d7SAndrei Pistirica          for PIC32MZDA platform.
9075d9460d7SAndrei Pistirica
9085d9460d7SAndrei Pistirica          If you have a controller with this interface, say Y or M here.
9095d9460d7SAndrei Pistirica
9105d9460d7SAndrei Pistirica          If unsure, say N.
911476bf3d6SAl Cooperconfig MMC_SDHCI_BRCMSTB
912476bf3d6SAl Cooper	tristate "Broadcom SDIO/SD/MMC support"
913476bf3d6SAl Cooper	depends on ARCH_BRCMSTB || BMIPS_GENERIC
914476bf3d6SAl Cooper	depends on MMC_SDHCI_PLTFM
915476bf3d6SAl Cooper	default y
916476bf3d6SAl Cooper	help
917476bf3d6SAl Cooper	  This selects support for the SDIO/SD/MMC Host Controller on
918476bf3d6SAl Cooper	  Broadcom STB SoCs.
919476bf3d6SAl Cooper
920476bf3d6SAl Cooper	  If unsure, say Y.
9213a3748dbSHu Ziji
9223a3748dbSHu Zijiconfig MMC_SDHCI_XENON
9233a3748dbSHu Ziji	tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
9243a3748dbSHu Ziji	depends on MMC_SDHCI_PLTFM
9253a3748dbSHu Ziji	help
9263a3748dbSHu Ziji	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
9273a3748dbSHu Ziji	  If you have a controller with this interface, say Y or M here.
9283a3748dbSHu Ziji	  If unsure, say N.
9297d326930SKishon Vijay Abraham I
9307d326930SKishon Vijay Abraham Iconfig MMC_SDHCI_OMAP
9317d326930SKishon Vijay Abraham I	tristate "TI SDHCI Controller Support"
9327d326930SKishon Vijay Abraham I	depends on MMC_SDHCI_PLTFM && OF
9337d326930SKishon Vijay Abraham I	help
9347d326930SKishon Vijay Abraham I	  This selects the Secure Digital Host Controller Interface (SDHCI)
9357d326930SKishon Vijay Abraham I	  support present in TI's DRA7 SOCs. The controller supports
9367d326930SKishon Vijay Abraham I	  SD/MMC/SDIO devices.
9377d326930SKishon Vijay Abraham I
9387d326930SKishon Vijay Abraham I	  If you have a controller with this interface, say Y or M here.
9397d326930SKishon Vijay Abraham I
9407d326930SKishon Vijay Abraham I	  If unsure, say N.
941