blob: d9234648199a43af2924bf32a2bdba55eec78070 [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
58 This is the case for the Freescale eSDHC.
59
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
72 tristate "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
75 This selects the disabler for the Ricoh MMC Controller. This
76 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
79 useless. It is safe to select this driver even if you don't
80 have a Ricoh based card reader.
81
82
83 To compile this driver as a module, choose M here:
84 the module will be called ricoh_mmc.
85
86 If unsure, say Y.
87
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030088config MMC_SDHCI_OF
89 tristate "SDHCI support on OpenFirmware platforms"
90 depends on MMC_SDHCI && PPC_OF
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030091 help
92 This selects the OF support for Secure Digital Host Controller
Albert Herranz7657c3a2009-12-17 15:27:20 -080093 Interfaces.
94
95 If unsure, say N.
96
97config MMC_SDHCI_OF_ESDHC
98 bool "SDHCI OF support for the Freescale eSDHC controller"
99 depends on MMC_SDHCI_OF
100 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
101 help
102 This selects the Freescale eSDHC controller support.
Anton Vorontsov3085e9c2009-03-17 00:14:05 +0300103
104 If unsure, say N.
105
Richard Röjforsa3456a22009-06-04 13:57:29 +0200106config MMC_SDHCI_PLTFM
107 tristate "SDHCI support on the platform specific bus"
108 depends on MMC_SDHCI
109 help
110 This selects the platform specific bus support for Secure Digital Host
111 Controller Interface.
112
113 If you have a controller with this interface, say Y or M here.
114
115 If unsure, say N.
116
Ben Dooks0d1bb412009-06-14 13:52:37 +0100117config MMC_SDHCI_S3C
118 tristate "SDHCI support on Samsung S3C SoC"
119 depends on MMC_SDHCI && (PLAT_S3C24XX || PLAT_S3C64XX)
120 help
121 This selects the Secure Digital Host Controller Interface (SDHCI)
122 often referrered to as the HSMMC block in some of the Samsung S3C
123 range of SoC.
124
125 Note, due to the problems with DMA, the DMA support is only
126 available with CONFIG_EXPERIMENTAL is selected.
127
128 If you have a controller with this interface, say Y or M here.
129
130 If unsure, say N.
131
132config MMC_SDHCI_S3C_DMA
133 bool "DMA support on S3C SDHCI"
134 depends on MMC_SDHCI_S3C && EXPERIMENTAL
135 help
136 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
137 has proved to be problematic if the controller encounters
138 certain errors, and thus should be treated with care.
139
140 YMMV.
141
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100142config MMC_OMAP
143 tristate "TI OMAP Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200144 depends on ARCH_OMAP
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100145 select TPS65010 if MACH_OMAP_H2
146 help
147 This selects the TI OMAP Multimedia card Interface.
148 If you have an OMAP board with a Multimedia Card slot,
149 say Y or M here.
150
151 If unsure, say N.
152
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100153config MMC_OMAP_HS
154 tristate "TI OMAP High Speed Multimedia Card Interface support"
kishore kadiyala82cf8182009-09-22 16:45:25 -0700155 depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100156 help
157 This selects the TI OMAP High Speed Multimedia card Interface.
kishore kadiyala82cf8182009-09-22 16:45:25 -0700158 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
159 Multimedia Card slot, say Y or M here.
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100160
161 If unsure, say N.
162
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100163config MMC_WBSD
164 tristate "Winbond W83L51xD SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200165 depends on ISA_DMA_API
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100166 help
167 This selects the Winbond(R) W83L51xD Secure digital and
168 Multimedia card Interface.
169 If you have a machine with a integrated W83L518D or W83L519D
170 SD/MMC card reader, say Y or M here.
171
172 If unsure, say N.
173
174config MMC_AU1X
175 tristate "Alchemy AU1XX0 MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200176 depends on SOC_AU1200
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100177 help
178 This selects the AMD Alchemy(R) Multimedia card interface.
179 If you have a Alchemy platform with a MMC slot, say Y or M here.
180
181 If unsure, say N.
182
Rob Emanuele04d699c2009-09-22 16:45:19 -0700183choice
184 prompt "Atmel SD/MMC Driver"
185 default MMC_ATMELMCI if AVR32
186 help
187 Choose which driver to use for the Atmel MCI Silicon
188
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100189config MMC_AT91
190 tristate "AT91 SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200191 depends on ARCH_AT91
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100192 help
193 This selects the AT91 MCI controller.
194
195 If unsure, say N.
196
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200197config MMC_ATMELMCI
198 tristate "Atmel Multimedia Card Interface support"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700199 depends on AVR32 || ARCH_AT91
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200200 help
201 This selects the Atmel Multimedia Card Interface driver. If
Rob Emanuele04d699c2009-09-22 16:45:19 -0700202 you have an AT32 (AVR32) or AT91 platform with a Multimedia
203 Card slot, say Y or M here.
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200204
205 If unsure, say N.
206
Rob Emanuele04d699c2009-09-22 16:45:19 -0700207endchoice
208
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200209config MMC_ATMELMCI_DMA
210 bool "Atmel MCI DMA support (EXPERIMENTAL)"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700211 depends on MMC_ATMELMCI && AVR32 && DMA_ENGINE && EXPERIMENTAL
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200212 help
213 Say Y here to have the Atmel MCI driver use a DMA engine to
214 do data transfers and thus increase the throughput and
215 reduce the CPU utilization. Note that this is highly
216 experimental and may cause the driver to lock up.
217
218 If unsure, say N.
219
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100220config MMC_IMX
221 tristate "Motorola i.MX Multimedia Card Interface support"
Sascha Hauer8c8fdbc2009-04-01 12:40:15 +0200222 depends on ARCH_MX1
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100223 help
224 This selects the Motorola i.MX Multimedia card Interface.
225 If you have a i.MX platform with a Multimedia Card slot,
226 say Y or M here.
227
228 If unsure, say N.
229
San Mehat9d2bd732009-09-22 16:44:22 -0700230config MMC_MSM7X00A
231 tristate "Qualcomm MSM 7X00A SDCC Controller Support"
232 depends on MMC && ARCH_MSM
233 help
234 This provides support for the SD/MMC cell found in the
235 MSM 7X00A controllers from Qualcomm.
236
Sascha Hauerd96be872009-01-06 17:04:14 +0100237config MMC_MXC
238 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
239 depends on ARCH_MXC
240 help
241 This selects the Freescale i.MX2/3 Multimedia card Interface.
242 If you have a i.MX platform with a Multimedia Card slot,
243 say Y or M here.
244
245 If unsure, say N.
246
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100247config MMC_TIFM_SD
248 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200249 depends on EXPERIMENTAL && PCI
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100250 select TIFM_CORE
251 help
252 Say Y here if you want to be able to access MMC/SD cards with
253 the Texas Instruments(R) Flash Media card reader, found in many
254 laptops.
255 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
256 probably also need appropriate card reader host adapter, such as
257 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
258 (TIFM_7XX1)'.
259
260 To compile this driver as a module, choose M here: the
261 module will be called tifm_sd.
262
Maen Suleiman236caa72009-02-14 03:07:26 -0500263config MMC_MVSDIO
264 tristate "Marvell MMC/SD/SDIO host driver"
265 depends on PLAT_ORION
266 ---help---
267 This selects the Marvell SDIO host driver.
268 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
269 SoC controllers.
270
271 To compile this driver as a module, choose M here: the
272 module will be called mvsdio.
273
Vipin Bhandarib4cff452009-12-14 18:01:21 -0800274config MMC_DAVINCI
275 tristate "TI DAVINCI Multimedia Card Interface support"
276 depends on ARCH_DAVINCI
277 help
278 This selects the TI DAVINCI Multimedia card Interface.
279 If you have an DAVINCI board with a Multimedia Card slot,
280 say Y or M here. If unsure, say N.
281
David Brownell15a05802007-08-08 09:12:54 -0700282config MMC_SPI
Pierre Ossman57105732008-09-07 13:16:58 +0200283 tristate "MMC/SD/SDIO over SPI"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200284 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
David Brownell15a05802007-08-08 09:12:54 -0700285 select CRC7
286 select CRC_ITU_T
287 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100288 Some systems access MMC/SD/SDIO cards using a SPI controller
Pierre Ossman57105732008-09-07 13:16:58 +0200289 instead of using a "native" MMC/SD/SDIO controller. This has a
290 disadvantage of being relatively high overhead, but a compensating
291 advantage of working on many systems without dedicated MMC/SD/SDIO
292 controllers.
David Brownell15a05802007-08-08 09:12:54 -0700293
294 If unsure, or if your system has no SPI master driver, say N.
295
Thomas Kleffelbe518012008-06-30 22:40:24 +0100296config MMC_S3C
297 tristate "Samsung S3C SD/MMC Card Interface support"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200298 depends on ARCH_S3C2410
Thomas Kleffelbe518012008-06-30 22:40:24 +0100299 help
300 This selects a driver for the MCI interface found in
301 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
302 If you have a board based on one of those and a MMC/SD
303 slot, say Y or M here.
304
305 If unsure, say N.
306
Ben Dooks5a2c4fe2009-10-01 15:44:20 -0700307config MMC_S3C_HW_SDIO_IRQ
308 bool "Hardware support for SDIO IRQ"
309 depends on MMC_S3C
310 help
311 Enable the hardware support for SDIO interrupts instead of using
312 the generic polling code.
313
Ben Dooks26f14942009-10-01 15:44:18 -0700314choice
315 prompt "Samsung S3C SD/MMC transfer code"
316 depends on MMC_S3C
317
318config MMC_S3C_PIO
319 bool "Use PIO transfers only"
320 help
321 Use PIO to transfer data between memory and the hardware.
322
323 PIO is slower than DMA as it requires CPU instructions to
324 move the data. This has been the traditional default for
325 the S3C MCI driver.
326
327config MMC_S3C_DMA
328 bool "Use DMA transfers only (EXPERIMENTAL)"
329 depends on EXPERIMENTAL
330 help
331 Use DMA to transfer data between memory and the hardare.
332
333 Currently, the DMA support in this driver seems to not be
334 working properly and needs to be debugged before this
335 option is useful.
336
337config MMC_S3C_PIODMA
338 bool "Support for both PIO and DMA (EXPERIMENTAL)"
339 help
340 Compile both the PIO and DMA transfer routines into the
341 driver and let the platform select at run-time which one
342 is best.
343
344 See notes for the DMA option.
345
346endchoice
347
Sascha Sommer6a369132008-07-15 14:21:29 +0200348config MMC_SDRICOH_CS
349 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200350 depends on EXPERIMENTAL && PCI && PCMCIA
Sascha Sommer6a369132008-07-15 14:21:29 +0200351 help
352 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
353 card whenever you insert a MMC or SD card into the card slot.
354
355 To compile this driver as a module, choose M here: the
356 module will be called sdricoh_cs.
357
Ian Molton4a489982008-07-15 16:02:21 +0100358config MMC_TMIO
359 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
Magnus Damm6d522b02009-10-02 02:22:21 +0000360 depends on MFD_TMIO || MFD_ASIC3 || SUPERH
Ian Molton4a489982008-07-15 16:02:21 +0100361 help
362 This provides support for the SD/MMC cell found in TC6393XB,
Philipp Zabele6f2c7a2009-06-04 20:12:37 +0200363 T7L66XB and also HTC ASIC3
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200364
365config MMC_CB710
366 tristate "ENE CB710 MMC/SD Interface support"
367 depends on PCI
368 select CB710_CORE
369 help
370 This option enables support for MMC/SD part of ENE CB710/720 Flash
371 memory card reader found in some laptops (ie. some versions of
372 HP Compaq nx9500).
373
374 This driver can also be built as a module. If so, the module
375 will be called cb710-mmc.
376
Harald Weltef0bf7f62009-06-17 20:22:39 +0200377config MMC_VIA_SDMMC
378 tristate "VIA SD/MMC Card Reader Driver"
379 depends on PCI
380 help
381 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
382 VIA provides one multi-functional card reader which integrated into
383 some motherboards manufactured by VIA. This card reader supports
384 SD/MMC/SDHC.
385 If you have a controller with this interface, say Y or M here.
386
387 If unsure, say N.
Cliff Caieb962d52009-12-14 18:01:32 -0800388
389config SDH_BFIN
390 tristate "Blackfin Secure Digital Host support"
391 depends on MMC && ((BF54x && !BF544) || (BF51x && !BF512))
392 help
393 If you say yes here you will get support for the Blackfin on-chip
394 Secure Digital Host interface. This includes support for MMC and
395 SD cards.
396
397 To compile this driver as a module, choose M here: the
398 module will be called bfin_sdh.
399
400 If unsure, say N.
401
402config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
403 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
404 depends on SDH_BFIN
405 help
406 If you say yes here SD-Cards may work on the EZkit.