xref: /openbmc/linux/drivers/mmc/host/Kconfig (revision 685bc885)
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
848ee82bdaSAdrian Hunter	select MMC_CQHCI
85b8c86fc5SPierre Ossman	help
86b8c86fc5SPierre Ossman	  This selects the PCI Secure Digital Host Controller Interface.
87b8c86fc5SPierre Ossman	  Most controllers found today are PCI devices.
88b8c86fc5SPierre Ossman
891c6a0718SPierre Ossman	  If you have a controller with this interface, say Y or M here.
901c6a0718SPierre Ossman
911c6a0718SPierre Ossman	  If unsure, say N.
921c6a0718SPierre Ossman
935ae70296SPhilip Langdaleconfig MMC_RICOH_MMC
9486147c84SKees Cook	bool "Ricoh MMC Controller Disabler"
95b8c86fc5SPierre Ossman	depends on MMC_SDHCI_PCI
96ba2f7325SJean Delvare	default y
975ae70296SPhilip Langdale	help
9803cd8f7eSMaxim Levitsky	  This adds a pci quirk to disable Ricoh MMC Controller. This
995ae70296SPhilip Langdale	  proprietary controller is unnecessary because the SDHCI driver
1005ae70296SPhilip Langdale	  supports MMC cards on the SD controller, but if it is not
1015ae70296SPhilip Langdale	  disabled, it will steal the MMC cards away - rendering them
10203cd8f7eSMaxim Levitsky	  useless. It is safe to select this even if you don't
1035ae70296SPhilip Langdale	  have a Ricoh based card reader.
1045ae70296SPhilip Langdale
1055ae70296SPhilip Langdale	  If unsure, say Y.
1065ae70296SPhilip Langdale
107c4e05037SAdrian Hunterconfig MMC_SDHCI_ACPI
108c4e05037SAdrian Hunter	tristate "SDHCI support for ACPI enumerated SDHCI controllers"
109c4e05037SAdrian Hunter	depends on MMC_SDHCI && ACPI
1106e1c7d61SAdrian Hunter	select IOSF_MBI if X86
111c4e05037SAdrian Hunter	help
112c4e05037SAdrian Hunter	  This selects support for ACPI enumerated SDHCI controllers,
113c4e05037SAdrian Hunter	  identified by ACPI Compatibility ID PNP0D40 or specific
114c4e05037SAdrian Hunter	  ACPI Hardware IDs.
115c4e05037SAdrian Hunter
116c4e05037SAdrian Hunter	  If you have a controller with this interface, say Y or M here.
117c4e05037SAdrian Hunter
118c4e05037SAdrian Hunter	  If unsure, say N.
119c4e05037SAdrian Hunter
120f0de8369SShawn Guoconfig MMC_SDHCI_PLTFM
121f0de8369SShawn Guo	tristate "SDHCI platform and OF driver helper"
12238576af1SShawn Guo	depends on MMC_SDHCI
123f0de8369SShawn Guo	help
124f0de8369SShawn Guo	  This selects the common helper functions support for Secure Digital
125f0de8369SShawn Guo	  Host Controller Interface based platform and OF drivers.
126f0de8369SShawn Guo
127f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
128f0de8369SShawn Guo
129f0de8369SShawn Guo	  If unsure, say N.
130f0de8369SShawn Guo
131e3ec3a3dSSoren Brinkmannconfig MMC_SDHCI_OF_ARASAN
132e3ec3a3dSSoren Brinkmann	tristate "SDHCI OF support for the Arasan SDHCI controllers"
133e3ec3a3dSSoren Brinkmann	depends on MMC_SDHCI_PLTFM
134e3ec3a3dSSoren Brinkmann	depends on OF
135c390f211SDouglas Anderson	depends on COMMON_CLK
13684362d79SShawn Lin	select MMC_CQHCI
137e3ec3a3dSSoren Brinkmann	help
138e3ec3a3dSSoren Brinkmann	  This selects the Arasan Secure Digital Host Controller Interface
139e3ec3a3dSSoren Brinkmann	  (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
140e3ec3a3dSSoren Brinkmann
141e3ec3a3dSSoren Brinkmann	  If you have a controller with this interface, say Y or M here.
142e3ec3a3dSSoren Brinkmann
143e3ec3a3dSSoren Brinkmann	  If unsure, say N.
144e3ec3a3dSSoren Brinkmann
145bb5f8ea4Sludovic.desroches@atmel.comconfig MMC_SDHCI_OF_AT91
146bb5f8ea4Sludovic.desroches@atmel.com	tristate "SDHCI OF support for the Atmel SDMMC controller"
147bb5f8ea4Sludovic.desroches@atmel.com	depends on MMC_SDHCI_PLTFM
148bb5f8ea4Sludovic.desroches@atmel.com	depends on OF
149bb5f8ea4Sludovic.desroches@atmel.com	help
150bb5f8ea4Sludovic.desroches@atmel.com	  This selects the Atmel SDMMC driver
151bb5f8ea4Sludovic.desroches@atmel.com
152f0de8369SShawn Guoconfig MMC_SDHCI_OF_ESDHC
153f0de8369SShawn Guo	tristate "SDHCI OF support for the Freescale eSDHC controller"
154f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1552ca63524Syangbo lu	depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE
1562ca63524Syangbo lu	select MMC_SDHCI_IO_ACCESSORS
157151ede40Syangbo lu	select FSL_GUTS
1587657c3a7SAlbert Herranz	help
1597657c3a7SAlbert Herranz	  This selects the Freescale eSDHC controller support.
1603085e9c1SAnton Vorontsov
161f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
162f0de8369SShawn Guo
1633085e9c1SAnton Vorontsov	  If unsure, say N.
1643085e9c1SAnton Vorontsov
1651144ab5dSAlbert Herranzconfig MMC_SDHCI_OF_HLWD
166f0de8369SShawn Guo	tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
167f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
1685f2e097cSKevin Hao	depends on PPC
1691144ab5dSAlbert Herranz	select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
1701144ab5dSAlbert Herranz	help
1711144ab5dSAlbert Herranz	  This selects the Secure Digital Host Controller Interface (SDHCI)
1721144ab5dSAlbert Herranz	  found in the "Hollywood" chipset of the Nintendo Wii video game
1731144ab5dSAlbert Herranz	  console.
1741144ab5dSAlbert Herranz
175f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
176f0de8369SShawn Guo
1771144ab5dSAlbert Herranz	  If unsure, say N.
1781144ab5dSAlbert Herranz
179e438cf49SJisheng Zhangconfig MMC_SDHCI_OF_DWCMSHC
180e438cf49SJisheng Zhang	tristate "SDHCI OF support for the Synopsys DWC MSHC"
181e438cf49SJisheng Zhang	depends on MMC_SDHCI_PLTFM
182e438cf49SJisheng Zhang	depends on OF
183e438cf49SJisheng Zhang	depends on COMMON_CLK
184e438cf49SJisheng Zhang	help
185e438cf49SJisheng Zhang	  This selects Synopsys DesignWare Cores Mobile Storage Controller
186e438cf49SJisheng Zhang	  support.
187e438cf49SJisheng Zhang	  If you have a controller with this interface, say Y or M here.
188e438cf49SJisheng Zhang	  If unsure, say N.
189e438cf49SJisheng Zhang
190ff6af28fSMasahiro Yamadaconfig MMC_SDHCI_CADENCE
191ff6af28fSMasahiro Yamada	tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
192ff6af28fSMasahiro Yamada	depends on MMC_SDHCI_PLTFM
193ff6af28fSMasahiro Yamada	depends on OF
194ff6af28fSMasahiro Yamada	help
195ff6af28fSMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
196ff6af28fSMasahiro Yamada
197ff6af28fSMasahiro Yamada	  If you have a controller with this interface, say Y or M here.
198ff6af28fSMasahiro Yamada
199ff6af28fSMasahiro Yamada	  If unsure, say N.
200ff6af28fSMasahiro Yamada
20120b1597bSAnton Vorontsovconfig MMC_SDHCI_CNS3XXX
20285d6509dSShawn Guo	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
20320b1597bSAnton Vorontsov	depends on ARCH_CNS3XXX
204f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
20520b1597bSAnton Vorontsov	help
20620b1597bSAnton Vorontsov	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
20720b1597bSAnton Vorontsov
208f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
209f0de8369SShawn Guo
21020b1597bSAnton Vorontsov	  If unsure, say N.
21120b1597bSAnton Vorontsov
21295f25efeSWolfram Sangconfig MMC_SDHCI_ESDHC_IMX
21395a2482aSShawn Guo	tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
2142b795518SSascha Hauer	depends on ARCH_MXC
215f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
21695f25efeSWolfram Sang	select MMC_SDHCI_IO_ACCESSORS
21795f25efeSWolfram Sang	help
21895a2482aSShawn Guo	  This selects the Freescale eSDHC/uSDHC controller support
21995a2482aSShawn Guo	  found on i.MX25, i.MX35 i.MX5x and i.MX6x.
22095f25efeSWolfram Sang
221f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
222f0de8369SShawn Guo
22395f25efeSWolfram Sang	  If unsure, say N.
22495f25efeSWolfram Sang
225985b1aa0SMike Rapoportconfig MMC_SDHCI_DOVE
22685d6509dSShawn Guo	tristate "SDHCI support on Marvell's Dove SoC"
227ec4422acSSebastian Hesselbarth	depends on ARCH_DOVE || MACH_DOVE
228f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
229985b1aa0SMike Rapoport	select MMC_SDHCI_IO_ACCESSORS
230985b1aa0SMike Rapoport	help
231985b1aa0SMike Rapoport	  This selects the Secure Digital Host Controller Interface in
232985b1aa0SMike Rapoport	  Marvell's Dove SoC.
233985b1aa0SMike Rapoport
234f0de8369SShawn Guo	  If you have a controller with this interface, say Y or M here.
235f0de8369SShawn Guo
236985b1aa0SMike Rapoport	  If unsure, say N.
237985b1aa0SMike Rapoport
23803d2bfc8SOlof Johanssonconfig MMC_SDHCI_TEGRA
23985d6509dSShawn Guo	tristate "SDHCI platform support for the Tegra SD/MMC Controller"
24085d6509dSShawn Guo	depends on ARCH_TEGRA
241f0de8369SShawn Guo	depends on MMC_SDHCI_PLTFM
24203d2bfc8SOlof Johansson	select MMC_SDHCI_IO_ACCESSORS
24303d2bfc8SOlof Johansson	help
24403d2bfc8SOlof Johansson	  This selects the Tegra SD/MMC controller. If you have a Tegra
24503d2bfc8SOlof Johansson	  platform with SD or MMC devices, say Y or M here.
24603d2bfc8SOlof Johansson
24703d2bfc8SOlof Johansson	  If unsure, say N.
24803d2bfc8SOlof Johansson
2490d1bb41aSBen Dooksconfig MMC_SDHCI_S3C
2500d1bb41aSBen Dooks	tristate "SDHCI support on Samsung S3C SoC"
251930a6f70SKyungmin Park	depends on MMC_SDHCI && PLAT_SAMSUNG
2520d1bb41aSBen Dooks	help
2530d1bb41aSBen Dooks	  This selects the Secure Digital Host Controller Interface (SDHCI)
2540d1bb41aSBen Dooks	  often referrered to as the HSMMC block in some of the Samsung S3C
2550d1bb41aSBen Dooks	  range of SoC.
2560d1bb41aSBen Dooks
2570d1bb41aSBen Dooks	  If you have a controller with this interface, say Y or M here.
2580d1bb41aSBen Dooks
2590d1bb41aSBen Dooks	  If unsure, say N.
2600d1bb41aSBen Dooks
261b3b665b0SBarry Songconfig MMC_SDHCI_SIRF
262b3b665b0SBarry Song	tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs"
263b3b665b0SBarry Song	depends on ARCH_SIRF
264b3b665b0SBarry Song	depends on MMC_SDHCI_PLTFM
265a1b0b977SWeijun Yang	select MMC_SDHCI_IO_ACCESSORS
266b3b665b0SBarry Song	help
267b3b665b0SBarry Song	  This selects the SDHCI support for SiRF System-on-Chip devices.
268b3b665b0SBarry Song
269b3b665b0SBarry Song	  If you have a controller with this interface, say Y or M here.
270b3b665b0SBarry Song
271b3b665b0SBarry Song	  If unsure, say N.
272b3b665b0SBarry Song
273a702c8abSZhangfei Gaoconfig MMC_SDHCI_PXAV3
274a702c8abSZhangfei Gao	tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
275a702c8abSZhangfei Gao	depends on CLKDEV_LOOKUP
2765d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
277daa3054fSJean Delvare	depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
278a702c8abSZhangfei Gao	default CPU_MMP2
279a702c8abSZhangfei Gao	help
280a702c8abSZhangfei Gao	  This selects the Marvell(R) PXAV3 SD Host Controller.
281a702c8abSZhangfei Gao	  If you have a MMP2 platform with SD Host Controller
282a702c8abSZhangfei Gao	  and a card slot, say Y or M here.
283a702c8abSZhangfei Gao
284a702c8abSZhangfei Gao	  If unsure, say N.
285a702c8abSZhangfei Gao
2869f5d71e4SZhangfei Gaoconfig MMC_SDHCI_PXAV2
2879f5d71e4SZhangfei Gao	tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
2889f5d71e4SZhangfei Gao	depends on CLKDEV_LOOKUP
2895d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
2908a8735ebSJean Delvare	depends on ARCH_MMP || COMPILE_TEST
2919f5d71e4SZhangfei Gao	default CPU_PXA910
2929f5d71e4SZhangfei Gao	help
2939f5d71e4SZhangfei Gao	  This selects the Marvell(R) PXAV2 SD Host Controller.
2949f5d71e4SZhangfei Gao	  If you have a PXA9XX platform with SD Host Controller
2959f5d71e4SZhangfei Gao	  and a card slot, say Y or M here.
2969f5d71e4SZhangfei Gao
2979f5d71e4SZhangfei Gao	  If unsure, say N.
2989f5d71e4SZhangfei Gao
299c63b3cbaSViresh KUMARconfig MMC_SDHCI_SPEAR
300c63b3cbaSViresh KUMAR	tristate "SDHCI support on ST SPEAr platform"
301c63b3cbaSViresh KUMAR	depends on MMC_SDHCI && PLAT_SPEAR
302bbd7f0a2SUlf Hansson	depends on OF
303c63b3cbaSViresh KUMAR	help
304c63b3cbaSViresh KUMAR	  This selects the Secure Digital Host Controller Interface (SDHCI)
305c63b3cbaSViresh KUMAR	  often referrered to as the HSMMC block in some of the ST SPEAR range
306c63b3cbaSViresh KUMAR	  of SoC
307c63b3cbaSViresh KUMAR
308c63b3cbaSViresh KUMAR	  If you have a controller with this interface, say Y or M here.
309c63b3cbaSViresh KUMAR
310c63b3cbaSViresh KUMAR	  If unsure, say N.
311c63b3cbaSViresh KUMAR
3120d1bb41aSBen Dooksconfig MMC_SDHCI_S3C_DMA
3130d1bb41aSBen Dooks	bool "DMA support on S3C SDHCI"
31486147c84SKees Cook	depends on MMC_SDHCI_S3C
3150d1bb41aSBen Dooks	help
3160d1bb41aSBen Dooks	  Enable DMA support on the Samsung S3C SDHCI glue. The DMA
3170d1bb41aSBen Dooks	  has proved to be problematic if the controller encounters
3180d1bb41aSBen Dooks	  certain errors, and thus should be treated with care.
3190d1bb41aSBen Dooks
3200d1bb41aSBen Dooks	  YMMV.
3210d1bb41aSBen Dooks
32201ebea1bSChristian Daudtconfig MMC_SDHCI_BCM_KONA
32301ebea1bSChristian Daudt	tristate "SDHCI support on Broadcom KONA platform"
324fc2bd2e4SChristian Daudt	depends on ARCH_BCM_MOBILE
3255d01b768SArnd Bergmann	depends on MMC_SDHCI_PLTFM
32601ebea1bSChristian Daudt	help
32701ebea1bSChristian Daudt	  This selects the Broadcom Kona Secure Digital Host Controller
32801ebea1bSChristian Daudt	  Interface(SDHCI) support.
32901ebea1bSChristian Daudt	  This is used in Broadcom mobile SoCs.
33001ebea1bSChristian Daudt
33101ebea1bSChristian Daudt	  If you have a controller with this interface, say Y or M here.
33201ebea1bSChristian Daudt
33387a50745SVincent Yangconfig MMC_SDHCI_F_SDH30
33487a50745SVincent Yang	tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
33587a50745SVincent Yang	depends on MMC_SDHCI_PLTFM
33690e1d8ccSArd Biesheuvel	depends on OF || ACPI
33787a50745SVincent Yang	help
33887a50745SVincent Yang	  This selects the Secure Digital Host Controller Interface (SDHCI)
33987a50745SVincent Yang	  Needed by some Fujitsu SoC for MMC / SD / SDIO support.
34087a50745SVincent Yang	  If you have a controller with this interface, say Y or M here.
34187a50745SVincent Yang
34287a50745SVincent Yang	  If unsure, say N.
34387a50745SVincent Yang
344b580c52dSScott Brandenconfig MMC_SDHCI_IPROC
34577cb7d3aSStefan Wahren	tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
34677cb7d3aSStefan Wahren	depends on ARCH_BCM2835 || ARCH_BCM_IPROC || COMPILE_TEST
347b580c52dSScott Branden	depends on MMC_SDHCI_PLTFM
3487c7ba433SSrinath Mannam	depends on OF || ACPI
349b580c52dSScott Branden	default ARCH_BCM_IPROC
350b580c52dSScott Branden	select MMC_SDHCI_IO_ACCESSORS
351b580c52dSScott Branden	help
352b580c52dSScott Branden	  This selects the iProc SD/MMC controller.
353b580c52dSScott Branden
35477cb7d3aSStefan Wahren	  If you have a BCM2835 or IPROC platform with SD or MMC devices,
355b580c52dSScott Branden	  say Y or M here.
356b580c52dSScott Branden
357b580c52dSScott Branden	  If unsure, say N.
358b580c52dSScott Branden
35951c5d844SKevin Hilmanconfig MMC_MESON_GX
360e79dc1b4SNan Li	tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
36151c5d844SKevin Hilman	depends on ARCH_MESON && MMC
36251c5d844SKevin Hilman	help
36351c5d844SKevin Hilman	  This selects support for the Amlogic SD/MMC Host Controller
364e79dc1b4SNan Li	  found on the S905/GX*/AXG family of SoCs.  This controller is
36551c5d844SKevin Hilman	  MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
36651c5d844SKevin Hilman
36751c5d844SKevin Hilman	  If you have a controller with this interface, say Y here.
36851c5d844SKevin Hilman
369ed80a13bSCarlo Caioneconfig MMC_MESON_MX_SDIO
370ed80a13bSCarlo Caione	tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
371ed80a13bSCarlo Caione	depends on ARCH_MESON || COMPILE_TEST
372ed80a13bSCarlo Caione	depends on COMMON_CLK
373ed80a13bSCarlo Caione	depends on OF
374ed80a13bSCarlo Caione	help
375ed80a13bSCarlo Caione	  This selects support for the SD/MMC Host Controller on
376ed80a13bSCarlo Caione	  Amlogic Meson6, Meson8 and Meson8b SoCs.
377ed80a13bSCarlo Caione
378ed80a13bSCarlo Caione	  If you have a controller with this interface, say Y or M here.
379ed80a13bSCarlo Caione	  If unsure, say N.
380ed80a13bSCarlo Caione
3811b66e94eSJonas Jensenconfig MMC_MOXART
3821b66e94eSJonas Jensen	tristate "MOXART SD/MMC Host Controller support"
3831b66e94eSJonas Jensen	depends on ARCH_MOXART && MMC
3841b66e94eSJonas Jensen	help
3851b66e94eSJonas Jensen	  This selects support for the MOXART SD/MMC Host Controller.
3861b66e94eSJonas Jensen	  MOXA provides one multi-functional card reader which can
3871b66e94eSJonas Jensen	  be found on some embedded hardware such as UC-7112-LX.
3881b66e94eSJonas Jensen	  If you have a controller with this interface, say Y here.
3891b66e94eSJonas Jensen
390f52d9c4fSPeter Griffinconfig MMC_SDHCI_ST
391f52d9c4fSPeter Griffin	tristate "SDHCI support on STMicroelectronics SoC"
3922feada5bSIvan Mikhaylov	depends on ARCH_STI || FSP2
393f52d9c4fSPeter Griffin	depends on MMC_SDHCI_PLTFM
394f52d9c4fSPeter Griffin	select MMC_SDHCI_IO_ACCESSORS
395f52d9c4fSPeter Griffin	help
396f52d9c4fSPeter Griffin	  This selects the Secure Digital Host Controller Interface in
397f52d9c4fSPeter Griffin	  STMicroelectronics SoCs.
398f52d9c4fSPeter Griffin
399f52d9c4fSPeter Griffin	  If you have a controller with this interface, say Y or M here.
400f52d9c4fSPeter Griffin	  If unsure, say N.
401f52d9c4fSPeter Griffin
4021c6a0718SPierre Ossmanconfig MMC_OMAP
4031c6a0718SPierre Ossman	tristate "TI OMAP Multimedia Card Interface support"
404790864dcSJan Engelhardt	depends on ARCH_OMAP
40560a549fcSArnd Bergmann	depends on TPS65010 || !MACH_OMAP_H2
4061c6a0718SPierre Ossman	help
4071c6a0718SPierre Ossman	  This selects the TI OMAP Multimedia card Interface.
4081c6a0718SPierre Ossman	  If you have an OMAP board with a Multimedia Card slot,
4091c6a0718SPierre Ossman	  say Y or M here.
4101c6a0718SPierre Ossman
4111c6a0718SPierre Ossman	  If unsure, say N.
4121c6a0718SPierre Ossman
413a45c6cb8SMadhusudhan Chikkatureconfig MMC_OMAP_HS
414a45c6cb8SMadhusudhan Chikkature	tristate "TI OMAP High Speed Multimedia Card Interface support"
415a7cedab6SLokesh Vutla	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
416a45c6cb8SMadhusudhan Chikkature	help
417a45c6cb8SMadhusudhan Chikkature	  This selects the TI OMAP High Speed Multimedia card Interface.
418bcf24e1dSAmarinder Bindra	  If you have an omap2plus board with a Multimedia Card slot,
419bcf24e1dSAmarinder Bindra	  say Y or M here.
420a45c6cb8SMadhusudhan Chikkature
421a45c6cb8SMadhusudhan Chikkature	  If unsure, say N.
422a45c6cb8SMadhusudhan Chikkature
4231c6a0718SPierre Ossmanconfig MMC_WBSD
4241c6a0718SPierre Ossman	tristate "Winbond W83L51xD SD/MMC Card Interface support"
425790864dcSJan Engelhardt	depends on ISA_DMA_API
4261c6a0718SPierre Ossman	help
4271c6a0718SPierre Ossman	  This selects the Winbond(R) W83L51xD Secure digital and
4281c6a0718SPierre Ossman          Multimedia card Interface.
4291c6a0718SPierre Ossman	  If you have a machine with a integrated W83L518D or W83L519D
4301c6a0718SPierre Ossman	  SD/MMC card reader, say Y or M here.
4311c6a0718SPierre Ossman
4321c6a0718SPierre Ossman	  If unsure, say N.
4331c6a0718SPierre Ossman
4341c6a0718SPierre Ossmanconfig MMC_AU1X
4351c6a0718SPierre Ossman	tristate "Alchemy AU1XX0 MMC Card Interface support"
43637663860SManuel Lauss	depends on MIPS_ALCHEMY
4371c6a0718SPierre Ossman	help
4381c6a0718SPierre Ossman	  This selects the AMD Alchemy(R) Multimedia card interface.
4391c6a0718SPierre Ossman	  If you have a Alchemy platform with a MMC slot, say Y or M here.
4401c6a0718SPierre Ossman
4411c6a0718SPierre Ossman	  If unsure, say N.
4421c6a0718SPierre Ossman
4437d2be074SHaavard Skinnemoenconfig MMC_ATMELMCI
444d6a20debSLudovic Desroches	tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
445ef4b160fSAndy Shevchenko	depends on ARCH_AT91
4467d2be074SHaavard Skinnemoen	help
447ef4b160fSAndy Shevchenko	  This selects the Atmel Multimedia Card Interface driver.
448ef4b160fSAndy Shevchenko	  If you have an AT91 platform with a Multimedia Card slot,
449ef4b160fSAndy Shevchenko	  say Y or M here.
4507d2be074SHaavard Skinnemoen
4517d2be074SHaavard Skinnemoen	  If unsure, say N.
4527d2be074SHaavard Skinnemoen
4530eb0d9f4SGeorgi Djakovconfig MMC_SDHCI_MSM
4540eb0d9f4SGeorgi Djakov	tristate "Qualcomm SDHCI Controller Support"
4556096d7a8SGeorgi Djakov	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
4560eb0d9f4SGeorgi Djakov	depends on MMC_SDHCI_PLTFM
45799d570daSVijay Viswanath	select MMC_SDHCI_IO_ACCESSORS
4580eb0d9f4SGeorgi Djakov	help
4590eb0d9f4SGeorgi Djakov	  This selects the Secure Digital Host Controller Interface (SDHCI)
4600eb0d9f4SGeorgi Djakov	  support present in Qualcomm SOCs. The controller supports
4610eb0d9f4SGeorgi Djakov	  SD/MMC/SDIO devices.
4620eb0d9f4SGeorgi Djakov
4630eb0d9f4SGeorgi Djakov	  If you have a controller with this interface, say Y or M here.
4640eb0d9f4SGeorgi Djakov
4650eb0d9f4SGeorgi Djakov	  If unsure, say N.
4660eb0d9f4SGeorgi Djakov
467d96be879SSascha Hauerconfig MMC_MXC
468c7ceab02SAnatolij Gustschin	tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
469c7ceab02SAnatolij Gustschin	depends on ARCH_MXC || PPC_MPC512x
470d96be879SSascha Hauer	help
471c7ceab02SAnatolij Gustschin	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
472c7ceab02SAnatolij Gustschin	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
473c7ceab02SAnatolij Gustschin	  with a Multimedia Card slot, say Y or M here.
474d96be879SSascha Hauer
475d96be879SSascha Hauer	  If unsure, say N.
476d96be879SSascha Hauer
477e4243f13SShawn Guoconfig MMC_MXS
478e4243f13SShawn Guo	tristate "Freescale MXS Multimedia Card Interface support"
479e4243f13SShawn Guo	depends on ARCH_MXS && MXS_DMA
480e4243f13SShawn Guo	help
481e4243f13SShawn Guo	  This selects the Freescale SSP MMC controller found on MXS based
482e4243f13SShawn Guo	  platforms like mx23/28.
483e4243f13SShawn Guo
484e4243f13SShawn Guo	  If unsure, say N.
485e4243f13SShawn Guo
4861c6a0718SPierre Ossmanconfig MMC_TIFM_SD
48786147c84SKees Cook	tristate "TI Flash Media MMC/SD Interface support"
48886147c84SKees Cook	depends on PCI
4891c6a0718SPierre Ossman	select TIFM_CORE
4901c6a0718SPierre Ossman	help
4911c6a0718SPierre Ossman	  Say Y here if you want to be able to access MMC/SD cards with
4921c6a0718SPierre Ossman	  the Texas Instruments(R) Flash Media card reader, found in many
4931c6a0718SPierre Ossman	  laptops.
4941c6a0718SPierre Ossman	  This option 'selects' (turns on, enables) 'TIFM_CORE', but you
4951c6a0718SPierre Ossman	  probably also need appropriate card reader host adapter, such as
4961c6a0718SPierre Ossman	  'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
4971c6a0718SPierre Ossman	  (TIFM_7XX1)'.
4981c6a0718SPierre Ossman
4991c6a0718SPierre Ossman          To compile this driver as a module, choose M here: the
5001c6a0718SPierre Ossman	  module will be called tifm_sd.
5011c6a0718SPierre Ossman
502236caa7cSMaen Suleimanconfig MMC_MVSDIO
503236caa7cSMaen Suleiman	tristate "Marvell MMC/SD/SDIO host driver"
504236caa7cSMaen Suleiman	depends on PLAT_ORION
50517da6783SLinus Walleij	depends on OF
506236caa7cSMaen Suleiman	---help---
507236caa7cSMaen Suleiman	  This selects the Marvell SDIO host driver.
508236caa7cSMaen Suleiman	  SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
509236caa7cSMaen Suleiman	  SoC controllers.
510236caa7cSMaen Suleiman
511236caa7cSMaen Suleiman	  To compile this driver as a module, choose M here: the
512236caa7cSMaen Suleiman	  module will be called mvsdio.
513236caa7cSMaen Suleiman
514b4cff454SVipin Bhandariconfig MMC_DAVINCI
515b4cff454SVipin Bhandari        tristate "TI DAVINCI Multimedia Card Interface support"
516b4cff454SVipin Bhandari        depends on ARCH_DAVINCI
517b4cff454SVipin Bhandari        help
518b4cff454SVipin Bhandari          This selects the TI DAVINCI Multimedia card Interface.
519b4cff454SVipin Bhandari          If you have an DAVINCI board with a Multimedia Card slot,
520b4cff454SVipin Bhandari          say Y or M here.  If unsure, say N.
521b4cff454SVipin Bhandari
52285c34d2eSMike Lockwoodconfig MMC_GOLDFISH
52385c34d2eSMike Lockwood	tristate "goldfish qemu Multimedia Card Interface support"
5247f8a9a7eSLuis de Bethencourt	depends on GOLDFISH || COMPILE_TEST
52585c34d2eSMike Lockwood	help
52685c34d2eSMike Lockwood	  This selects the Goldfish Multimedia card Interface emulation
52785c34d2eSMike Lockwood	  found on the Goldfish Android virtual device emulation.
52885c34d2eSMike Lockwood
52915a0580cSDavid Brownellconfig MMC_SPI
53057105737SPierre Ossman	tristate "MMC/SD/SDIO over SPI"
531e176c255SIan Molton	depends on SPI_MASTER && HAS_DMA
53215a0580cSDavid Brownell	select CRC7
53315a0580cSDavid Brownell	select CRC_ITU_T
53415a0580cSDavid Brownell	help
535692105b8SMatt LaPlante	  Some systems access MMC/SD/SDIO cards using a SPI controller
53657105737SPierre Ossman	  instead of using a "native" MMC/SD/SDIO controller.  This has a
53757105737SPierre Ossman	  disadvantage of being relatively high overhead, but a compensating
53857105737SPierre Ossman	  advantage of working on many systems without dedicated MMC/SD/SDIO
53957105737SPierre Ossman	  controllers.
54015a0580cSDavid Brownell
54115a0580cSDavid Brownell	  If unsure, or if your system has no SPI master driver, say N.
54215a0580cSDavid Brownell
543be518018SThomas Kleffelconfig MMC_S3C
544be518018SThomas Kleffel	tristate "Samsung S3C SD/MMC Card Interface support"
545b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
546b45e4b50SVasily Khoruzhick	depends on S3C24XX_DMAC
547be518018SThomas Kleffel	help
548be518018SThomas Kleffel	  This selects a driver for the MCI interface found in
549be518018SThomas Kleffel          Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
550be518018SThomas Kleffel	  If you have a board based on one of those and a MMC/SD
551be518018SThomas Kleffel	  slot, say Y or M here.
552be518018SThomas Kleffel
553be518018SThomas Kleffel	  If unsure, say N.
554be518018SThomas Kleffel
5555a2c4fe0SBen Dooksconfig MMC_S3C_HW_SDIO_IRQ
5565a2c4fe0SBen Dooks       bool "Hardware support for SDIO IRQ"
5575a2c4fe0SBen Dooks       depends on MMC_S3C
5585a2c4fe0SBen Dooks       help
5595a2c4fe0SBen Dooks         Enable the hardware support for SDIO interrupts instead of using
5605a2c4fe0SBen Dooks	 the generic polling code.
5615a2c4fe0SBen Dooks
56226f14947SBen Dookschoice
56326f14947SBen Dooks	prompt "Samsung S3C SD/MMC transfer code"
56426f14947SBen Dooks	depends on MMC_S3C
56526f14947SBen Dooks
56626f14947SBen Dooksconfig MMC_S3C_PIO
56726f14947SBen Dooks	bool "Use PIO transfers only"
56826f14947SBen Dooks	help
56926f14947SBen Dooks	  Use PIO to transfer data between memory and the hardware.
57026f14947SBen Dooks
57126f14947SBen Dooks	  PIO is slower than DMA as it requires CPU instructions to
57226f14947SBen Dooks	  move the data. This has been the traditional default for
57326f14947SBen Dooks	  the S3C MCI driver.
57426f14947SBen Dooks
57526f14947SBen Dooksconfig MMC_S3C_DMA
57686147c84SKees Cook	bool "Use DMA transfers only"
57726f14947SBen Dooks	help
57826f14947SBen Dooks	  Use DMA to transfer data between memory and the hardare.
57926f14947SBen Dooks
58026f14947SBen Dooks	  Currently, the DMA support in this driver seems to not be
58126f14947SBen Dooks	  working properly and needs to be debugged before this
58226f14947SBen Dooks	  option is useful.
58326f14947SBen Dooks
58426f14947SBen Dooksendchoice
58526f14947SBen Dooks
5866a36913aSSascha Sommerconfig MMC_SDRICOH_CS
58786147c84SKees Cook	tristate "MMC/SD driver for Ricoh Bay1Controllers"
58886147c84SKees Cook	depends on PCI && PCMCIA
5896a36913aSSascha Sommer	help
5906a36913aSSascha Sommer	  Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
5916a36913aSSascha Sommer	  card whenever you insert a MMC or SD card into the card slot.
5926a36913aSSascha Sommer
5936a36913aSSascha Sommer	  To compile this driver as a module, choose M here: the
5946a36913aSSascha Sommer	  module will be called sdricoh_cs.
5956a36913aSSascha Sommer
596b6147490SGuennadi Liakhovetskiconfig MMC_TMIO_CORE
597b6147490SGuennadi Liakhovetski	tristate
598b6147490SGuennadi Liakhovetski
5994a48998fSIan Moltonconfig MMC_TMIO
6004a48998fSIan Molton	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
60142051e8aSGuennadi Liakhovetski	depends on MFD_TMIO || MFD_ASIC3
602b6147490SGuennadi Liakhovetski	select MMC_TMIO_CORE
6034a48998fSIan Molton	help
6044a48998fSIan Molton	  This provides support for the SD/MMC cell found in TC6393XB,
605e6f2c7adSPhilipp Zabel	  T7L66XB and also HTC ASIC3
6065f5bac82SMichał Mirosław
60742051e8aSGuennadi Liakhovetskiconfig MMC_SDHI
608b5b6a5f4SSimon Horman	tristate "Renesas SDHI SD/SDIO controller support"
60949312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
61042051e8aSGuennadi Liakhovetski	select MMC_TMIO_CORE
61142051e8aSGuennadi Liakhovetski	help
61242051e8aSGuennadi Liakhovetski	  This provides support for the SDHI SD/SDIO controller found in
613b5b6a5f4SSimon Horman	  Renesas SuperH, ARM and ARM64 based SoCs
61442051e8aSGuennadi Liakhovetski
6152a68ea78SSimon Hormanconfig MMC_SDHI_SYS_DMAC
6162a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
6171d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
618c813e10aSMasahiro Yamada	default MMC_SDHI if (SUPERH || ARM)
6192a68ea78SSimon Horman	help
6202a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6212a68ea78SSimon Horman	  using SYS-DMAC via DMA Engine. This supports the controllers
6222a68ea78SSimon Horman	  found in SuperH and Renesas ARM based SoCs.
6232a68ea78SSimon Horman
6242a68ea78SSimon Hormanconfig MMC_SDHI_INTERNAL_DMAC
6252a68ea78SSimon Horman	tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
6262a68ea78SSimon Horman	depends on ARM64 || COMPILE_TEST
6271d6efe08SGeert Uytterhoeven	depends on MMC_SDHI
628c813e10aSMasahiro Yamada	default MMC_SDHI if ARM64
6292a68ea78SSimon Horman	help
6302a68ea78SSimon Horman	  This provides DMA support for SDHI SD/SDIO controllers
6312a68ea78SSimon Horman	  using on-chip bus mastering. This supports the controllers
6322a68ea78SSimon Horman	  found in arm64 based SoCs.
6332a68ea78SSimon Horman
6345f5bac82SMichał Mirosławconfig MMC_CB710
6355f5bac82SMichał Mirosław	tristate "ENE CB710 MMC/SD Interface support"
6360244ad00SMartin Schwidefsky	depends on PCI
6375f5bac82SMichał Mirosław	select CB710_CORE
6385f5bac82SMichał Mirosław	help
6395f5bac82SMichał Mirosław	  This option enables support for MMC/SD part of ENE CB710/720 Flash
6405f5bac82SMichał Mirosław	  memory card reader found in some laptops (ie. some versions of
6415f5bac82SMichał Mirosław	  HP Compaq nx9500).
6425f5bac82SMichał Mirosław
6435f5bac82SMichał Mirosław	  This driver can also be built as a module. If so, the module
6445f5bac82SMichał Mirosław	  will be called cb710-mmc.
6455f5bac82SMichał Mirosław
646f0bf7f61SHarald Welteconfig MMC_VIA_SDMMC
647f0bf7f61SHarald Welte	tristate "VIA SD/MMC Card Reader Driver"
648f0bf7f61SHarald Welte	depends on PCI
649f0bf7f61SHarald Welte	help
650f0bf7f61SHarald Welte	  This selects the VIA SD/MMC Card Reader driver, say Y or M here.
651f0bf7f61SHarald Welte	  VIA provides one multi-functional card reader which integrated into
652f0bf7f61SHarald Welte	  some motherboards manufactured by VIA. This card reader supports
653f0bf7f61SHarald Welte	  SD/MMC/SDHC.
654f0bf7f61SHarald Welte	  If you have a controller with this interface, say Y or M here.
655f0bf7f61SHarald Welte
656f0bf7f61SHarald Welte	  If unsure, say N.
657eb962d5bSCliff Cai
65801d95843SSteven J. Hillconfig MMC_CAVIUM_OCTEON
65901d95843SSteven J. Hill	tristate "Cavium OCTEON SD/MMC Card Interface support"
66001d95843SSteven J. Hill	depends on CAVIUM_OCTEON_SOC
66101d95843SSteven J. Hill	help
66201d95843SSteven J. Hill	  This selects Cavium OCTEON SD/MMC card Interface.
66301d95843SSteven J. Hill	  If you have an OCTEON board with a Multimedia Card slot,
66401d95843SSteven J. Hill	  say Y or M here.
66501d95843SSteven J. Hill
66601d95843SSteven J. Hill	  If unsure, say N.
66701d95843SSteven J. Hill
668166bac38SJan Glauberconfig MMC_CAVIUM_THUNDERX
669166bac38SJan Glauber	tristate "Cavium ThunderX SD/MMC Card Interface support"
670166bac38SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
67162467bbbSJan Glauber	depends on GPIO_THUNDERX
672166bac38SJan Glauber	depends on OF_ADDRESS
673166bac38SJan Glauber	help
674166bac38SJan Glauber	  This selects Cavium ThunderX SD/MMC Card Interface.
675166bac38SJan Glauber	  If you have an Cavium ARM64 board with a Multimedia Card slot
676166bac38SJan Glauber	  or builtin eMMC chip say Y or M here. If built as a module
677166bac38SJan Glauber	  the module will be called thunderx_mmc.ko.
678166bac38SJan Glauber
679f95f3850SWill Newtonconfig MMC_DW
680f95f3850SWill Newton	tristate "Synopsys DesignWare Memory Card Interface"
681c34346b2SAlim Akhtar	depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
682f95f3850SWill Newton	help
683f95f3850SWill Newton	  This selects support for the Synopsys DesignWare Mobile Storage IP
684f95f3850SWill Newton	  block, this provides host support for SD and MMC interfaces, in both
6853fc7eaefSShawn Lin	  PIO, internal DMA mode and external DMA mode.
686f95f3850SWill Newton
68762ca8034SShashidhar Hiremathconfig MMC_DW_PLTFM
68862ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI Support as platform device"
68962ca8034SShashidhar Hiremath	depends on MMC_DW
69062ca8034SShashidhar Hiremath	default y
69162ca8034SShashidhar Hiremath	help
69262ca8034SShashidhar Hiremath	  This selects the common helper functions support for Host Controller
69362ca8034SShashidhar Hiremath	  Interface based platform driver. Please select this option if the IP
69462ca8034SShashidhar Hiremath	  is present as a platform device. This is the common interface for the
69562ca8034SShashidhar Hiremath	  Synopsys Designware IP.
69662ca8034SShashidhar Hiremath
69762ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
69862ca8034SShashidhar Hiremath
69962ca8034SShashidhar Hiremath	  If unsure, say Y.
70062ca8034SShashidhar Hiremath
70186958dccSLiming Sunconfig MMC_DW_BLUEFIELD
70286958dccSLiming Sun	tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
70386958dccSLiming Sun	depends on MMC_DW
70486958dccSLiming Sun	select MMC_DW_PLTFM
70586958dccSLiming Sun	help
70686958dccSLiming Sun	  This selects support for Mellanox BlueField SoC specific extensions to
70786958dccSLiming Sun	  the Synopsys DesignWare Memory Card Interface driver. Select this
70886958dccSLiming Sun	  option for platforms based on Mellanox BlueField SoC's.
70986958dccSLiming Sun
710c3665006SThomas Abrahamconfig MMC_DW_EXYNOS
711e41e85ccSMasanari Iida	tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
712c3665006SThomas Abraham	depends on MMC_DW
713c3665006SThomas Abraham	select MMC_DW_PLTFM
714c3665006SThomas Abraham	help
715c3665006SThomas Abraham	  This selects support for Samsung Exynos SoC specific extensions to the
716c3665006SThomas Abraham	  Synopsys DesignWare Memory Card Interface driver. Select this option
717c3665006SThomas Abraham	  for platforms based on Exynos4 and Exynos5 SoC's.
718c3665006SThomas Abraham
719e382ab74Stianshuliangconfig MMC_DW_HI3798CV200
720e382ab74Stianshuliang	tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
721e382ab74Stianshuliang	depends on MMC_DW
722e382ab74Stianshuliang	select MMC_DW_PLTFM
723e382ab74Stianshuliang	help
724e382ab74Stianshuliang	  This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
725e382ab74Stianshuliang	  Synopsys DesignWare Memory Card Interface driver. Select this option
726e382ab74Stianshuliang	  for platforms based on HiSilicon Hi3798CV200 SoC.
727e382ab74Stianshuliang
728036f29d5SZhangfei Gaoconfig MMC_DW_K3
729036f29d5SZhangfei Gao	tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
730036f29d5SZhangfei Gao	depends on MMC_DW
731036f29d5SZhangfei Gao	select MMC_DW_PLTFM
732036f29d5SZhangfei Gao	help
733036f29d5SZhangfei Gao	  This selects support for Hisilicon K3 SoC specific extensions to the
734036f29d5SZhangfei Gao	  Synopsys DesignWare Memory Card Interface driver. Select this option
735036f29d5SZhangfei Gao	  for platforms based on Hisilicon K3 SoC's.
736036f29d5SZhangfei Gao
73762ca8034SShashidhar Hiremathconfig MMC_DW_PCI
73862ca8034SShashidhar Hiremath	tristate "Synopsys Designware MCI support on PCI bus"
73962ca8034SShashidhar Hiremath	depends on MMC_DW && PCI
74062ca8034SShashidhar Hiremath	help
74162ca8034SShashidhar Hiremath	  This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
74262ca8034SShashidhar Hiremath	  Select this option if the IP is present on PCI platform.
74362ca8034SShashidhar Hiremath
74462ca8034SShashidhar Hiremath	  If you have a controller with this interface, say Y or M here.
74562ca8034SShashidhar Hiremath
74662ca8034SShashidhar Hiremath	  If unsure, say N.
74762ca8034SShashidhar Hiremath
7484cdc2ec1Saddy keconfig MMC_DW_ROCKCHIP
7494cdc2ec1Saddy ke	tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
7504cdc2ec1Saddy ke	depends on MMC_DW && ARCH_ROCKCHIP
7514cdc2ec1Saddy ke	select MMC_DW_PLTFM
7524cdc2ec1Saddy ke	help
7534cdc2ec1Saddy ke	  This selects support for Rockchip SoC specific extensions to the
7544cdc2ec1Saddy ke	  Synopsys DesignWare Memory Card Interface driver. Select this option
7554cdc2ec1Saddy ke	  for platforms based on RK3066, RK3188 and RK3288 SoC's.
7564cdc2ec1Saddy ke
757a8c643adSJun Nieconfig MMC_DW_ZX
758a8c643adSJun Nie	tristate "ZTE specific extensions for Synopsys DW Memory Card Interface"
759a8c643adSJun Nie	depends on MMC_DW && ARCH_ZX
760a8c643adSJun Nie	select MMC_DW_PLTFM
761a8c643adSJun Nie	help
762a8c643adSJun Nie	  This selects support for ZTE SoC specific extensions to the
763a8c643adSJun Nie	  Synopsys DesignWare Memory Card Interface driver. Select this option
764a8c643adSJun Nie	  for platforms based on ZX296718 SoC's.
765a8c643adSJun Nie
766fdc50a94SYusuke Godaconfig MMC_SH_MMCIF
767fdc50a94SYusuke Goda	tristate "SuperH Internal MMCIF support"
76849312c1fSSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
769fdc50a94SYusuke Goda	help
770ba9e9157SWolfram Sang	  This selects the MMC Host Interface controller (MMCIF) found in various
771ba9e9157SWolfram Sang	  Renesas SoCs for SH and ARM architectures.
772fdc50a94SYusuke Goda
77361bfbdb8SLars-Peter Clausen
77461bfbdb8SLars-Peter Clausenconfig MMC_JZ4740
7756a78768aSAlex Smith	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
776685bc885SPaul Cercueil	depends on MIPS
77761bfbdb8SLars-Peter Clausen	help
7786a78768aSAlex Smith	  This selects support for the SD/MMC controller on Ingenic
7796a78768aSAlex Smith	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
7806a78768aSAlex Smith
78161bfbdb8SLars-Peter Clausen	  If you have a board based on such a SoC and with a SD/MMC slot,
78261bfbdb8SLars-Peter Clausen	  say Y or M here.
78353f3a9e2SDavid Vrabel
78488095e7bSTony Olechconfig MMC_VUB300
78588095e7bSTony Olech	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
78688095e7bSTony Olech	depends on USB
78788095e7bSTony Olech	help
78888095e7bSTony Olech	  This selects support for Elan Digital Systems' VUB300 chip.
78988095e7bSTony Olech
79088095e7bSTony Olech	  The VUB300 is a USB-SDIO Host Controller Interface chip
79188095e7bSTony Olech	  that enables the host computer to use SDIO/SD/MMC cards
79288095e7bSTony Olech	  via a USB 2.0 or USB 1.1 host.
79388095e7bSTony Olech
79488095e7bSTony Olech	  The VUB300 chip will be found in both physically separate
79588095e7bSTony Olech	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
79688095e7bSTony Olech
79788095e7bSTony Olech	  The VUB300 chip supports SD and MMC memory cards in addition
79888095e7bSTony Olech	  to single and multifunction SDIO cards.
79988095e7bSTony Olech
80088095e7bSTony Olech	  Some SDIO cards will need a firmware file to be loaded and
80188095e7bSTony Olech	  sent to VUB300 chip in order to achieve better data throughput.
80288095e7bSTony Olech	  Download these "Offload Pseudocode" from Elan Digital Systems'
80388095e7bSTony Olech	  web-site http://www.elandigitalsystems.com/support/downloads.php
80488095e7bSTony Olech	  and put them in /lib/firmware. Note that without these additional
80588095e7bSTony Olech	  firmware files the VUB300 chip will still function, but not at
80688095e7bSTony Olech	  the best obtainable data rate.
80788095e7bSTony Olech
80888095e7bSTony Olech	  To compile this mmc host controller driver as a module,
80988095e7bSTony Olech	  choose M here: the module will be called vub300.
81088095e7bSTony Olech
81188095e7bSTony Olech	  If you have a computer with an embedded VUB300 chip
81288095e7bSTony Olech	  or if you intend connecting a USB adapter based on a
81388095e7bSTony Olech	  VUB300 chip say Y or M here.
81488095e7bSTony Olech
81553f3a9e2SDavid Vrabelconfig MMC_USHC
81653f3a9e2SDavid Vrabel	tristate "USB SD Host Controller (USHC) support"
81753f3a9e2SDavid Vrabel	depends on USB
81853f3a9e2SDavid Vrabel	help
81953f3a9e2SDavid Vrabel	  This selects support for USB SD Host Controllers based on
82053f3a9e2SDavid Vrabel	  the Cypress Astoria chip with firmware compliant with CSR's
82153f3a9e2SDavid Vrabel	  USB SD Host Controller specification (CS-118793-SP).
82253f3a9e2SDavid Vrabel
82353f3a9e2SDavid Vrabel	  CSR boards with this device include: USB<>SDIO (M1985v2),
82453f3a9e2SDavid Vrabel	  and Ultrasira.
82553f3a9e2SDavid Vrabel
82653f3a9e2SDavid Vrabel	  Note: These controllers only support SDIO cards and do not
82753f3a9e2SDavid Vrabel	  support MMC or SD memory cards.
8283a96dff0STony Prisk
8293a96dff0STony Priskconfig MMC_WMT
8303a96dff0STony Prisk	tristate "Wondermedia SD/MMC Host Controller support"
8313a96dff0STony Prisk	depends on ARCH_VT8500
8323a96dff0STony Prisk	default y
8333a96dff0STony Prisk	help
8343a96dff0STony Prisk	  This selects support for the SD/MMC Host Controller on
8353a96dff0STony Prisk	  Wondermedia WM8505/WM8650 based SoCs.
8363a96dff0STony Prisk
8373a96dff0STony Prisk	  To compile this driver as a module, choose M here: the
8383a96dff0STony Prisk	  module will be called wmt-sdmmc.
8396a5971d8SLinus Torvalds
84075fa9ea6SGuennadi Liakhovetskiconfig MMC_USDHI6ROL0
84175fa9ea6SGuennadi Liakhovetski	tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
8421ef94740SGeert Uytterhoeven	depends on HAS_DMA
84375fa9ea6SGuennadi Liakhovetski	help
84475fa9ea6SGuennadi Liakhovetski	  This selects support for the Renesas USDHI6ROL0 SD/SDIO
84575fa9ea6SGuennadi Liakhovetski	  Host Controller
84675fa9ea6SGuennadi Liakhovetski
8472c94b645SWei WANGconfig MMC_REALTEK_PCI
8482c94b645SWei WANG	tristate "Realtek PCI-E SD/MMC Card Interface Driver"
849e455b69dSRui Feng	depends on MISC_RTSX_PCI
8502c94b645SWei WANG	help
8512c94b645SWei WANG	  Say Y here to include driver code to support SD/MMC card interface
8522c94b645SWei WANG	  of Realtek PCI-E card reader
853c7f6558dSRoger Tseng
854c7f6558dSRoger Tsengconfig MMC_REALTEK_USB
855c7f6558dSRoger Tseng	tristate "Realtek USB SD/MMC Card Interface Driver"
856e455b69dSRui Feng	depends on MISC_RTSX_USB
857c7f6558dSRoger Tseng	help
858c7f6558dSRoger Tseng	  Say Y here to include driver code to support SD/MMC card interface
859c7f6558dSRoger Tseng	  of Realtek RTS5129/39 series card reader
86019b7f796SDavid Lanzendörfer
86119b7f796SDavid Lanzendörferconfig MMC_SUNXI
86219b7f796SDavid Lanzendörfer	tristate "Allwinner sunxi SD/MMC Host Controller support"
86319b7f796SDavid Lanzendörfer	depends on ARCH_SUNXI
86419b7f796SDavid Lanzendörfer	help
86519b7f796SDavid Lanzendörfer	  This selects support for the SD/MMC Host Controller on
86619b7f796SDavid Lanzendörfer	  Allwinner sunxi SoCs.
867a5eb8bbdSOndrej Zary
868a4080225SVenkat Gopalakrishnanconfig MMC_CQHCI
869a4080225SVenkat Gopalakrishnan	tristate "Command Queue Host Controller Interface support"
870a4080225SVenkat Gopalakrishnan	depends on HAS_DMA
871a4080225SVenkat Gopalakrishnan	help
872a4080225SVenkat Gopalakrishnan	  This selects the Command Queue Host Controller Interface (CQHCI)
873a4080225SVenkat Gopalakrishnan	  support present in host controllers of Qualcomm Technologies, Inc
874a4080225SVenkat Gopalakrishnan	  amongst others.
875a4080225SVenkat Gopalakrishnan	  This controller supports eMMC devices with command queue support.
876a4080225SVenkat Gopalakrishnan
877a4080225SVenkat Gopalakrishnan	  If you have a controller with this interface, say Y or M here.
878a4080225SVenkat Gopalakrishnan
879a4080225SVenkat Gopalakrishnan	  If unsure, say N.
880a4080225SVenkat Gopalakrishnan
881a5eb8bbdSOndrej Zaryconfig MMC_TOSHIBA_PCI
882a5eb8bbdSOndrej Zary	tristate "Toshiba Type A SD/MMC Card Interface Driver"
883a5eb8bbdSOndrej Zary	depends on PCI
88420848903SChaotian Jing
885660fc733SEric Anholtconfig MMC_BCM2835
886660fc733SEric Anholt	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
887660fc733SEric Anholt	depends on ARCH_BCM2835 || COMPILE_TEST
888660fc733SEric Anholt	help
889660fc733SEric Anholt	  This selects the BCM2835 SDHOST MMC controller. If you have
890660fc733SEric Anholt	  a BCM2835 platform with SD or MMC devices, say Y or M here.
891660fc733SEric Anholt
892660fc733SEric Anholt	  Note that the BCM2835 has two SD controllers: The Arasan
893660fc733SEric Anholt	  sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
894660fc733SEric Anholt	  sdhost controller (supported by this driver).
895660fc733SEric Anholt
896660fc733SEric Anholt	  If unsure, say N.
897660fc733SEric Anholt
89820848903SChaotian Jingconfig MMC_MTK
89920848903SChaotian Jing	tristate "MediaTek SD/MMC Card Interface support"
900c2b22fffSGeert Uytterhoeven	depends on HAS_DMA
90120848903SChaotian Jing	help
90220848903SChaotian Jing	  This selects the MediaTek(R) Secure digital and Multimedia card Interface.
90320848903SChaotian Jing	  If you have a machine with a integrated SD/MMC card reader, say Y or M here.
90420848903SChaotian Jing	  This is needed if support for any SD/SDIO/MMC devices is required.
90520848903SChaotian Jing	  If unsure, say N.
9065d9460d7SAndrei Pistirica
9075d9460d7SAndrei Pistiricaconfig MMC_SDHCI_MICROCHIP_PIC32
9085d9460d7SAndrei Pistirica        tristate "Microchip PIC32MZDA SDHCI support"
9095d9460d7SAndrei Pistirica        depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
9105d9460d7SAndrei Pistirica        help
9115d9460d7SAndrei Pistirica          This selects the Secure Digital Host Controller Interface (SDHCI)
9125d9460d7SAndrei Pistirica          for PIC32MZDA platform.
9135d9460d7SAndrei Pistirica
9145d9460d7SAndrei Pistirica          If you have a controller with this interface, say Y or M here.
9155d9460d7SAndrei Pistirica
9165d9460d7SAndrei Pistirica          If unsure, say N.
917476bf3d6SAl Cooperconfig MMC_SDHCI_BRCMSTB
918476bf3d6SAl Cooper	tristate "Broadcom SDIO/SD/MMC support"
919476bf3d6SAl Cooper	depends on ARCH_BRCMSTB || BMIPS_GENERIC
920476bf3d6SAl Cooper	depends on MMC_SDHCI_PLTFM
921476bf3d6SAl Cooper	default y
922476bf3d6SAl Cooper	help
923476bf3d6SAl Cooper	  This selects support for the SDIO/SD/MMC Host Controller on
924476bf3d6SAl Cooper	  Broadcom STB SoCs.
925476bf3d6SAl Cooper
926476bf3d6SAl Cooper	  If unsure, say Y.
9273a3748dbSHu Ziji
9283a3748dbSHu Zijiconfig MMC_SDHCI_XENON
9293a3748dbSHu Ziji	tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
9303a3748dbSHu Ziji	depends on MMC_SDHCI_PLTFM
9313a3748dbSHu Ziji	help
9323a3748dbSHu Ziji	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
9333a3748dbSHu Ziji	  If you have a controller with this interface, say Y or M here.
9343a3748dbSHu Ziji	  If unsure, say N.
9357d326930SKishon Vijay Abraham I
9367d326930SKishon Vijay Abraham Iconfig MMC_SDHCI_OMAP
9377d326930SKishon Vijay Abraham I	tristate "TI SDHCI Controller Support"
9387d326930SKishon Vijay Abraham I	depends on MMC_SDHCI_PLTFM && OF
9397d326930SKishon Vijay Abraham I	help
9407d326930SKishon Vijay Abraham I	  This selects the Secure Digital Host Controller Interface (SDHCI)
9417d326930SKishon Vijay Abraham I	  support present in TI's DRA7 SOCs. The controller supports
9427d326930SKishon Vijay Abraham I	  SD/MMC/SDIO devices.
9437d326930SKishon Vijay Abraham I
9447d326930SKishon Vijay Abraham I	  If you have a controller with this interface, say Y or M here.
9457d326930SKishon Vijay Abraham I
9467d326930SKishon Vijay Abraham I	  If unsure, say N.
947