]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/mmc/host/Kconfig
mmc: sdhci: change sdhci-pltfm into a module
[mirror_ubuntu-artful-kernel.git] / drivers / mmc / host / Kconfig
CommitLineData
1c6a0718
PO
1#
2# MMC/SD host controller drivers
3#
4
57105737 5comment "MMC/SD/SDIO Host Controller Drivers"
1c6a0718
PO
6
7config MMC_ARMMMCI
8 tristate "ARM AMBA Multimedia Card Interface support"
790864dc 9 depends on ARM_AMBA
1c6a0718
PO
10 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"
790864dc 19 depends on ARCH_PXA
1c6a0718
PO
20 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
34671dc2 28 tristate "Secure Digital Host Controller Interface support"
b8c86fc5 29 depends on HAS_DMA
1c6a0718 30 help
b8c86fc5 31 This selects the generic Secure Digital Host Controller Interface.
1c6a0718
PO
32 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.
b8c86fc5
PO
34
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
4e4141a5
AV
40config 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
7657c3a7
AH
47config 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
1144ab5d 58 This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
7657c3a7 59
b8c86fc5
PO
60config 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
1c6a0718
PO
67 If you have a controller with this interface, say Y or M here.
68
69 If unsure, say N.
70
5ae70296 71config MMC_RICOH_MMC
03cd8f7e 72 bool "Ricoh MMC Controller Disabler (EXPERIMENTAL)"
b8c86fc5 73 depends on MMC_SDHCI_PCI
5ae70296 74 help
03cd8f7e 75 This adds a pci quirk to disable Ricoh MMC Controller. This
5ae70296
PL
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
03cd8f7e 79 useless. It is safe to select this even if you don't
5ae70296
PL
80 have a Ricoh based card reader.
81
5ae70296
PL
82 If unsure, say Y.
83
f0de8369
SG
84config MMC_SDHCI_PLTFM
85 tristate "SDHCI platform and OF driver helper"
38576af1 86 depends on MMC_SDHCI
f0de8369
SG
87 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
236cdc7b 98 depends on PPC_OF
7657c3a7
AH
99 select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
100 help
101 This selects the Freescale eSDHC controller support.
3085e9c1 102
f0de8369
SG
103 If you have a controller with this interface, say Y or M here.
104
3085e9c1
AV
105 If unsure, say N.
106
1144ab5d 107config MMC_SDHCI_OF_HLWD
f0de8369
SG
108 tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
109 depends on MMC_SDHCI_PLTFM
236cdc7b 110 depends on PPC_OF
1144ab5d
AH
111 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
f0de8369
SG
117 If you have a controller with this interface, say Y or M here.
118
1144ab5d
AH
119 If unsure, say N.
120
20b1597b 121config MMC_SDHCI_CNS3XXX
85d6509d 122 tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
20b1597b 123 depends on ARCH_CNS3XXX
f0de8369 124 depends on MMC_SDHCI_PLTFM
20b1597b
AV
125 help
126 This selects the SDHCI support for CNS3xxx System-on-Chip devices.
127
f0de8369
SG
128 If you have a controller with this interface, say Y or M here.
129
20b1597b
AV
130 If unsure, say N.
131
95f25efe 132config MMC_SDHCI_ESDHC_IMX
85d6509d
SG
133 tristate "SDHCI platform support for the Freescale eSDHC i.MX controller"
134 depends on ARCH_MX25 || ARCH_MX35 || ARCH_MX5
f0de8369 135 depends on MMC_SDHCI_PLTFM
95f25efe
WS
136 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
f0de8369
SG
141 If you have a controller with this interface, say Y or M here.
142
95f25efe
WS
143 If unsure, say N.
144
985b1aa0 145config MMC_SDHCI_DOVE
85d6509d 146 tristate "SDHCI support on Marvell's Dove SoC"
985b1aa0 147 depends on ARCH_DOVE
f0de8369 148 depends on MMC_SDHCI_PLTFM
985b1aa0
MR
149 select MMC_SDHCI_IO_ACCESSORS
150 help
151 This selects the Secure Digital Host Controller Interface in
152 Marvell's Dove SoC.
153
f0de8369
SG
154 If you have a controller with this interface, say Y or M here.
155
985b1aa0
MR
156 If unsure, say N.
157
03d2bfc8 158config MMC_SDHCI_TEGRA
85d6509d
SG
159 tristate "SDHCI platform support for the Tegra SD/MMC Controller"
160 depends on ARCH_TEGRA
f0de8369 161 depends on MMC_SDHCI_PLTFM
03d2bfc8
OJ
162 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
0d1bb41a
BD
169config MMC_SDHCI_S3C
170 tristate "SDHCI support on Samsung S3C SoC"
930a6f70 171 depends on MMC_SDHCI && PLAT_SAMSUNG
0d1bb41a
BD
172 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
536ac998
ZG
184config 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
c63b3cba
VK
196config MMC_SDHCI_SPEAR
197 tristate "SDHCI support on ST SPEAr platform"
198 depends on MMC_SDHCI && PLAT_SPEAR
199 help
200 This selects the Secure Digital Host Controller Interface (SDHCI)
201 often referrered to as the HSMMC block in some of the ST SPEAR range
202 of SoC
203
204 If you have a controller with this interface, say Y or M here.
205
206 If unsure, say N.
207
0d1bb41a
BD
208config MMC_SDHCI_S3C_DMA
209 bool "DMA support on S3C SDHCI"
210 depends on MMC_SDHCI_S3C && EXPERIMENTAL
211 help
212 Enable DMA support on the Samsung S3C SDHCI glue. The DMA
213 has proved to be problematic if the controller encounters
214 certain errors, and thus should be treated with care.
215
216 YMMV.
217
1c6a0718
PO
218config MMC_OMAP
219 tristate "TI OMAP Multimedia Card Interface support"
790864dc 220 depends on ARCH_OMAP
1c6a0718
PO
221 select TPS65010 if MACH_OMAP_H2
222 help
223 This selects the TI OMAP Multimedia card Interface.
224 If you have an OMAP board with a Multimedia Card slot,
225 say Y or M here.
226
227 If unsure, say N.
228
a45c6cb8
MC
229config MMC_OMAP_HS
230 tristate "TI OMAP High Speed Multimedia Card Interface support"
59b479e0 231 depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
a45c6cb8
MC
232 help
233 This selects the TI OMAP High Speed Multimedia card Interface.
82cf818d 234 If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
235 Multimedia Card slot, say Y or M here.
a45c6cb8
MC
236
237 If unsure, say N.
238
1c6a0718
PO
239config MMC_WBSD
240 tristate "Winbond W83L51xD SD/MMC Card Interface support"
790864dc 241 depends on ISA_DMA_API
1c6a0718
PO
242 help
243 This selects the Winbond(R) W83L51xD Secure digital and
244 Multimedia card Interface.
245 If you have a machine with a integrated W83L518D or W83L519D
246 SD/MMC card reader, say Y or M here.
247
248 If unsure, say N.
249
250config MMC_AU1X
251 tristate "Alchemy AU1XX0 MMC Card Interface support"
790864dc 252 depends on SOC_AU1200
1c6a0718
PO
253 help
254 This selects the AMD Alchemy(R) Multimedia card interface.
255 If you have a Alchemy platform with a MMC slot, say Y or M here.
256
257 If unsure, say N.
258
04d699c3
RE
259choice
260 prompt "Atmel SD/MMC Driver"
09591dd3 261 depends on AVR32 || ARCH_AT91
04d699c3
RE
262 default MMC_ATMELMCI if AVR32
263 help
264 Choose which driver to use for the Atmel MCI Silicon
265
1c6a0718
PO
266config MMC_AT91
267 tristate "AT91 SD/MMC Card Interface support"
790864dc 268 depends on ARCH_AT91
1c6a0718
PO
269 help
270 This selects the AT91 MCI controller.
271
272 If unsure, say N.
273
7d2be074
HS
274config MMC_ATMELMCI
275 tristate "Atmel Multimedia Card Interface support"
04d699c3 276 depends on AVR32 || ARCH_AT91
7d2be074
HS
277 help
278 This selects the Atmel Multimedia Card Interface driver. If
04d699c3
RE
279 you have an AT32 (AVR32) or AT91 platform with a Multimedia
280 Card slot, say Y or M here.
7d2be074
HS
281
282 If unsure, say N.
283
04d699c3
RE
284endchoice
285
65e8b083
HS
286config MMC_ATMELMCI_DMA
287 bool "Atmel MCI DMA support (EXPERIMENTAL)"
75305d76 288 depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE && EXPERIMENTAL
65e8b083
HS
289 help
290 Say Y here to have the Atmel MCI driver use a DMA engine to
291 do data transfers and thus increase the throughput and
292 reduce the CPU utilization. Note that this is highly
293 experimental and may cause the driver to lock up.
294
295 If unsure, say N.
296
1c6a0718
PO
297config MMC_IMX
298 tristate "Motorola i.MX Multimedia Card Interface support"
8c8fdbc9 299 depends on ARCH_MX1
1c6a0718
PO
300 help
301 This selects the Motorola i.MX Multimedia card Interface.
302 If you have a i.MX platform with a Multimedia Card slot,
d96be879
SH
303 say Y or M here.
304
305 If unsure, say N.
306
eba3f137
ST
307config MMC_MSM
308 tristate "Qualcomm SDCC Controller Support"
edd4dd0e 309 depends on MMC && ARCH_MSM
9d2bd738
SM
310 help
311 This provides support for the SD/MMC cell found in the
eba3f137
ST
312 MSM and QSD SOCs from Qualcomm. The controller also has
313 support for SDIO devices.
9d2bd738 314
d96be879
SH
315config MMC_MXC
316 tristate "Freescale i.MX2/3 Multimedia Card Interface support"
170cba8c 317 depends on MACH_MX21 || MACH_MX27 || ARCH_MX31
d96be879
SH
318 help
319 This selects the Freescale i.MX2/3 Multimedia card Interface.
320 If you have a i.MX platform with a Multimedia Card slot,
1c6a0718
PO
321 say Y or M here.
322
323 If unsure, say N.
324
e4243f13
SG
325config MMC_MXS
326 tristate "Freescale MXS Multimedia Card Interface support"
327 depends on ARCH_MXS && MXS_DMA
328 help
329 This selects the Freescale SSP MMC controller found on MXS based
330 platforms like mx23/28.
331
332 If unsure, say N.
333
1c6a0718
PO
334config MMC_TIFM_SD
335 tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
790864dc 336 depends on EXPERIMENTAL && PCI
1c6a0718
PO
337 select TIFM_CORE
338 help
339 Say Y here if you want to be able to access MMC/SD cards with
340 the Texas Instruments(R) Flash Media card reader, found in many
341 laptops.
342 This option 'selects' (turns on, enables) 'TIFM_CORE', but you
343 probably also need appropriate card reader host adapter, such as
344 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
345 (TIFM_7XX1)'.
346
347 To compile this driver as a module, choose M here: the
348 module will be called tifm_sd.
349
236caa7c
MS
350config MMC_MVSDIO
351 tristate "Marvell MMC/SD/SDIO host driver"
352 depends on PLAT_ORION
353 ---help---
354 This selects the Marvell SDIO host driver.
355 SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
356 SoC controllers.
357
358 To compile this driver as a module, choose M here: the
359 module will be called mvsdio.
360
b4cff454
VB
361config MMC_DAVINCI
362 tristate "TI DAVINCI Multimedia Card Interface support"
363 depends on ARCH_DAVINCI
364 help
365 This selects the TI DAVINCI Multimedia card Interface.
366 If you have an DAVINCI board with a Multimedia Card slot,
367 say Y or M here. If unsure, say N.
368
15a0580c 369config MMC_SPI
57105737 370 tristate "MMC/SD/SDIO over SPI"
1ea4f444 371 depends on SPI_MASTER && !HIGHMEM && HAS_DMA
15a0580c
DB
372 select CRC7
373 select CRC_ITU_T
374 help
692105b8 375 Some systems access MMC/SD/SDIO cards using a SPI controller
57105737
PO
376 instead of using a "native" MMC/SD/SDIO controller. This has a
377 disadvantage of being relatively high overhead, but a compensating
378 advantage of working on many systems without dedicated MMC/SD/SDIO
379 controllers.
15a0580c
DB
380
381 If unsure, or if your system has no SPI master driver, say N.
382
be518018
TK
383config MMC_S3C
384 tristate "Samsung S3C SD/MMC Card Interface support"
1ea4f444 385 depends on ARCH_S3C2410
be518018
TK
386 help
387 This selects a driver for the MCI interface found in
388 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
389 If you have a board based on one of those and a MMC/SD
390 slot, say Y or M here.
391
392 If unsure, say N.
393
5a2c4fe0
BD
394config MMC_S3C_HW_SDIO_IRQ
395 bool "Hardware support for SDIO IRQ"
396 depends on MMC_S3C
397 help
398 Enable the hardware support for SDIO interrupts instead of using
399 the generic polling code.
400
26f14947
BD
401choice
402 prompt "Samsung S3C SD/MMC transfer code"
403 depends on MMC_S3C
404
405config MMC_S3C_PIO
406 bool "Use PIO transfers only"
407 help
408 Use PIO to transfer data between memory and the hardware.
409
410 PIO is slower than DMA as it requires CPU instructions to
411 move the data. This has been the traditional default for
412 the S3C MCI driver.
413
414config MMC_S3C_DMA
415 bool "Use DMA transfers only (EXPERIMENTAL)"
416 depends on EXPERIMENTAL
417 help
418 Use DMA to transfer data between memory and the hardare.
419
420 Currently, the DMA support in this driver seems to not be
421 working properly and needs to be debugged before this
422 option is useful.
423
424config MMC_S3C_PIODMA
425 bool "Support for both PIO and DMA (EXPERIMENTAL)"
426 help
427 Compile both the PIO and DMA transfer routines into the
428 driver and let the platform select at run-time which one
429 is best.
430
431 See notes for the DMA option.
432
433endchoice
434
6a36913a
SS
435config MMC_SDRICOH_CS
436 tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
1ea4f444 437 depends on EXPERIMENTAL && PCI && PCMCIA
6a36913a
SS
438 help
439 Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
440 card whenever you insert a MMC or SD card into the card slot.
441
442 To compile this driver as a module, choose M here: the
443 module will be called sdricoh_cs.
444
b6147490
GL
445config MMC_TMIO_CORE
446 tristate
447
4a48998f
IM
448config MMC_TMIO
449 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
42051e8a 450 depends on MFD_TMIO || MFD_ASIC3
b6147490 451 select MMC_TMIO_CORE
4a48998f
IM
452 help
453 This provides support for the SD/MMC cell found in TC6393XB,
e6f2c7ad 454 T7L66XB and also HTC ASIC3
5f5bac82 455
42051e8a
GL
456config MMC_SDHI
457 tristate "SH-Mobile SDHI SD/SDIO controller support"
022b4835 458 depends on SUPERH || ARCH_SHMOBILE
42051e8a
GL
459 select MMC_TMIO_CORE
460 help
461 This provides support for the SDHI SD/SDIO controller found in
462 SuperH and ARM SH-Mobile SoCs
463
5f5bac82
MM
464config MMC_CB710
465 tristate "ENE CB710 MMC/SD Interface support"
466 depends on PCI
9ffca830 467 select MISC_DEVICES
5f5bac82
MM
468 select CB710_CORE
469 help
470 This option enables support for MMC/SD part of ENE CB710/720 Flash
471 memory card reader found in some laptops (ie. some versions of
472 HP Compaq nx9500).
473
474 This driver can also be built as a module. If so, the module
475 will be called cb710-mmc.
476
f0bf7f61
HW
477config MMC_VIA_SDMMC
478 tristate "VIA SD/MMC Card Reader Driver"
479 depends on PCI
480 help
481 This selects the VIA SD/MMC Card Reader driver, say Y or M here.
482 VIA provides one multi-functional card reader which integrated into
483 some motherboards manufactured by VIA. This card reader supports
484 SD/MMC/SDHC.
485 If you have a controller with this interface, say Y or M here.
486
487 If unsure, say N.
eb962d5b
CC
488
489config SDH_BFIN
490 tristate "Blackfin Secure Digital Host support"
05dabcc4 491 depends on (BF54x && !BF544) || (BF51x && !BF512)
eb962d5b
CC
492 help
493 If you say yes here you will get support for the Blackfin on-chip
494 Secure Digital Host interface. This includes support for MMC and
495 SD cards.
496
497 To compile this driver as a module, choose M here: the
498 module will be called bfin_sdh.
499
500 If unsure, say N.
501
502config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
503 bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
504 depends on SDH_BFIN
505 help
506 If you say yes here SD-Cards may work on the EZkit.
fdc50a94 507
f95f3850
WN
508config MMC_DW
509 tristate "Synopsys DesignWare Memory Card Interface"
510 depends on ARM
511 help
512 This selects support for the Synopsys DesignWare Mobile Storage IP
513 block, this provides host support for SD and MMC interfaces, in both
514 PIO and external DMA modes.
515
516config MMC_DW_IDMAC
517 bool "Internal DMAC interface"
518 depends on MMC_DW
519 help
520 This selects support for the internal DMAC block within the Synopsys
521 Designware Mobile Storage IP block. This disables the external DMA
522 interface.
523
fdc50a94
YG
524config MMC_SH_MMCIF
525 tristate "SuperH Internal MMCIF support"
526 depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
527 help
b595076a 528 This selects the MMC Host Interface controller (MMCIF).
fdc50a94
YG
529
530 This driver supports MMCIF in sh7724/sh7757/sh7372.
61bfbdb8
LPC
531
532config MMC_JZ4740
533 tristate "JZ4740 SD/Multimedia Card Interface support"
534 depends on MACH_JZ4740
535 help
536 This selects support for the SD/MMC controller on Ingenic JZ4740
537 SoCs.
538 If you have a board based on such a SoC and with a SD/MMC slot,
539 say Y or M here.
53f3a9e2 540
88095e7b
TO
541config MMC_VUB300
542 tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
543 depends on USB
544 help
545 This selects support for Elan Digital Systems' VUB300 chip.
546
547 The VUB300 is a USB-SDIO Host Controller Interface chip
548 that enables the host computer to use SDIO/SD/MMC cards
549 via a USB 2.0 or USB 1.1 host.
550
551 The VUB300 chip will be found in both physically separate
552 USB to SDIO/SD/MMC adapters and embedded on some motherboards.
553
554 The VUB300 chip supports SD and MMC memory cards in addition
555 to single and multifunction SDIO cards.
556
557 Some SDIO cards will need a firmware file to be loaded and
558 sent to VUB300 chip in order to achieve better data throughput.
559 Download these "Offload Pseudocode" from Elan Digital Systems'
560 web-site http://www.elandigitalsystems.com/support/downloads.php
561 and put them in /lib/firmware. Note that without these additional
562 firmware files the VUB300 chip will still function, but not at
563 the best obtainable data rate.
564
565 To compile this mmc host controller driver as a module,
566 choose M here: the module will be called vub300.
567
568 If you have a computer with an embedded VUB300 chip
569 or if you intend connecting a USB adapter based on a
570 VUB300 chip say Y or M here.
571
53f3a9e2
DV
572config MMC_USHC
573 tristate "USB SD Host Controller (USHC) support"
574 depends on USB
575 help
576 This selects support for USB SD Host Controllers based on
577 the Cypress Astoria chip with firmware compliant with CSR's
578 USB SD Host Controller specification (CS-118793-SP).
579
580 CSR boards with this device include: USB<>SDIO (M1985v2),
581 and Ultrasira.
582
583 Note: These controllers only support SDIO cards and do not
584 support MMC or SD memory cards.