blob: c67edda145ed4c99d384f58da9356775e1237579 [file] [log] [blame]
Pierre Ossman1c6a0712007-02-11 19:57:36 +01001#
2# MMC/SD host controller drivers
3#
4
Pierre Ossman57105732008-09-07 13:16:58 +02005comment "MMC/SD/SDIO Host Controller Drivers"
Pierre Ossman1c6a0712007-02-11 19:57:36 +01006
7config MMC_ARMMMCI
8 tristate "ARM AMBA Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +02009 depends on ARM_AMBA
Pierre Ossman1c6a0712007-02-11 19:57:36 +010010 help
11 This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
12 Interface (PL180 and PL181) support. If you have an ARM(R)
13 platform with a Multimedia Card slot, say Y or M here.
14
15 If unsure, say N.
16
17config MMC_PXA
18 tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +020019 depends on ARCH_PXA
Pierre Ossman1c6a0712007-02-11 19:57:36 +010020 help
21 This selects the Intel(R) PXA(R) Multimedia card Interface.
22 If you have a PXA(R) platform with a Multimedia Card slot,
23 say Y or M here.
24
25 If unsure, say N.
26
27config MMC_SDHCI
Pierre Ossman34671dc2008-01-05 23:18:58 +010028 tristate "Secure Digital Host Controller Interface support"
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010029 depends on HAS_DMA
Pierre Ossman1c6a0712007-02-11 19:57:36 +010030 help
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010031 This selects the generic Secure Digital Host Controller Interface.
Pierre Ossman1c6a0712007-02-11 19:57:36 +010032 It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
33 and Toshiba(R). Most controllers found in laptops are of this type.
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010034
35 If you have a controller with this interface, say Y or M here. You
36 also need to enable an appropriate bus interface.
37
38 If unsure, say N.
39
Anton Vorontsov4e4141a2009-03-17 00:13:46 +030040config MMC_SDHCI_IO_ACCESSORS
41 bool
42 depends on MMC_SDHCI
43 help
44 This is silent Kconfig symbol that is selected by the drivers that
45 need to overwrite SDHCI IO memory accessors.
46
Albert Herranz7657c3a2009-12-17 15:27:20 -080047config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
48 bool
49 select MMC_SDHCI_IO_ACCESSORS
50 help
51 This option is selected by drivers running on big endian hosts
52 and performing I/O to a SDHCI controller through a bus that
53 implements a hardware byte swapper using a 32-bit datum.
54 This endian mapping mode is called "data invariance" and
55 has the effect of scrambling the addresses and formats of data
56 accessed in sizes other than the datum size.
57
Albert Herranz1144ab52009-12-17 15:27:20 -080058 This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
Albert Herranz7657c3a2009-12-17 15:27:20 -080059
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010060config MMC_SDHCI_PCI
61 tristate "SDHCI support on PCI bus"
62 depends on MMC_SDHCI && PCI
63 help
64 This selects the PCI Secure Digital Host Controller Interface.
65 Most controllers found today are PCI devices.
66
Pierre Ossman1c6a0712007-02-11 19:57:36 +010067 If you have a controller with this interface, say Y or M here.
68
69 If unsure, say N.
70
Philip Langdale5ae70292007-09-15 12:54:08 -070071config MMC_RICOH_MMC
Maxim Levitsky03cd8f72010-03-05 13:43:20 -080072 bool "Ricoh MMC Controller Disabler (EXPERIMENTAL)"
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010073 depends on MMC_SDHCI_PCI
Philip Langdale5ae70292007-09-15 12:54:08 -070074 help
Maxim Levitsky03cd8f72010-03-05 13:43:20 -080075 This adds a pci quirk to disable Ricoh MMC Controller. This
Philip Langdale5ae70292007-09-15 12:54:08 -070076 proprietary controller is unnecessary because the SDHCI driver
77 supports MMC cards on the SD controller, but if it is not
78 disabled, it will steal the MMC cards away - rendering them
Maxim Levitsky03cd8f72010-03-05 13:43:20 -080079 useless. It is safe to select this even if you don't
Philip Langdale5ae70292007-09-15 12:54:08 -070080 have a Ricoh based card reader.
81
Philip Langdale5ae70292007-09-15 12:54:08 -070082 If unsure, say Y.
83
Shawn Guof0de8362011-06-02 10:57:50 +080084config MMC_SDHCI_PLTFM
85 tristate "SDHCI platform and OF driver helper"
Shawn Guo38576af2011-05-27 23:48:14 +080086 depends on MMC_SDHCI
Shawn Guof0de8362011-06-02 10:57:50 +080087 help
88 This selects the common helper functions support for Secure Digital
89 Host Controller Interface based platform and OF drivers.
90
91 If you have a controller with this interface, say Y or M here.
92
93 If unsure, say N.
94
95config MMC_SDHCI_OF_ESDHC
96 tristate "SDHCI OF support for the Freescale eSDHC controller"
97 depends on MMC_SDHCI_PLTFM
Rob Herring236cdc72011-01-03 11:56:38 -060098 depends on PPC_OF
Albert Herranz7657c3a2009-12-17 15:27:20 -080099 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
100 help
101 This selects the Freescale eSDHC controller support.
Anton Vorontsov3085e9c2009-03-17 00:14:05 +0300102
Shawn Guof0de8362011-06-02 10:57:50 +0800103 If you have a controller with this interface, say Y or M here.
104
Anton Vorontsov3085e9c2009-03-17 00:14:05 +0300105 If unsure, say N.
106
Albert Herranz1144ab52009-12-17 15:27:20 -0800107config MMC_SDHCI_OF_HLWD
Shawn Guof0de8362011-06-02 10:57:50 +0800108 tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
109 depends on MMC_SDHCI_PLTFM
Rob Herring236cdc72011-01-03 11:56:38 -0600110 depends on PPC_OF
Albert Herranz1144ab52009-12-17 15:27:20 -0800111 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
112 help
113 This selects the Secure Digital Host Controller Interface (SDHCI)
114 found in the "Hollywood" chipset of the Nintendo Wii video game
115 console.
116
Shawn Guof0de8362011-06-02 10:57:50 +0800117 If you have a controller with this interface, say Y or M here.
118
Albert Herranz1144ab52009-12-17 15:27:20 -0800119 If unsure, say N.
120
Anton Vorontsov20b1597b2010-08-10 18:01:49 -0700121config MMC_SDHCI_CNS3XXX
Shawn Guo85d65092011-05-27 23:48:12 +0800122 tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
Anton Vorontsov20b1597b2010-08-10 18:01:49 -0700123 depends on ARCH_CNS3XXX
Shawn Guof0de8362011-06-02 10:57:50 +0800124 depends on MMC_SDHCI_PLTFM
Anton Vorontsov20b1597b2010-08-10 18:01:49 -0700125 help
126 This selects the SDHCI support for CNS3xxx System-on-Chip devices.
127
Shawn Guof0de8362011-06-02 10:57:50 +0800128 If you have a controller with this interface, say Y or M here.
129
Anton Vorontsov20b1597b2010-08-10 18:01:49 -0700130 If unsure, say N.
131
Wolfram Sang95f25ef2010-10-15 12:21:04 +0200132config MMC_SDHCI_ESDHC_IMX
Shawn Guo85d65092011-05-27 23:48:12 +0800133 tristate "SDHCI platform support for the Freescale eSDHC i.MX controller"
134 depends on ARCH_MX25 || ARCH_MX35 || ARCH_MX5
Shawn Guof0de8362011-06-02 10:57:50 +0800135 depends on MMC_SDHCI_PLTFM
Wolfram Sang95f25ef2010-10-15 12:21:04 +0200136 select MMC_SDHCI_IO_ACCESSORS
137 help
138 This selects the Freescale eSDHC controller support on the platform
139 bus, found on platforms like mx35/51.
140
Shawn Guof0de8362011-06-02 10:57:50 +0800141 If you have a controller with this interface, say Y or M here.
142
Wolfram Sang95f25ef2010-10-15 12:21:04 +0200143 If unsure, say N.
144
Mike Rapoport985b1aa2010-11-07 16:57:12 -0500145config MMC_SDHCI_DOVE
Shawn Guo85d65092011-05-27 23:48:12 +0800146 tristate "SDHCI support on Marvell's Dove SoC"
Mike Rapoport985b1aa2010-11-07 16:57:12 -0500147 depends on ARCH_DOVE
Shawn Guof0de8362011-06-02 10:57:50 +0800148 depends on MMC_SDHCI_PLTFM
Mike Rapoport985b1aa2010-11-07 16:57:12 -0500149 select MMC_SDHCI_IO_ACCESSORS
150 help
151 This selects the Secure Digital Host Controller Interface in
152 Marvell's Dove SoC.
153
Shawn Guof0de8362011-06-02 10:57:50 +0800154 If you have a controller with this interface, say Y or M here.
155
Mike Rapoport985b1aa2010-11-07 16:57:12 -0500156 If unsure, say N.
157
Olof Johansson03d2bfc2011-01-01 23:52:56 -0500158config MMC_SDHCI_TEGRA
Shawn Guo85d65092011-05-27 23:48:12 +0800159 tristate "SDHCI platform support for the Tegra SD/MMC Controller"
160 depends on ARCH_TEGRA
Shawn Guof0de8362011-06-02 10:57:50 +0800161 depends on MMC_SDHCI_PLTFM
Olof Johansson03d2bfc2011-01-01 23:52:56 -0500162 select MMC_SDHCI_IO_ACCESSORS
163 help
164 This selects the Tegra SD/MMC controller. If you have a Tegra
165 platform with SD or MMC devices, say Y or M here.
166
167 If unsure, say N.
168
Ben Dooks0d1bb412009-06-14 13:52:37 +0100169config MMC_SDHCI_S3C
170 tristate "SDHCI support on Samsung S3C SoC"
Kyungmin Park930a6f72010-08-19 14:13:35 -0700171 depends on MMC_SDHCI && PLAT_SAMSUNG
Ben Dooks0d1bb412009-06-14 13:52:37 +0100172 help
173 This selects the Secure Digital Host Controller Interface (SDHCI)
174 often referrered to as the HSMMC block in some of the Samsung S3C
175 range of SoC.
176
177 Note, due to the problems with DMA, the DMA support is only
178 available with CONFIG_EXPERIMENTAL is selected.
179
180 If you have a controller with this interface, say Y or M here.
181
182 If unsure, say N.
183
Zhangfei Gao536ac992010-09-20 10:51:28 -0400184config MMC_SDHCI_PXA
185 tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
186 depends on ARCH_PXA || ARCH_MMP
187 select MMC_SDHCI
188 select MMC_SDHCI_IO_ACCESSORS
189 help
190 This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
191 If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
192 and a card slot, say Y or M here.
193
194 If unsure, say N.
195
Zhangfei Gaoa702c8a2011-06-08 17:41:57 +0800196config MMC_SDHCI_PXAV3
197 tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
198 depends on CLKDEV_LOOKUP
199 select MMC_SDHCI
200 select MMC_SDHCI_PLTFM
201 default CPU_MMP2
202 help
203 This selects the Marvell(R) PXAV3 SD Host Controller.
204 If you have a MMP2 platform with SD Host Controller
205 and a card slot, say Y or M here.
206
207 If unsure, say N.
208
Zhangfei Gao9f5d71e2011-06-08 17:41:58 +0800209config MMC_SDHCI_PXAV2
210 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
211 depends on CLKDEV_LOOKUP
212 select MMC_SDHCI
213 select MMC_SDHCI_PLTFM
214 default CPU_PXA910
215 help
216 This selects the Marvell(R) PXAV2 SD Host Controller.
217 If you have a PXA9XX platform with SD Host Controller
218 and a card slot, say Y or M here.
219
220 If unsure, say N.
221
Viresh KUMARc63b3cb2010-05-26 14:42:10 -0700222config MMC_SDHCI_SPEAR
223 tristate "SDHCI support on ST SPEAr platform"
224 depends on MMC_SDHCI && PLAT_SPEAR
225 help
226 This selects the Secure Digital Host Controller Interface (SDHCI)
227 often referrered to as the HSMMC block in some of the ST SPEAR range
228 of SoC
229
230 If you have a controller with this interface, say Y or M here.
231
232 If unsure, say N.
233
Ben Dooks0d1bb412009-06-14 13:52:37 +0100234config MMC_SDHCI_S3C_DMA
235 bool "DMA support on S3C SDHCI"
236 depends on MMC_SDHCI_S3C && EXPERIMENTAL
237 help
238 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
239 has proved to be problematic if the controller encounters
240 certain errors, and thus should be treated with care.
241
242 YMMV.
243
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100244config MMC_OMAP
245 tristate "TI OMAP Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200246 depends on ARCH_OMAP
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100247 select TPS65010 if MACH_OMAP_H2
248 help
249 This selects the TI OMAP Multimedia card Interface.
250 If you have an OMAP board with a Multimedia Card slot,
251 say Y or M here.
252
253 If unsure, say N.
254
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100255config MMC_OMAP_HS
256 tristate "TI OMAP High Speed Multimedia Card Interface support"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800257 depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100258 help
259 This selects the TI OMAP High Speed Multimedia card Interface.
kishore kadiyala82cf8182009-09-22 16:45:25 -0700260 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
261 Multimedia Card slot, say Y or M here.
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100262
263 If unsure, say N.
264
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100265config MMC_WBSD
266 tristate "Winbond W83L51xD SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200267 depends on ISA_DMA_API
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100268 help
269 This selects the Winbond(R) W83L51xD Secure digital and
270 Multimedia card Interface.
271 If you have a machine with a integrated W83L518D or W83L519D
272 SD/MMC card reader, say Y or M here.
273
274 If unsure, say N.
275
276config MMC_AU1X
277 tristate "Alchemy AU1XX0 MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200278 depends on SOC_AU1200
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100279 help
280 This selects the AMD Alchemy(R) Multimedia card interface.
281 If you have a Alchemy platform with a MMC slot, say Y or M here.
282
283 If unsure, say N.
284
Rob Emanuele04d699c2009-09-22 16:45:19 -0700285choice
286 prompt "Atmel SD/MMC Driver"
Nicolas Ferre09591dd2010-03-05 13:43:22 -0800287 depends on AVR32 || ARCH_AT91
Rob Emanuele04d699c2009-09-22 16:45:19 -0700288 default MMC_ATMELMCI if AVR32
289 help
290 Choose which driver to use for the Atmel MCI Silicon
291
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100292config MMC_AT91
293 tristate "AT91 SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200294 depends on ARCH_AT91
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100295 help
296 This selects the AT91 MCI controller.
297
298 If unsure, say N.
299
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200300config MMC_ATMELMCI
301 tristate "Atmel Multimedia Card Interface support"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700302 depends on AVR32 || ARCH_AT91
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200303 help
304 This selects the Atmel Multimedia Card Interface driver. If
Rob Emanuele04d699c2009-09-22 16:45:19 -0700305 you have an AT32 (AVR32) or AT91 platform with a Multimedia
306 Card slot, say Y or M here.
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200307
308 If unsure, say N.
309
Rob Emanuele04d699c2009-09-22 16:45:19 -0700310endchoice
311
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200312config MMC_ATMELMCI_DMA
313 bool "Atmel MCI DMA support (EXPERIMENTAL)"
Nicolas Ferre75305d72010-10-22 18:27:48 +0200314 depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE && EXPERIMENTAL
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200315 help
316 Say Y here to have the Atmel MCI driver use a DMA engine to
317 do data transfers and thus increase the throughput and
318 reduce the CPU utilization. Note that this is highly
319 experimental and may cause the driver to lock up.
320
321 If unsure, say N.
322
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100323config MMC_IMX
324 tristate "Motorola i.MX Multimedia Card Interface support"
Sascha Hauer8c8fdbc2009-04-01 12:40:15 +0200325 depends on ARCH_MX1
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100326 help
327 This selects the Motorola i.MX Multimedia card Interface.
328 If you have a i.MX platform with a Multimedia Card slot,
329 say Y or M here.
330
331 If unsure, say N.
332
Sahitya Tummalaeba3f132010-07-29 16:58:01 +0530333config MMC_MSM
334 tristate "Qualcomm SDCC Controller Support"
Sahitya Tummalaedd4dd02010-07-29 16:57:41 +0530335 depends on MMC && ARCH_MSM
San Mehat9d2bd732009-09-22 16:44:22 -0700336 help
337 This provides support for the SD/MMC cell found in the
Sahitya Tummalaeba3f132010-07-29 16:58:01 +0530338 MSM and QSD SOCs from Qualcomm. The controller also has
339 support for SDIO devices.
San Mehat9d2bd732009-09-22 16:44:22 -0700340
Sascha Hauerd96be872009-01-06 17:04:14 +0100341config MMC_MXC
342 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
Fabio Estevam170cba82011-01-20 15:02:59 -0200343 depends on MACH_MX21 || MACH_MX27 || ARCH_MX31
Sascha Hauerd96be872009-01-06 17:04:14 +0100344 help
345 This selects the Freescale i.MX2/3 Multimedia card Interface.
346 If you have a i.MX platform with a Multimedia Card slot,
347 say Y or M here.
348
349 If unsure, say N.
350
Shawn Guoe4243f12011-02-21 18:35:28 +0800351config MMC_MXS
352 tristate "Freescale MXS Multimedia Card Interface support"
353 depends on ARCH_MXS && MXS_DMA
354 help
355 This selects the Freescale SSP MMC controller found on MXS based
356 platforms like mx23/28.
357
358 If unsure, say N.
359
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100360config MMC_TIFM_SD
361 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200362 depends on EXPERIMENTAL && PCI
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100363 select TIFM_CORE
364 help
365 Say Y here if you want to be able to access MMC/SD cards with
366 the Texas Instruments(R) Flash Media card reader, found in many
367 laptops.
368 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
369 probably also need appropriate card reader host adapter, such as
370 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
371 (TIFM_7XX1)'.
372
373 To compile this driver as a module, choose M here: the
374 module will be called tifm_sd.
375
Maen Suleiman236caa72009-02-14 03:07:26 -0500376config MMC_MVSDIO
377 tristate "Marvell MMC/SD/SDIO host driver"
378 depends on PLAT_ORION
379 ---help---
380 This selects the Marvell SDIO host driver.
381 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
382 SoC controllers.
383
384 To compile this driver as a module, choose M here: the
385 module will be called mvsdio.
386
Vipin Bhandarib4cff452009-12-14 18:01:21 -0800387config MMC_DAVINCI
388 tristate "TI DAVINCI Multimedia Card Interface support"
389 depends on ARCH_DAVINCI
390 help
391 This selects the TI DAVINCI Multimedia card Interface.
392 If you have an DAVINCI board with a Multimedia Card slot,
393 say Y or M here. If unsure, say N.
394
David Brownell15a05802007-08-08 09:12:54 -0700395config MMC_SPI
Pierre Ossman57105732008-09-07 13:16:58 +0200396 tristate "MMC/SD/SDIO over SPI"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200397 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
David Brownell15a05802007-08-08 09:12:54 -0700398 select CRC7
399 select CRC_ITU_T
400 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100401 Some systems access MMC/SD/SDIO cards using a SPI controller
Pierre Ossman57105732008-09-07 13:16:58 +0200402 instead of using a "native" MMC/SD/SDIO controller. This has a
403 disadvantage of being relatively high overhead, but a compensating
404 advantage of working on many systems without dedicated MMC/SD/SDIO
405 controllers.
David Brownell15a05802007-08-08 09:12:54 -0700406
407 If unsure, or if your system has no SPI master driver, say N.
408
Thomas Kleffelbe518012008-06-30 22:40:24 +0100409config MMC_S3C
410 tristate "Samsung S3C SD/MMC Card Interface support"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200411 depends on ARCH_S3C2410
Thomas Kleffelbe518012008-06-30 22:40:24 +0100412 help
413 This selects a driver for the MCI interface found in
414 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
415 If you have a board based on one of those and a MMC/SD
416 slot, say Y or M here.
417
418 If unsure, say N.
419
Ben Dooks5a2c4fe2009-10-01 15:44:20 -0700420config MMC_S3C_HW_SDIO_IRQ
421 bool "Hardware support for SDIO IRQ"
422 depends on MMC_S3C
423 help
424 Enable the hardware support for SDIO interrupts instead of using
425 the generic polling code.
426
Ben Dooks26f14942009-10-01 15:44:18 -0700427choice
428 prompt "Samsung S3C SD/MMC transfer code"
429 depends on MMC_S3C
430
431config MMC_S3C_PIO
432 bool "Use PIO transfers only"
433 help
434 Use PIO to transfer data between memory and the hardware.
435
436 PIO is slower than DMA as it requires CPU instructions to
437 move the data. This has been the traditional default for
438 the S3C MCI driver.
439
440config MMC_S3C_DMA
441 bool "Use DMA transfers only (EXPERIMENTAL)"
442 depends on EXPERIMENTAL
443 help
444 Use DMA to transfer data between memory and the hardare.
445
446 Currently, the DMA support in this driver seems to not be
447 working properly and needs to be debugged before this
448 option is useful.
449
450config MMC_S3C_PIODMA
451 bool "Support for both PIO and DMA (EXPERIMENTAL)"
452 help
453 Compile both the PIO and DMA transfer routines into the
454 driver and let the platform select at run-time which one
455 is best.
456
457 See notes for the DMA option.
458
459endchoice
460
Sascha Sommer6a369132008-07-15 14:21:29 +0200461config MMC_SDRICOH_CS
462 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200463 depends on EXPERIMENTAL && PCI && PCMCIA
Sascha Sommer6a369132008-07-15 14:21:29 +0200464 help
465 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
466 card whenever you insert a MMC or SD card into the card slot.
467
468 To compile this driver as a module, choose M here: the
469 module will be called sdricoh_cs.
470
Guennadi Liakhovetskib6147492011-03-23 12:42:44 +0100471config MMC_TMIO_CORE
472 tristate
473
Ian Molton4a489982008-07-15 16:02:21 +0100474config MMC_TMIO
475 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +0100476 depends on MFD_TMIO || MFD_ASIC3
Guennadi Liakhovetskib6147492011-03-23 12:42:44 +0100477 select MMC_TMIO_CORE
Ian Molton4a489982008-07-15 16:02:21 +0100478 help
479 This provides support for the SD/MMC cell found in TC6393XB,
Philipp Zabele6f2c7a2009-06-04 20:12:37 +0200480 T7L66XB and also HTC ASIC3
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200481
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +0100482config MMC_SDHI
483 tristate "SH-Mobile SDHI SD/SDIO controller support"
Guennadi Liakhovetski022b4832011-03-28 09:16:33 +0200484 depends on SUPERH || ARCH_SHMOBILE
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +0100485 select MMC_TMIO_CORE
486 help
487 This provides support for the SDHI SD/SDIO controller found in
488 SuperH and ARM SH-Mobile SoCs
489
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200490config MMC_CB710
491 tristate "ENE CB710 MMC/SD Interface support"
492 depends on PCI
Randy Dunlap9ffca832010-10-14 15:01:43 -0400493 select MISC_DEVICES
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200494 select CB710_CORE
495 help
496 This option enables support for MMC/SD part of ENE CB710/720 Flash
497 memory card reader found in some laptops (ie. some versions of
498 HP Compaq nx9500).
499
500 This driver can also be built as a module. If so, the module
501 will be called cb710-mmc.
502
Harald Weltef0bf7f62009-06-17 20:22:39 +0200503config MMC_VIA_SDMMC
504 tristate "VIA SD/MMC Card Reader Driver"
505 depends on PCI
506 help
507 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
508 VIA provides one multi-functional card reader which integrated into
509 some motherboards manufactured by VIA. This card reader supports
510 SD/MMC/SDHC.
511 If you have a controller with this interface, say Y or M here.
512
513 If unsure, say N.
Cliff Caieb962d52009-12-14 18:01:32 -0800514
515config SDH_BFIN
516 tristate "Blackfin Secure Digital Host support"
Mike Frysinger05dabcc2010-03-05 13:43:24 -0800517 depends on (BF54x && !BF544) || (BF51x && !BF512)
Cliff Caieb962d52009-12-14 18:01:32 -0800518 help
519 If you say yes here you will get support for the Blackfin on-chip
520 Secure Digital Host interface. This includes support for MMC and
521 SD cards.
522
523 To compile this driver as a module, choose M here: the
524 module will be called bfin_sdh.
525
526 If unsure, say N.
527
528config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
529 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
530 depends on SDH_BFIN
531 help
532 If you say yes here SD-Cards may work on the EZkit.
Yusuke Godafdc50a92010-05-26 14:41:59 -0700533
Will Newtonf95f3852011-01-02 01:11:59 -0500534config MMC_DW
535 tristate "Synopsys DesignWare Memory Card Interface"
536 depends on ARM
537 help
538 This selects support for the Synopsys DesignWare Mobile Storage IP
539 block, this provides host support for SD and MMC interfaces, in both
540 PIO and external DMA modes.
541
542config MMC_DW_IDMAC
543 bool "Internal DMAC interface"
544 depends on MMC_DW
545 help
546 This selects support for the internal DMAC block within the Synopsys
547 Designware Mobile Storage IP block. This disables the external DMA
548 interface.
549
Yusuke Godafdc50a92010-05-26 14:41:59 -0700550config MMC_SH_MMCIF
551 tristate "SuperH Internal MMCIF support"
552 depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
553 help
Uwe Kleine-Königb5950762010-11-01 15:38:34 -0400554 This selects the MMC Host Interface controller (MMCIF).
Yusuke Godafdc50a92010-05-26 14:41:59 -0700555
556 This driver supports MMCIF in sh7724/sh7757/sh7372.
Lars-Peter Clausen61bfbdb2010-07-15 20:06:04 +0000557
558config MMC_JZ4740
559 tristate "JZ4740 SD/Multimedia Card Interface support"
560 depends on MACH_JZ4740
561 help
562 This selects support for the SD/MMC controller on Ingenic JZ4740
563 SoCs.
564 If you have a board based on such a SoC and with a SD/MMC slot,
565 say Y or M here.
David Vrabel53f3a9e2010-09-02 14:15:08 +0000566
Tony Olech88095e72011-05-14 16:48:13 -0400567config MMC_VUB300
568 tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
569 depends on USB
570 help
571 This selects support for Elan Digital Systems' VUB300 chip.
572
573 The VUB300 is a USB-SDIO Host Controller Interface chip
574 that enables the host computer to use SDIO/SD/MMC cards
575 via a USB 2.0 or USB 1.1 host.
576
577 The VUB300 chip will be found in both physically separate
578 USB to SDIO/SD/MMC adapters and embedded on some motherboards.
579
580 The VUB300 chip supports SD and MMC memory cards in addition
581 to single and multifunction SDIO cards.
582
583 Some SDIO cards will need a firmware file to be loaded and
584 sent to VUB300 chip in order to achieve better data throughput.
585 Download these "Offload Pseudocode" from Elan Digital Systems'
586 web-site http://www.elandigitalsystems.com/support/downloads.php
587 and put them in /lib/firmware. Note that without these additional
588 firmware files the VUB300 chip will still function, but not at
589 the best obtainable data rate.
590
591 To compile this mmc host controller driver as a module,
592 choose M here: the module will be called vub300.
593
594 If you have a computer with an embedded VUB300 chip
595 or if you intend connecting a USB adapter based on a
596 VUB300 chip say Y or M here.
597
David Vrabel53f3a9e2010-09-02 14:15:08 +0000598config MMC_USHC
599 tristate "USB SD Host Controller (USHC) support"
600 depends on USB
601 help
602 This selects support for USB SD Host Controllers based on
603 the Cypress Astoria chip with firmware compliant with CSR's
604 USB SD Host Controller specification (CS-118793-SP).
605
606 CSR boards with this device include: USB<>SDIO (M1985v2),
607 and Ultrasira.
608
609 Note: These controllers only support SDIO cards and do not
610 support MMC or SD memory cards.