blob: 84ec1fa46a4122325e84925c22e47e5a244e8f61 [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
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010047config MMC_SDHCI_PCI
48 tristate "SDHCI support on PCI bus"
49 depends on MMC_SDHCI && PCI
50 help
51 This selects the PCI Secure Digital Host Controller Interface.
52 Most controllers found today are PCI devices.
53
Pierre Ossman1c6a0712007-02-11 19:57:36 +010054 If you have a controller with this interface, say Y or M here.
55
56 If unsure, say N.
57
Philip Langdale5ae70292007-09-15 12:54:08 -070058config MMC_RICOH_MMC
59 tristate "Ricoh MMC Controller Disabler (EXPERIMENTAL)"
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010060 depends on MMC_SDHCI_PCI
Philip Langdale5ae70292007-09-15 12:54:08 -070061 help
62 This selects the disabler for the Ricoh MMC Controller. This
63 proprietary controller is unnecessary because the SDHCI driver
64 supports MMC cards on the SD controller, but if it is not
65 disabled, it will steal the MMC cards away - rendering them
66 useless. It is safe to select this driver even if you don't
67 have a Ricoh based card reader.
68
69
70 To compile this driver as a module, choose M here:
71 the module will be called ricoh_mmc.
72
73 If unsure, say Y.
74
Anton Vorontsov3085e9c2009-03-17 00:14:05 +030075config MMC_SDHCI_OF
76 tristate "SDHCI support on OpenFirmware platforms"
77 depends on MMC_SDHCI && PPC_OF
78 select MMC_SDHCI_IO_ACCESSORS
79 help
80 This selects the OF support for Secure Digital Host Controller
81 Interfaces. So far, only the Freescale eSDHC controller is known
82 to exist on OF platforms.
83
84 If unsure, say N.
85
Richard Röjforsa3456a22009-06-04 13:57:29 +020086config MMC_SDHCI_PLTFM
87 tristate "SDHCI support on the platform specific bus"
88 depends on MMC_SDHCI
89 help
90 This selects the platform specific bus support for Secure Digital Host
91 Controller Interface.
92
93 If you have a controller with this interface, say Y or M here.
94
95 If unsure, say N.
96
Ben Dooks0d1bb412009-06-14 13:52:37 +010097config MMC_SDHCI_S3C
98 tristate "SDHCI support on Samsung S3C SoC"
99 depends on MMC_SDHCI && (PLAT_S3C24XX || PLAT_S3C64XX)
100 help
101 This selects the Secure Digital Host Controller Interface (SDHCI)
102 often referrered to as the HSMMC block in some of the Samsung S3C
103 range of SoC.
104
105 Note, due to the problems with DMA, the DMA support is only
106 available with CONFIG_EXPERIMENTAL is selected.
107
108 If you have a controller with this interface, say Y or M here.
109
110 If unsure, say N.
111
112config MMC_SDHCI_S3C_DMA
113 bool "DMA support on S3C SDHCI"
114 depends on MMC_SDHCI_S3C && EXPERIMENTAL
115 help
116 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
117 has proved to be problematic if the controller encounters
118 certain errors, and thus should be treated with care.
119
120 YMMV.
121
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100122config MMC_OMAP
123 tristate "TI OMAP Multimedia Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200124 depends on ARCH_OMAP
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100125 select TPS65010 if MACH_OMAP_H2
126 help
127 This selects the TI OMAP Multimedia card Interface.
128 If you have an OMAP board with a Multimedia Card slot,
129 say Y or M here.
130
131 If unsure, say N.
132
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100133config MMC_OMAP_HS
134 tristate "TI OMAP High Speed Multimedia Card Interface support"
kishore kadiyala82cf8182009-09-22 16:45:25 -0700135 depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100136 help
137 This selects the TI OMAP High Speed Multimedia card Interface.
kishore kadiyala82cf8182009-09-22 16:45:25 -0700138 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
139 Multimedia Card slot, say Y or M here.
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +0100140
141 If unsure, say N.
142
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100143config MMC_WBSD
144 tristate "Winbond W83L51xD SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200145 depends on ISA_DMA_API
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100146 help
147 This selects the Winbond(R) W83L51xD Secure digital and
148 Multimedia card Interface.
149 If you have a machine with a integrated W83L518D or W83L519D
150 SD/MMC card reader, say Y or M here.
151
152 If unsure, say N.
153
154config MMC_AU1X
155 tristate "Alchemy AU1XX0 MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200156 depends on SOC_AU1200
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100157 help
158 This selects the AMD Alchemy(R) Multimedia card interface.
159 If you have a Alchemy platform with a MMC slot, say Y or M here.
160
161 If unsure, say N.
162
Rob Emanuele04d699c2009-09-22 16:45:19 -0700163choice
164 prompt "Atmel SD/MMC Driver"
165 default MMC_ATMELMCI if AVR32
166 help
167 Choose which driver to use for the Atmel MCI Silicon
168
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100169config MMC_AT91
170 tristate "AT91 SD/MMC Card Interface support"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200171 depends on ARCH_AT91
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100172 help
173 This selects the AT91 MCI controller.
174
175 If unsure, say N.
176
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200177config MMC_ATMELMCI
178 tristate "Atmel Multimedia Card Interface support"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700179 depends on AVR32 || ARCH_AT91
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200180 help
181 This selects the Atmel Multimedia Card Interface driver. If
Rob Emanuele04d699c2009-09-22 16:45:19 -0700182 you have an AT32 (AVR32) or AT91 platform with a Multimedia
183 Card slot, say Y or M here.
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +0200184
185 If unsure, say N.
186
Rob Emanuele04d699c2009-09-22 16:45:19 -0700187endchoice
188
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200189config MMC_ATMELMCI_DMA
190 bool "Atmel MCI DMA support (EXPERIMENTAL)"
Rob Emanuele04d699c2009-09-22 16:45:19 -0700191 depends on MMC_ATMELMCI && AVR32 && DMA_ENGINE && EXPERIMENTAL
Haavard Skinnemoen65e8b082008-07-30 20:29:03 +0200192 help
193 Say Y here to have the Atmel MCI driver use a DMA engine to
194 do data transfers and thus increase the throughput and
195 reduce the CPU utilization. Note that this is highly
196 experimental and may cause the driver to lock up.
197
198 If unsure, say N.
199
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100200config MMC_IMX
201 tristate "Motorola i.MX Multimedia Card Interface support"
Sascha Hauer8c8fdbc2009-04-01 12:40:15 +0200202 depends on ARCH_MX1
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100203 help
204 This selects the Motorola i.MX Multimedia card Interface.
205 If you have a i.MX platform with a Multimedia Card slot,
206 say Y or M here.
207
208 If unsure, say N.
209
San Mehat9d2bd732009-09-22 16:44:22 -0700210config MMC_MSM7X00A
211 tristate "Qualcomm MSM 7X00A SDCC Controller Support"
212 depends on MMC && ARCH_MSM
213 help
214 This provides support for the SD/MMC cell found in the
215 MSM 7X00A controllers from Qualcomm.
216
Sascha Hauerd96be872009-01-06 17:04:14 +0100217config MMC_MXC
218 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
219 depends on ARCH_MXC
220 help
221 This selects the Freescale i.MX2/3 Multimedia card Interface.
222 If you have a i.MX platform with a Multimedia Card slot,
223 say Y or M here.
224
225 If unsure, say N.
226
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100227config MMC_TIFM_SD
228 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
Jan Engelhardt790864d2007-05-08 22:30:32 +0200229 depends on EXPERIMENTAL && PCI
Pierre Ossman1c6a0712007-02-11 19:57:36 +0100230 select TIFM_CORE
231 help
232 Say Y here if you want to be able to access MMC/SD cards with
233 the Texas Instruments(R) Flash Media card reader, found in many
234 laptops.
235 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
236 probably also need appropriate card reader host adapter, such as
237 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
238 (TIFM_7XX1)'.
239
240 To compile this driver as a module, choose M here: the
241 module will be called tifm_sd.
242
Maen Suleiman236caa72009-02-14 03:07:26 -0500243config MMC_MVSDIO
244 tristate "Marvell MMC/SD/SDIO host driver"
245 depends on PLAT_ORION
246 ---help---
247 This selects the Marvell SDIO host driver.
248 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
249 SoC controllers.
250
251 To compile this driver as a module, choose M here: the
252 module will be called mvsdio.
253
Vipin Bhandarib4cff452009-12-14 18:01:21 -0800254config MMC_DAVINCI
255 tristate "TI DAVINCI Multimedia Card Interface support"
256 depends on ARCH_DAVINCI
257 help
258 This selects the TI DAVINCI Multimedia card Interface.
259 If you have an DAVINCI board with a Multimedia Card slot,
260 say Y or M here. If unsure, say N.
261
David Brownell15a05802007-08-08 09:12:54 -0700262config MMC_SPI
Pierre Ossman57105732008-09-07 13:16:58 +0200263 tristate "MMC/SD/SDIO over SPI"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200264 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
David Brownell15a05802007-08-08 09:12:54 -0700265 select CRC7
266 select CRC_ITU_T
267 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100268 Some systems access MMC/SD/SDIO cards using a SPI controller
Pierre Ossman57105732008-09-07 13:16:58 +0200269 instead of using a "native" MMC/SD/SDIO controller. This has a
270 disadvantage of being relatively high overhead, but a compensating
271 advantage of working on many systems without dedicated MMC/SD/SDIO
272 controllers.
David Brownell15a05802007-08-08 09:12:54 -0700273
274 If unsure, or if your system has no SPI master driver, say N.
275
Thomas Kleffelbe518012008-06-30 22:40:24 +0100276config MMC_S3C
277 tristate "Samsung S3C SD/MMC Card Interface support"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200278 depends on ARCH_S3C2410
Thomas Kleffelbe518012008-06-30 22:40:24 +0100279 help
280 This selects a driver for the MCI interface found in
281 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
282 If you have a board based on one of those and a MMC/SD
283 slot, say Y or M here.
284
285 If unsure, say N.
286
Ben Dooks5a2c4fe2009-10-01 15:44:20 -0700287config MMC_S3C_HW_SDIO_IRQ
288 bool "Hardware support for SDIO IRQ"
289 depends on MMC_S3C
290 help
291 Enable the hardware support for SDIO interrupts instead of using
292 the generic polling code.
293
Ben Dooks26f14942009-10-01 15:44:18 -0700294choice
295 prompt "Samsung S3C SD/MMC transfer code"
296 depends on MMC_S3C
297
298config MMC_S3C_PIO
299 bool "Use PIO transfers only"
300 help
301 Use PIO to transfer data between memory and the hardware.
302
303 PIO is slower than DMA as it requires CPU instructions to
304 move the data. This has been the traditional default for
305 the S3C MCI driver.
306
307config MMC_S3C_DMA
308 bool "Use DMA transfers only (EXPERIMENTAL)"
309 depends on EXPERIMENTAL
310 help
311 Use DMA to transfer data between memory and the hardare.
312
313 Currently, the DMA support in this driver seems to not be
314 working properly and needs to be debugged before this
315 option is useful.
316
317config MMC_S3C_PIODMA
318 bool "Support for both PIO and DMA (EXPERIMENTAL)"
319 help
320 Compile both the PIO and DMA transfer routines into the
321 driver and let the platform select at run-time which one
322 is best.
323
324 See notes for the DMA option.
325
326endchoice
327
Sascha Sommer6a369132008-07-15 14:21:29 +0200328config MMC_SDRICOH_CS
329 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
Pierre Ossman1ea4f442008-09-07 13:07:57 +0200330 depends on EXPERIMENTAL && PCI && PCMCIA
Sascha Sommer6a369132008-07-15 14:21:29 +0200331 help
332 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
333 card whenever you insert a MMC or SD card into the card slot.
334
335 To compile this driver as a module, choose M here: the
336 module will be called sdricoh_cs.
337
Ian Molton4a489982008-07-15 16:02:21 +0100338config MMC_TMIO
339 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
Magnus Damm6d522b02009-10-02 02:22:21 +0000340 depends on MFD_TMIO || MFD_ASIC3 || SUPERH
Ian Molton4a489982008-07-15 16:02:21 +0100341 help
342 This provides support for the SD/MMC cell found in TC6393XB,
Philipp Zabele6f2c7a2009-06-04 20:12:37 +0200343 T7L66XB and also HTC ASIC3
Michał Mirosław5f5bac82009-05-22 20:33:59 +0200344
345config MMC_CB710
346 tristate "ENE CB710 MMC/SD Interface support"
347 depends on PCI
348 select CB710_CORE
349 help
350 This option enables support for MMC/SD part of ENE CB710/720 Flash
351 memory card reader found in some laptops (ie. some versions of
352 HP Compaq nx9500).
353
354 This driver can also be built as a module. If so, the module
355 will be called cb710-mmc.
356
Harald Weltef0bf7f62009-06-17 20:22:39 +0200357config MMC_VIA_SDMMC
358 tristate "VIA SD/MMC Card Reader Driver"
359 depends on PCI
360 help
361 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
362 VIA provides one multi-functional card reader which integrated into
363 some motherboards manufactured by VIA. This card reader supports
364 SD/MMC/SDHC.
365 If you have a controller with this interface, say Y or M here.
366
367 If unsure, say N.