| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # MMC/SD host controller drivers |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 33 | 34 | Qcom SOCs and MMC, you would probably need this option to get DMA working. |
|---|
| 34 | 35 | |
|---|
| 35 | 36 | if unsure, say N. |
|---|
| 37 | + |
|---|
| 38 | +config MMC_STM32_SDMMC |
|---|
| 39 | + bool "STMicroelectronics STM32 SDMMC Controller" |
|---|
| 40 | + depends on MMC_ARMMMCI |
|---|
| 41 | + default y |
|---|
| 42 | + help |
|---|
| 43 | + This selects the STMicroelectronics STM32 SDMMC host controller. |
|---|
| 44 | + If you have a STM32 sdmmc host with internal DMA say Y here. |
|---|
| 45 | + |
|---|
| 46 | + If unsure, say N. |
|---|
| 36 | 47 | |
|---|
| 37 | 48 | config MMC_PXA |
|---|
| 38 | 49 | tristate "Intel PXA25x/26x/27x Multimedia Card Interface support" |
|---|
| .. | .. |
|---|
| 82 | 93 | tristate "SDHCI support on PCI bus" |
|---|
| 83 | 94 | depends on MMC_SDHCI && PCI |
|---|
| 84 | 95 | select MMC_CQHCI |
|---|
| 96 | + select IOSF_MBI if X86 |
|---|
| 97 | + select MMC_SDHCI_IO_ACCESSORS |
|---|
| 85 | 98 | help |
|---|
| 86 | 99 | This selects the PCI Secure Digital Host Controller Interface. |
|---|
| 87 | 100 | Most controllers found today are PCI devices. |
|---|
| .. | .. |
|---|
| 106 | 119 | |
|---|
| 107 | 120 | config MMC_SDHCI_ACPI |
|---|
| 108 | 121 | tristate "SDHCI support for ACPI enumerated SDHCI controllers" |
|---|
| 109 | | - depends on MMC_SDHCI && ACPI |
|---|
| 122 | + depends on MMC_SDHCI && ACPI && PCI |
|---|
| 110 | 123 | select IOSF_MBI if X86 |
|---|
| 111 | 124 | help |
|---|
| 112 | 125 | This selects support for ACPI enumerated SDHCI controllers, |
|---|
| .. | .. |
|---|
| 142 | 155 | |
|---|
| 143 | 156 | If unsure, say N. |
|---|
| 144 | 157 | |
|---|
| 158 | +config MMC_SDHCI_OF_ASPEED |
|---|
| 159 | + tristate "SDHCI OF support for the ASPEED SDHCI controller" |
|---|
| 160 | + depends on MMC_SDHCI_PLTFM |
|---|
| 161 | + depends on OF && OF_ADDRESS |
|---|
| 162 | + select MMC_SDHCI_IO_ACCESSORS |
|---|
| 163 | + help |
|---|
| 164 | + This selects the ASPEED Secure Digital Host Controller Interface. |
|---|
| 165 | + |
|---|
| 166 | + If you have a controller with this interface, say Y or M here. You |
|---|
| 167 | + also need to enable an appropriate bus interface. |
|---|
| 168 | + |
|---|
| 169 | + If unsure, say N. |
|---|
| 170 | + |
|---|
| 145 | 171 | config MMC_SDHCI_OF_AT91 |
|---|
| 146 | 172 | tristate "SDHCI OF support for the Atmel SDMMC controller" |
|---|
| 147 | 173 | depends on MMC_SDHCI_PLTFM |
|---|
| 148 | | - depends on OF |
|---|
| 174 | + depends on OF && HAVE_CLK |
|---|
| 149 | 175 | help |
|---|
| 150 | 176 | This selects the Atmel SDMMC driver |
|---|
| 151 | 177 | |
|---|
| 152 | 178 | config MMC_SDHCI_OF_ESDHC |
|---|
| 153 | 179 | tristate "SDHCI OF support for the Freescale eSDHC controller" |
|---|
| 154 | 180 | depends on MMC_SDHCI_PLTFM |
|---|
| 155 | | - depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE |
|---|
| 181 | + depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST |
|---|
| 156 | 182 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 157 | 183 | select FSL_GUTS |
|---|
| 158 | 184 | help |
|---|
| .. | .. |
|---|
| 188 | 214 | If you have a controller with this interface, say Y or M here. |
|---|
| 189 | 215 | If unsure, say N. |
|---|
| 190 | 216 | |
|---|
| 217 | +config MMC_SDHCI_OF_SPARX5 |
|---|
| 218 | + tristate "SDHCI OF support for the MCHP Sparx5 SoC" |
|---|
| 219 | + depends on MMC_SDHCI_PLTFM |
|---|
| 220 | + depends on ARCH_SPARX5 || COMPILE_TEST |
|---|
| 221 | + help |
|---|
| 222 | + This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 223 | + found in the MCHP Sparx5 SoC. |
|---|
| 224 | + |
|---|
| 225 | + If you have a Sparx5 SoC with this interface, say Y or M here. |
|---|
| 226 | + |
|---|
| 227 | + If unsure, say N. |
|---|
| 228 | + |
|---|
| 191 | 229 | config MMC_SDHCI_CADENCE |
|---|
| 192 | 230 | tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller" |
|---|
| 193 | 231 | depends on MMC_SDHCI_PLTFM |
|---|
| .. | .. |
|---|
| 201 | 239 | |
|---|
| 202 | 240 | config MMC_SDHCI_CNS3XXX |
|---|
| 203 | 241 | tristate "SDHCI support on the Cavium Networks CNS3xxx SoC" |
|---|
| 204 | | - depends on ARCH_CNS3XXX |
|---|
| 242 | + depends on ARCH_CNS3XXX || COMPILE_TEST |
|---|
| 205 | 243 | depends on MMC_SDHCI_PLTFM |
|---|
| 206 | 244 | help |
|---|
| 207 | 245 | This selects the SDHCI support for CNS3xxx System-on-Chip devices. |
|---|
| .. | .. |
|---|
| 210 | 248 | |
|---|
| 211 | 249 | If unsure, say N. |
|---|
| 212 | 250 | |
|---|
| 213 | | -config MMC_SDHCI_ESDHC_IMX |
|---|
| 214 | | - tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller" |
|---|
| 215 | | - depends on ARCH_MXC |
|---|
| 251 | +config MMC_SDHCI_ESDHC_MCF |
|---|
| 252 | + tristate "SDHCI support for the Freescale eSDHC ColdFire controller" |
|---|
| 253 | + depends on M5441x |
|---|
| 216 | 254 | depends on MMC_SDHCI_PLTFM |
|---|
| 217 | 255 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 256 | + help |
|---|
| 257 | + This selects the Freescale eSDHC controller support for |
|---|
| 258 | + ColdFire mcf5441x devices. |
|---|
| 259 | + |
|---|
| 260 | + If you have a controller with this interface, say Y or M here. |
|---|
| 261 | + |
|---|
| 262 | + If unsure, say N. |
|---|
| 263 | + |
|---|
| 264 | +config MMC_SDHCI_ESDHC_IMX |
|---|
| 265 | + tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller" |
|---|
| 266 | + depends on ARCH_MXC || COMPILE_TEST |
|---|
| 267 | + depends on MMC_SDHCI_PLTFM |
|---|
| 268 | + select MMC_SDHCI_IO_ACCESSORS |
|---|
| 269 | + select MMC_CQHCI |
|---|
| 218 | 270 | help |
|---|
| 219 | 271 | This selects the Freescale eSDHC/uSDHC controller support |
|---|
| 220 | 272 | found on i.MX25, i.MX35 i.MX5x and i.MX6x. |
|---|
| .. | .. |
|---|
| 225 | 277 | |
|---|
| 226 | 278 | config MMC_SDHCI_DOVE |
|---|
| 227 | 279 | tristate "SDHCI support on Marvell's Dove SoC" |
|---|
| 228 | | - depends on ARCH_DOVE || MACH_DOVE |
|---|
| 280 | + depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST |
|---|
| 229 | 281 | depends on MMC_SDHCI_PLTFM |
|---|
| 230 | 282 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 231 | 283 | help |
|---|
| .. | .. |
|---|
| 238 | 290 | |
|---|
| 239 | 291 | config MMC_SDHCI_TEGRA |
|---|
| 240 | 292 | tristate "SDHCI platform support for the Tegra SD/MMC Controller" |
|---|
| 241 | | - depends on ARCH_TEGRA |
|---|
| 293 | + depends on ARCH_TEGRA || COMPILE_TEST |
|---|
| 242 | 294 | depends on MMC_SDHCI_PLTFM |
|---|
| 243 | 295 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 296 | + select MMC_CQHCI |
|---|
| 244 | 297 | help |
|---|
| 245 | 298 | This selects the Tegra SD/MMC controller. If you have a Tegra |
|---|
| 246 | 299 | platform with SD or MMC devices, say Y or M here. |
|---|
| .. | .. |
|---|
| 249 | 302 | |
|---|
| 250 | 303 | config MMC_SDHCI_S3C |
|---|
| 251 | 304 | tristate "SDHCI support on Samsung S3C SoC" |
|---|
| 252 | | - depends on MMC_SDHCI && PLAT_SAMSUNG |
|---|
| 305 | + depends on MMC_SDHCI |
|---|
| 306 | + depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST |
|---|
| 253 | 307 | help |
|---|
| 254 | 308 | This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 255 | 309 | often referrered to as the HSMMC block in some of the Samsung S3C |
|---|
| .. | .. |
|---|
| 261 | 315 | |
|---|
| 262 | 316 | config MMC_SDHCI_SIRF |
|---|
| 263 | 317 | tristate "SDHCI support on CSR SiRFprimaII and SiRFmarco SoCs" |
|---|
| 264 | | - depends on ARCH_SIRF |
|---|
| 318 | + depends on ARCH_SIRF || COMPILE_TEST |
|---|
| 265 | 319 | depends on MMC_SDHCI_PLTFM |
|---|
| 266 | 320 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 267 | 321 | help |
|---|
| .. | .. |
|---|
| 299 | 353 | |
|---|
| 300 | 354 | config MMC_SDHCI_SPEAR |
|---|
| 301 | 355 | tristate "SDHCI support on ST SPEAr platform" |
|---|
| 302 | | - depends on MMC_SDHCI && PLAT_SPEAR |
|---|
| 356 | + depends on MMC_SDHCI |
|---|
| 357 | + depends on PLAT_SPEAR || COMPILE_TEST |
|---|
| 303 | 358 | depends on OF |
|---|
| 304 | 359 | help |
|---|
| 305 | 360 | This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| .. | .. |
|---|
| 322 | 377 | |
|---|
| 323 | 378 | config MMC_SDHCI_BCM_KONA |
|---|
| 324 | 379 | tristate "SDHCI support on Broadcom KONA platform" |
|---|
| 325 | | - depends on ARCH_BCM_MOBILE |
|---|
| 380 | + depends on ARCH_BCM_MOBILE || COMPILE_TEST |
|---|
| 326 | 381 | depends on MMC_SDHCI_PLTFM |
|---|
| 327 | 382 | help |
|---|
| 328 | 383 | This selects the Broadcom Kona Secure Digital Host Controller |
|---|
| .. | .. |
|---|
| 342 | 397 | |
|---|
| 343 | 398 | If unsure, say N. |
|---|
| 344 | 399 | |
|---|
| 400 | +config MMC_SDHCI_MILBEAUT |
|---|
| 401 | + tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30" |
|---|
| 402 | + depends on MMC_SDHCI_PLTFM |
|---|
| 403 | + depends on OF |
|---|
| 404 | + help |
|---|
| 405 | + This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 406 | + Needed by Milbeaut SoC for MMC / SD / SDIO support. |
|---|
| 407 | + If you have a controller with this interface, say Y or M here. |
|---|
| 408 | + |
|---|
| 409 | + If unsure, say N. |
|---|
| 410 | + |
|---|
| 345 | 411 | config MMC_SDHCI_IPROC |
|---|
| 346 | 412 | tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller" |
|---|
| 347 | 413 | depends on ARCH_BCM2835 || ARCH_BCM_IPROC || COMPILE_TEST |
|---|
| 348 | 414 | depends on MMC_SDHCI_PLTFM |
|---|
| 415 | + depends on OF || ACPI |
|---|
| 349 | 416 | default ARCH_BCM_IPROC |
|---|
| 350 | 417 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 351 | 418 | help |
|---|
| .. | .. |
|---|
| 358 | 425 | |
|---|
| 359 | 426 | config MMC_MESON_GX |
|---|
| 360 | 427 | tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support" |
|---|
| 361 | | - depends on ARCH_MESON && MMC |
|---|
| 428 | + depends on ARCH_MESON|| COMPILE_TEST |
|---|
| 429 | + depends on COMMON_CLK |
|---|
| 362 | 430 | help |
|---|
| 363 | 431 | This selects support for the Amlogic SD/MMC Host Controller |
|---|
| 364 | 432 | found on the S905/GX*/AXG family of SoCs. This controller is |
|---|
| .. | .. |
|---|
| 366 | 434 | |
|---|
| 367 | 435 | If you have a controller with this interface, say Y here. |
|---|
| 368 | 436 | |
|---|
| 437 | +config MMC_MESON_MX_SDHC |
|---|
| 438 | + tristate "Amlogic Meson SDHC Host Controller support" |
|---|
| 439 | + depends on (ARM && ARCH_MESON) || COMPILE_TEST |
|---|
| 440 | + depends on COMMON_CLK |
|---|
| 441 | + depends on OF |
|---|
| 442 | + help |
|---|
| 443 | + This selects support for the SDHC Host Controller on |
|---|
| 444 | + Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs. |
|---|
| 445 | + The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x |
|---|
| 446 | + with 1, 4, and 8 bit bus widths. |
|---|
| 447 | + |
|---|
| 448 | + If you have a controller with this interface, say Y or M here. |
|---|
| 449 | + If unsure, say N. |
|---|
| 450 | + |
|---|
| 369 | 451 | config MMC_MESON_MX_SDIO |
|---|
| 370 | 452 | tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support" |
|---|
| 371 | 453 | depends on ARCH_MESON || COMPILE_TEST |
|---|
| 372 | 454 | depends on COMMON_CLK |
|---|
| 373 | | - depends on OF |
|---|
| 455 | + depends on OF_ADDRESS |
|---|
| 374 | 456 | help |
|---|
| 375 | 457 | This selects support for the SD/MMC Host Controller on |
|---|
| 376 | 458 | Amlogic Meson6, Meson8 and Meson8b SoCs. |
|---|
| .. | .. |
|---|
| 380 | 462 | |
|---|
| 381 | 463 | config MMC_MOXART |
|---|
| 382 | 464 | tristate "MOXART SD/MMC Host Controller support" |
|---|
| 383 | | - depends on ARCH_MOXART && MMC |
|---|
| 465 | + depends on ARCH_MOXART || COMPILE_TEST |
|---|
| 384 | 466 | help |
|---|
| 385 | 467 | This selects support for the MOXART SD/MMC Host Controller. |
|---|
| 386 | 468 | MOXA provides one multi-functional card reader which can |
|---|
| .. | .. |
|---|
| 389 | 471 | |
|---|
| 390 | 472 | config MMC_SDHCI_ST |
|---|
| 391 | 473 | tristate "SDHCI support on STMicroelectronics SoC" |
|---|
| 392 | | - depends on ARCH_STI || FSP2 |
|---|
| 474 | + depends on ARCH_STI || FSP2 || COMPILE_TEST |
|---|
| 393 | 475 | depends on MMC_SDHCI_PLTFM |
|---|
| 394 | 476 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 395 | 477 | help |
|---|
| .. | .. |
|---|
| 425 | 507 | depends on ISA_DMA_API && !M68K |
|---|
| 426 | 508 | help |
|---|
| 427 | 509 | This selects the Winbond(R) W83L51xD Secure digital and |
|---|
| 428 | | - Multimedia card Interface. |
|---|
| 510 | + Multimedia card Interface. |
|---|
| 429 | 511 | If you have a machine with a integrated W83L518D or W83L519D |
|---|
| 430 | 512 | SD/MMC card reader, say Y or M here. |
|---|
| 431 | 513 | |
|---|
| 432 | 514 | If unsure, say N. |
|---|
| 433 | 515 | |
|---|
| 516 | +config MMC_ALCOR |
|---|
| 517 | + tristate "Alcor Micro/Alcor Link SD/MMC controller" |
|---|
| 518 | + depends on MISC_ALCOR_PCI |
|---|
| 519 | + help |
|---|
| 520 | + Say Y here to include driver code to support SD/MMC card interface |
|---|
| 521 | + of Alcor Micro PCI-E card reader |
|---|
| 522 | + |
|---|
| 434 | 523 | config MMC_AU1X |
|---|
| 435 | | - tristate "Alchemy AU1XX0 MMC Card Interface support" |
|---|
| 524 | + bool "Alchemy AU1XX0 MMC Card Interface support" |
|---|
| 436 | 525 | depends on MIPS_ALCHEMY |
|---|
| 526 | + depends on MMC=y |
|---|
| 437 | 527 | help |
|---|
| 438 | 528 | This selects the AMD Alchemy(R) Multimedia card interface. |
|---|
| 439 | | - If you have a Alchemy platform with a MMC slot, say Y or M here. |
|---|
| 529 | + If you have a Alchemy platform with a MMC slot, say Y here. |
|---|
| 440 | 530 | |
|---|
| 441 | 531 | If unsure, say N. |
|---|
| 442 | 532 | |
|---|
| .. | .. |
|---|
| 452 | 542 | |
|---|
| 453 | 543 | config MMC_SDHCI_MSM |
|---|
| 454 | 544 | tristate "Qualcomm SDHCI Controller Support" |
|---|
| 455 | | - depends on ARCH_QCOM || (ARM && COMPILE_TEST) |
|---|
| 545 | + depends on ARCH_QCOM || COMPILE_TEST |
|---|
| 456 | 546 | depends on MMC_SDHCI_PLTFM |
|---|
| 457 | 547 | select MMC_SDHCI_IO_ACCESSORS |
|---|
| 548 | + select MMC_CQHCI |
|---|
| 549 | + select QCOM_SCM if MMC_CRYPTO && ARCH_QCOM |
|---|
| 458 | 550 | help |
|---|
| 459 | 551 | This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 460 | 552 | support present in Qualcomm SOCs. The controller supports |
|---|
| .. | .. |
|---|
| 496 | 588 | 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support |
|---|
| 497 | 589 | (TIFM_7XX1)'. |
|---|
| 498 | 590 | |
|---|
| 499 | | - To compile this driver as a module, choose M here: the |
|---|
| 591 | + To compile this driver as a module, choose M here: the |
|---|
| 500 | 592 | module will be called tifm_sd. |
|---|
| 501 | 593 | |
|---|
| 502 | 594 | config MMC_MVSDIO |
|---|
| 503 | 595 | tristate "Marvell MMC/SD/SDIO host driver" |
|---|
| 504 | | - depends on PLAT_ORION |
|---|
| 596 | + depends on PLAT_ORION || (COMPILE_TEST && ARM) |
|---|
| 505 | 597 | depends on OF |
|---|
| 506 | | - ---help--- |
|---|
| 598 | + help |
|---|
| 507 | 599 | This selects the Marvell SDIO host driver. |
|---|
| 508 | 600 | SDIO may currently be found on the Kirkwood 88F6281 and 88F6192 |
|---|
| 509 | 601 | SoC controllers. |
|---|
| .. | .. |
|---|
| 512 | 604 | module will be called mvsdio. |
|---|
| 513 | 605 | |
|---|
| 514 | 606 | config MMC_DAVINCI |
|---|
| 515 | | - tristate "TI DAVINCI Multimedia Card Interface support" |
|---|
| 516 | | - depends on ARCH_DAVINCI |
|---|
| 517 | | - help |
|---|
| 518 | | - This selects the TI DAVINCI Multimedia card Interface. |
|---|
| 519 | | - If you have an DAVINCI board with a Multimedia Card slot, |
|---|
| 520 | | - say Y or M here. If unsure, say N. |
|---|
| 607 | + tristate "TI DAVINCI Multimedia Card Interface support" |
|---|
| 608 | + depends on ARCH_DAVINCI || COMPILE_TEST |
|---|
| 609 | + help |
|---|
| 610 | + This selects the TI DAVINCI Multimedia card Interface. |
|---|
| 611 | + If you have an DAVINCI board with a Multimedia Card slot, |
|---|
| 612 | + say Y or M here. If unsure, say N. |
|---|
| 521 | 613 | |
|---|
| 522 | 614 | config MMC_GOLDFISH |
|---|
| 523 | 615 | tristate "goldfish qemu Multimedia Card Interface support" |
|---|
| .. | .. |
|---|
| 528 | 620 | |
|---|
| 529 | 621 | config MMC_SPI |
|---|
| 530 | 622 | tristate "MMC/SD/SDIO over SPI" |
|---|
| 531 | | - depends on SPI_MASTER && HAS_DMA |
|---|
| 623 | + depends on SPI_MASTER |
|---|
| 532 | 624 | select CRC7 |
|---|
| 533 | 625 | select CRC_ITU_T |
|---|
| 534 | 626 | help |
|---|
| .. | .. |
|---|
| 546 | 638 | depends on S3C24XX_DMAC |
|---|
| 547 | 639 | help |
|---|
| 548 | 640 | This selects a driver for the MCI interface found in |
|---|
| 549 | | - Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs. |
|---|
| 641 | + Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs. |
|---|
| 550 | 642 | If you have a board based on one of those and a MMC/SD |
|---|
| 551 | 643 | slot, say Y or M here. |
|---|
| 552 | 644 | |
|---|
| 553 | 645 | If unsure, say N. |
|---|
| 554 | 646 | |
|---|
| 555 | 647 | config MMC_S3C_HW_SDIO_IRQ |
|---|
| 556 | | - bool "Hardware support for SDIO IRQ" |
|---|
| 557 | | - depends on MMC_S3C |
|---|
| 558 | | - help |
|---|
| 559 | | - Enable the hardware support for SDIO interrupts instead of using |
|---|
| 560 | | - the generic polling code. |
|---|
| 648 | + bool "Hardware support for SDIO IRQ" |
|---|
| 649 | + depends on MMC_S3C |
|---|
| 650 | + help |
|---|
| 651 | + Enable the hardware support for SDIO interrupts instead of using |
|---|
| 652 | + the generic polling code. |
|---|
| 561 | 653 | |
|---|
| 562 | 654 | choice |
|---|
| 563 | 655 | prompt "Samsung S3C SD/MMC transfer code" |
|---|
| .. | .. |
|---|
| 593 | 685 | To compile this driver as a module, choose M here: the |
|---|
| 594 | 686 | module will be called sdricoh_cs. |
|---|
| 595 | 687 | |
|---|
| 688 | +config MMC_SDHCI_SPRD |
|---|
| 689 | + tristate "Spreadtrum SDIO host Controller" |
|---|
| 690 | + depends on ARCH_SPRD || COMPILE_TEST |
|---|
| 691 | + depends on MMC_SDHCI_PLTFM |
|---|
| 692 | + select MMC_SDHCI_IO_ACCESSORS |
|---|
| 693 | + select MMC_HSQ |
|---|
| 694 | + help |
|---|
| 695 | + This selects the SDIO Host Controller in Spreadtrum |
|---|
| 696 | + SoCs, this driver supports R11(IP version: R11P0). |
|---|
| 697 | + |
|---|
| 698 | + If you have a controller with this interface, say Y or M here. |
|---|
| 699 | + |
|---|
| 700 | + If unsure, say N. |
|---|
| 701 | + |
|---|
| 596 | 702 | config MMC_TMIO_CORE |
|---|
| 597 | 703 | tristate |
|---|
| 598 | 704 | |
|---|
| 599 | 705 | config MMC_TMIO |
|---|
| 600 | 706 | tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" |
|---|
| 601 | | - depends on MFD_TMIO || MFD_ASIC3 |
|---|
| 707 | + depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST |
|---|
| 602 | 708 | select MMC_TMIO_CORE |
|---|
| 603 | 709 | help |
|---|
| 604 | 710 | This provides support for the SD/MMC cell found in TC6393XB, |
|---|
| .. | .. |
|---|
| 623 | 729 | |
|---|
| 624 | 730 | config MMC_SDHI_INTERNAL_DMAC |
|---|
| 625 | 731 | tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering" |
|---|
| 626 | | - depends on ARM64 || COMPILE_TEST |
|---|
| 732 | + depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST |
|---|
| 627 | 733 | depends on MMC_SDHI |
|---|
| 628 | | - default MMC_SDHI if ARM64 |
|---|
| 734 | + default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470) |
|---|
| 629 | 735 | help |
|---|
| 630 | 736 | This provides DMA support for SDHI SD/SDIO controllers |
|---|
| 631 | 737 | using on-chip bus mastering. This supports the controllers |
|---|
| 632 | | - found in arm64 based SoCs. |
|---|
| 738 | + found in arm64 based SoCs. This controller is also found in |
|---|
| 739 | + some RZ family SoCs. |
|---|
| 740 | + |
|---|
| 741 | +config MMC_UNIPHIER |
|---|
| 742 | + tristate "UniPhier SD/eMMC Host Controller support" |
|---|
| 743 | + depends on ARCH_UNIPHIER || COMPILE_TEST |
|---|
| 744 | + depends on OF |
|---|
| 745 | + select MMC_TMIO_CORE |
|---|
| 746 | + help |
|---|
| 747 | + This provides support for the SD/eMMC controller found in |
|---|
| 748 | + UniPhier SoCs. The eMMC variant of this controller is used |
|---|
| 749 | + only for 32-bit SoCs. |
|---|
| 633 | 750 | |
|---|
| 634 | 751 | config MMC_CB710 |
|---|
| 635 | 752 | tristate "ENE CB710 MMC/SD Interface support" |
|---|
| .. | .. |
|---|
| 678 | 795 | |
|---|
| 679 | 796 | config MMC_DW |
|---|
| 680 | 797 | tristate "Synopsys DesignWare Memory Card Interface" |
|---|
| 681 | | - depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST |
|---|
| 798 | + depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST |
|---|
| 682 | 799 | help |
|---|
| 683 | 800 | This selects support for the Synopsys DesignWare Mobile Storage IP |
|---|
| 684 | 801 | block, this provides host support for SD and MMC interfaces, in both |
|---|
| .. | .. |
|---|
| 773 | 890 | |
|---|
| 774 | 891 | config MMC_JZ4740 |
|---|
| 775 | 892 | tristate "Ingenic JZ47xx SD/Multimedia Card Interface support" |
|---|
| 776 | | - depends on MACH_JZ4740 || MACH_JZ4780 |
|---|
| 893 | + depends on MIPS |
|---|
| 777 | 894 | help |
|---|
| 778 | 895 | This selects support for the SD/MMC controller on Ingenic |
|---|
| 779 | 896 | JZ4740, JZ4750, JZ4770 and JZ4780 SoCs. |
|---|
| .. | .. |
|---|
| 860 | 977 | |
|---|
| 861 | 978 | config MMC_SUNXI |
|---|
| 862 | 979 | tristate "Allwinner sunxi SD/MMC Host Controller support" |
|---|
| 863 | | - depends on ARCH_SUNXI |
|---|
| 980 | + depends on ARCH_SUNXI || COMPILE_TEST |
|---|
| 864 | 981 | help |
|---|
| 865 | 982 | This selects support for the SD/MMC Host Controller on |
|---|
| 866 | 983 | Allwinner sunxi SoCs. |
|---|
| .. | .. |
|---|
| 909 | 1026 | config MMC_MTK |
|---|
| 910 | 1027 | tristate "MediaTek SD/MMC Card Interface support" |
|---|
| 911 | 1028 | depends on HAS_DMA |
|---|
| 1029 | + select REGULATOR |
|---|
| 1030 | + select MMC_CQHCI |
|---|
| 912 | 1031 | help |
|---|
| 913 | 1032 | This selects the MediaTek(R) Secure digital and Multimedia card Interface. |
|---|
| 914 | 1033 | If you have a machine with a integrated SD/MMC card reader, say Y or M here. |
|---|
| .. | .. |
|---|
| 916 | 1035 | If unsure, say N. |
|---|
| 917 | 1036 | |
|---|
| 918 | 1037 | config MMC_SDHCI_MICROCHIP_PIC32 |
|---|
| 919 | | - tristate "Microchip PIC32MZDA SDHCI support" |
|---|
| 920 | | - depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM |
|---|
| 921 | | - help |
|---|
| 922 | | - This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 923 | | - for PIC32MZDA platform. |
|---|
| 1038 | + tristate "Microchip PIC32MZDA SDHCI support" |
|---|
| 1039 | + depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM |
|---|
| 1040 | + help |
|---|
| 1041 | + This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 1042 | + for PIC32MZDA platform. |
|---|
| 924 | 1043 | |
|---|
| 925 | | - If you have a controller with this interface, say Y or M here. |
|---|
| 1044 | + If you have a controller with this interface, say Y or M here. |
|---|
| 926 | 1045 | |
|---|
| 927 | | - If unsure, say N. |
|---|
| 1046 | + If unsure, say N. |
|---|
| 1047 | + |
|---|
| 928 | 1048 | config MMC_SDHCI_BRCMSTB |
|---|
| 929 | 1049 | tristate "Broadcom SDIO/SD/MMC support" |
|---|
| 930 | 1050 | depends on ARCH_BRCMSTB || BMIPS_GENERIC |
|---|
| 931 | 1051 | depends on MMC_SDHCI_PLTFM |
|---|
| 1052 | + select MMC_CQHCI |
|---|
| 932 | 1053 | default y |
|---|
| 933 | 1054 | help |
|---|
| 934 | 1055 | This selects support for the SDIO/SD/MMC Host Controller on |
|---|
| .. | .. |
|---|
| 949 | 1070 | depends on MMC_SDHCI_PLTFM && OF |
|---|
| 950 | 1071 | select THERMAL |
|---|
| 951 | 1072 | imply TI_SOC_THERMAL |
|---|
| 1073 | + select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE |
|---|
| 952 | 1074 | help |
|---|
| 953 | 1075 | This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 954 | 1076 | support present in TI's DRA7 SOCs. The controller supports |
|---|
| .. | .. |
|---|
| 957 | 1079 | If you have a controller with this interface, say Y or M here. |
|---|
| 958 | 1080 | |
|---|
| 959 | 1081 | If unsure, say N. |
|---|
| 1082 | + |
|---|
| 1083 | +config MMC_SDHCI_AM654 |
|---|
| 1084 | + tristate "Support for the SDHCI Controller in TI's AM654 SOCs" |
|---|
| 1085 | + depends on MMC_SDHCI_PLTFM && OF |
|---|
| 1086 | + select MMC_SDHCI_IO_ACCESSORS |
|---|
| 1087 | + select MMC_CQHCI |
|---|
| 1088 | + select REGMAP_MMIO |
|---|
| 1089 | + help |
|---|
| 1090 | + This selects the Secure Digital Host Controller Interface (SDHCI) |
|---|
| 1091 | + support present in TI's AM654 SOCs. The controller supports |
|---|
| 1092 | + SD/MMC/SDIO devices. |
|---|
| 1093 | + |
|---|
| 1094 | + If you have a controller with this interface, say Y or M here. |
|---|
| 1095 | + |
|---|
| 1096 | + If unsure, say N. |
|---|
| 1097 | + |
|---|
| 1098 | +config MMC_OWL |
|---|
| 1099 | + tristate "Actions Semi Owl SD/MMC Host Controller support" |
|---|
| 1100 | + depends on HAS_DMA |
|---|
| 1101 | + depends on ARCH_ACTIONS || COMPILE_TEST |
|---|
| 1102 | + help |
|---|
| 1103 | + This selects support for the SD/MMC Host Controller on |
|---|
| 1104 | + Actions Semi Owl SoCs. |
|---|
| 1105 | + |
|---|
| 1106 | +config MMC_SDHCI_EXTERNAL_DMA |
|---|
| 1107 | + bool |
|---|