blob: 2167e2f69170bba4efe0b8a0afe6866284b313be [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
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030084config MMC_SDHCI_OF
85 tristate "SDHCI support on OpenFirmware platforms"
86 depends on MMC_SDHCI && PPC_OF
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030087 help
88 This selects the OF support for Secure Digital Host Controller
Albert Herranz7657c3a2009-12-17 15:27:20 -080089 Interfaces.
90
91 If unsure, say N.
92
93config MMC_SDHCI_OF_ESDHC
94 bool "SDHCI OF support for the Freescale eSDHC controller"
95 depends on MMC_SDHCI_OF
96 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
97 help
98 This selects the Freescale eSDHC controller support.
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030099
100 If unsure, say N.
101
Albert Herranz1144ab52009-12-17 15:27:20 -0800102config MMC_SDHCI_OF_HLWD
103 bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
104 depends on MMC_SDHCI_OF
105 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
106 help
107 This selects the Secure Digital Host Controller Interface (SDHCI)
108 found in the "Hollywood" chipset of the Nintendo Wii video game
109 console.
110
111 If unsure, say N.
112
Richard Röjforsa3456a22009-06-04 13:57:29 +0200113config MMC_SDHCI_PLTFM
114 tristate "SDHCI support on the platform specific bus"
115 depends on MMC_SDHCI
116 help
117 This selects the platform specific bus support for Secure Digital Host
118 Controller Interface.
119
120 If you have a controller with this interface, say Y or M here.
121
122 If unsure, say N.
123
Ben Dooks0d1bb412009-06-14 13:52:37 +0100124config MMC_SDHCI_S3C
125 tristate "SDHCI support on Samsung S3C SoC"
126 depends on MMC_SDHCI && (PLAT_S3C24XX || PLAT_S3C64XX)
127 help
128 This selects the Secure Digital Host Controller Interface (SDHCI)
129 often referrered to as the HSMMC block in some of the Samsung S3C
130 range of SoC.
131
132 Note, due to the problems with DMA, the DMA support is only
133 available with CONFIG_EXPERIMENTAL is selected.
134
135 If you have a controller with this interface, say Y or M here.
136
137 If unsure, say N.
138
Viresh KUMARc63b3cb2010-05-26 14:42:10 -0700139config MMC_SDHCI_SPEAR
140 tristate "SDHCI support on ST SPEAr platform"
141 depends on MMC_SDHCI && PLAT_SPEAR
142 help
143 This selects the Secure Digital Host Controller Interface (SDHCI)
144 often referrered to as the HSMMC block in some of the ST SPEAR range
145 of SoC
146
147 If you have a controller with this interface, say Y or M here.
148
149 If unsure, say N.
150
Ben Dooks0d1bb412009-06-14 13:52:37 +0100151config MMC_SDHCI_S3C_DMA
152 bool "DMA support on S3C SDHCI"
153 depends on MMC_SDHCI_S3C && EXPERIMENTAL
154 help
155 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
156 has proved to be problematic if the controller encounters
157 certain errors, and thus should be treated with care.
158
159 YMMV.
160
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100161config MMC_OMAP
162 tristate "TI OMAP Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200163 depends on ARCH_OMAP
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100164 select TPS65010 if MACH_OMAP_H2
165 help
166 This selects the TI OMAP Multimedia card Interface.
167 If you have an OMAP board with a Multimedia Card slot,
168 say Y or M here.
169
170 If unsure, say N.
171
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100172config MMC_OMAP_HS
173 tristate "TI OMAP High Speed Multimedia Card Interface support"
kishore kadiyala82cf8182009-09-22 16:45:25 -0700174 depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100175 help
176 This selects the TI OMAP High Speed Multimedia card Interface.
kishore kadiyala82cf8182009-09-22 16:45:25 -0700177 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
178 Multimedia Card slot, say Y or M here.
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100179
180 If unsure, say N.
181
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100182config MMC_WBSD
183 tristate "Winbond W83L51xD SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200184 depends on ISA_DMA_API
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100185 help
186 This selects the Winbond(R) W83L51xD Secure digital and
187 Multimedia card Interface.
188 If you have a machine with a integrated W83L518D or W83L519D
189 SD/MMC card reader, say Y or M here.
190
191 If unsure, say N.
192
193config MMC_AU1X
194 tristate "Alchemy AU1XX0 MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200195 depends on SOC_AU1200
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100196 help
197 This selects the AMD Alchemy(R) Multimedia card interface.
198 If you have a Alchemy platform with a MMC slot, say Y or M here.
199
200 If unsure, say N.
201
Rob Emanuele04d699c2009-09-22 16:45:19 -0700202choice
203 prompt "Atmel SD/MMC Driver"
Nicolas Ferre09591dd2010-03-05 13:43:22 -0800204 depends on AVR32 || ARCH_AT91
Rob Emanuele04d699c2009-09-22 16:45:19 -0700205 default MMC_ATMELMCI if AVR32
206 help
207 Choose which driver to use for the Atmel MCI Silicon
208
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100209config MMC_AT91
210 tristate "AT91 SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200211 depends on ARCH_AT91
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100212 help
213 This selects the AT91 MCI controller.
214
215 If unsure, say N.
216
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200217config MMC_ATMELMCI
218 tristate "Atmel Multimedia Card Interface support"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700219 depends on AVR32 || ARCH_AT91
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200220 help
221 This selects the Atmel Multimedia Card Interface driver. If
Rob Emanuele04d699c2009-09-22 16:45:19 -0700222 you have an AT32 (AVR32) or AT91 platform with a Multimedia
223 Card slot, say Y or M here.
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200224
225 If unsure, say N.
226
Rob Emanuele04d699c2009-09-22 16:45:19 -0700227endchoice
228
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200229config MMC_ATMELMCI_DMA
230 bool "Atmel MCI DMA support (EXPERIMENTAL)"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700231 depends on MMC_ATMELMCI && AVR32 && DMA_ENGINE && EXPERIMENTAL
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200232 help
233 Say Y here to have the Atmel MCI driver use a DMA engine to
234 do data transfers and thus increase the throughput and
235 reduce the CPU utilization. Note that this is highly
236 experimental and may cause the driver to lock up.
237
238 If unsure, say N.
239
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100240config MMC_IMX
241 tristate "Motorola i.MX Multimedia Card Interface support"
Sascha Hauer8c8fdbc2009-04-01 12:40:15 +0200242 depends on ARCH_MX1
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100243 help
244 This selects the Motorola i.MX Multimedia card Interface.
245 If you have a i.MX platform with a Multimedia Card slot,
246 say Y or M here.
247
248 If unsure, say N.
249
Sahitya Tummalaeba3f132010-07-29 16:58:01 +0530250config MMC_MSM
251 tristate "Qualcomm SDCC Controller Support"
Sahitya Tummalaedd4dd02010-07-29 16:57:41 +0530252 depends on MMC && ARCH_MSM
San Mehat9d2bd732009-09-22 16:44:22 -0700253 help
254 This provides support for the SD/MMC cell found in the
Sahitya Tummalaeba3f132010-07-29 16:58:01 +0530255 MSM and QSD SOCs from Qualcomm. The controller also has
256 support for SDIO devices.
San Mehat9d2bd732009-09-22 16:44:22 -0700257
Sascha Hauerd96be872009-01-06 17:04:14 +0100258config MMC_MXC
259 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
260 depends on ARCH_MXC
261 help
262 This selects the Freescale i.MX2/3 Multimedia card Interface.
263 If you have a i.MX platform with a Multimedia Card slot,
264 say Y or M here.
265
266 If unsure, say N.
267
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100268config MMC_TIFM_SD
269 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200270 depends on EXPERIMENTAL && PCI
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100271 select TIFM_CORE
272 help
273 Say Y here if you want to be able to access MMC/SD cards with
274 the Texas Instruments(R) Flash Media card reader, found in many
275 laptops.
276 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
277 probably also need appropriate card reader host adapter, such as
278 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
279 (TIFM_7XX1)'.
280
281 To compile this driver as a module, choose M here: the
282 module will be called tifm_sd.
283
Maen Suleiman236caa72009-02-14 03:07:26 -0500284config MMC_MVSDIO
285 tristate "Marvell MMC/SD/SDIO host driver"
286 depends on PLAT_ORION
287 ---help---
288 This selects the Marvell SDIO host driver.
289 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
290 SoC controllers.
291
292 To compile this driver as a module, choose M here: the
293 module will be called mvsdio.
294
Vipin Bhandarib4cff452009-12-14 18:01:21 -0800295config MMC_DAVINCI
296 tristate "TI DAVINCI Multimedia Card Interface support"
297 depends on ARCH_DAVINCI
298 help
299 This selects the TI DAVINCI Multimedia card Interface.
300 If you have an DAVINCI board with a Multimedia Card slot,
301 say Y or M here. If unsure, say N.
302
David Brownell15a05802007-08-08 09:12:54 -0700303config MMC_SPI
Pierre Ossman57105732008-09-07 13:16:58 +0200304 tristate "MMC/SD/SDIO over SPI"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200305 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
David Brownell15a05802007-08-08 09:12:54 -0700306 select CRC7
307 select CRC_ITU_T
308 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100309 Some systems access MMC/SD/SDIO cards using a SPI controller
Pierre Ossman57105732008-09-07 13:16:58 +0200310 instead of using a "native" MMC/SD/SDIO controller. This has a
311 disadvantage of being relatively high overhead, but a compensating
312 advantage of working on many systems without dedicated MMC/SD/SDIO
313 controllers.
David Brownell15a05802007-08-08 09:12:54 -0700314
315 If unsure, or if your system has no SPI master driver, say N.
316
Thomas Kleffelbe518012008-06-30 22:40:24 +0100317config MMC_S3C
318 tristate "Samsung S3C SD/MMC Card Interface support"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200319 depends on ARCH_S3C2410
Thomas Kleffelbe518012008-06-30 22:40:24 +0100320 help
321 This selects a driver for the MCI interface found in
322 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
323 If you have a board based on one of those and a MMC/SD
324 slot, say Y or M here.
325
326 If unsure, say N.
327
Ben Dooks5a2c4fe2009-10-01 15:44:20 -0700328config MMC_S3C_HW_SDIO_IRQ
329 bool "Hardware support for SDIO IRQ"
330 depends on MMC_S3C
331 help
332 Enable the hardware support for SDIO interrupts instead of using
333 the generic polling code.
334
Ben Dooks26f14942009-10-01 15:44:18 -0700335choice
336 prompt "Samsung S3C SD/MMC transfer code"
337 depends on MMC_S3C
338
339config MMC_S3C_PIO
340 bool "Use PIO transfers only"
341 help
342 Use PIO to transfer data between memory and the hardware.
343
344 PIO is slower than DMA as it requires CPU instructions to
345 move the data. This has been the traditional default for
346 the S3C MCI driver.
347
348config MMC_S3C_DMA
349 bool "Use DMA transfers only (EXPERIMENTAL)"
350 depends on EXPERIMENTAL
351 help
352 Use DMA to transfer data between memory and the hardare.
353
354 Currently, the DMA support in this driver seems to not be
355 working properly and needs to be debugged before this
356 option is useful.
357
358config MMC_S3C_PIODMA
359 bool "Support for both PIO and DMA (EXPERIMENTAL)"
360 help
361 Compile both the PIO and DMA transfer routines into the
362 driver and let the platform select at run-time which one
363 is best.
364
365 See notes for the DMA option.
366
367endchoice
368
Sascha Sommer6a369132008-07-15 14:21:29 +0200369config MMC_SDRICOH_CS
370 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200371 depends on EXPERIMENTAL && PCI && PCMCIA
Sascha Sommer6a369132008-07-15 14:21:29 +0200372 help
373 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
374 card whenever you insert a MMC or SD card into the card slot.
375
376 To compile this driver as a module, choose M here: the
377 module will be called sdricoh_cs.
378
Ian Molton4a489982008-07-15 16:02:21 +0100379config MMC_TMIO
380 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
Magnus Damm3d8ca8c2010-02-22 13:40:59 +0900381 depends on MFD_TMIO || MFD_ASIC3 || MFD_SH_MOBILE_SDHI
Ian Molton4a489982008-07-15 16:02:21 +0100382 help
383 This provides support for the SD/MMC cell found in TC6393XB,
Philipp Zabele6f2c7a2009-06-04 20:12:37 +0200384 T7L66XB and also HTC ASIC3
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200385
386config MMC_CB710
387 tristate "ENE CB710 MMC/SD Interface support"
388 depends on PCI
389 select CB710_CORE
390 help
391 This option enables support for MMC/SD part of ENE CB710/720 Flash
392 memory card reader found in some laptops (ie. some versions of
393 HP Compaq nx9500).
394
395 This driver can also be built as a module. If so, the module
396 will be called cb710-mmc.
397
Harald Weltef0bf7f62009-06-17 20:22:39 +0200398config MMC_VIA_SDMMC
399 tristate "VIA SD/MMC Card Reader Driver"
400 depends on PCI
401 help
402 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
403 VIA provides one multi-functional card reader which integrated into
404 some motherboards manufactured by VIA. This card reader supports
405 SD/MMC/SDHC.
406 If you have a controller with this interface, say Y or M here.
407
408 If unsure, say N.
Cliff Caieb962d52009-12-14 18:01:32 -0800409
410config SDH_BFIN
411 tristate "Blackfin Secure Digital Host support"
Mike Frysinger05dabcc2010-03-05 13:43:24 -0800412 depends on (BF54x && !BF544) || (BF51x && !BF512)
Cliff Caieb962d52009-12-14 18:01:32 -0800413 help
414 If you say yes here you will get support for the Blackfin on-chip
415 Secure Digital Host interface. This includes support for MMC and
416 SD cards.
417
418 To compile this driver as a module, choose M here: the
419 module will be called bfin_sdh.
420
421 If unsure, say N.
422
423config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
424 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
425 depends on SDH_BFIN
426 help
427 If you say yes here SD-Cards may work on the EZkit.
Yusuke Godafdc50a92010-05-26 14:41:59 -0700428
429config MMC_SH_MMCIF
430 tristate "SuperH Internal MMCIF support"
431 depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
432 help
433 This selects the MMC Host Interface controler (MMCIF).
434
435 This driver supports MMCIF in sh7724/sh7757/sh7372.