Kconfig 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # MMC/SD host controller drivers
  4. #
  5. comment "MMC/SD/SDIO Host Controller Drivers"
  6. config MMC_DEBUG
  7. bool "MMC host drivers debugging"
  8. depends on MMC != n
  9. help
  10. This is an option for use by developers; most people should
  11. say N here. This enables MMC host driver debugging. And further
  12. added host drivers please don't invent their private macro for
  13. debugging.
  14. config MMC_SUNPLUS
  15. tristate "Sunplus SP7021 MMC Controller"
  16. depends on ARCH_SUNPLUS || COMPILE_TEST
  17. help
  18. If you say yes here, you will get support for eMMC host interface
  19. on Sunplus SoCs.
  20. If unsure, say N
  21. config MMC_ARMMMCI
  22. tristate "ARM AMBA Multimedia Card Interface support"
  23. depends on ARM_AMBA
  24. help
  25. This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
  26. Interface (PL180 and PL181) support. If you have an ARM(R)
  27. platform with a Multimedia Card slot, say Y or M here.
  28. If unsure, say N.
  29. config MMC_QCOM_DML
  30. bool "Qualcomm Data Mover for SD Card Controller"
  31. depends on MMC_ARMMMCI && QCOM_BAM_DMA
  32. default y
  33. help
  34. This selects the Qualcomm Data Mover lite/local on SD Card controller.
  35. This option will enable the dma to work correctly, if you are using
  36. Qcom SOCs and MMC, you would probably need this option to get DMA working.
  37. if unsure, say N.
  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. If unsure, say N.
  46. config MMC_PXA
  47. tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
  48. depends on ARCH_PXA || COMPILE_TEST
  49. help
  50. This selects the Intel(R) PXA(R) Multimedia card Interface.
  51. If you have a PXA(R) platform with a Multimedia Card slot,
  52. say Y or M here.
  53. If unsure, say N.
  54. config MMC_SDHCI
  55. tristate "Secure Digital Host Controller Interface support"
  56. depends on HAS_DMA
  57. help
  58. This selects the generic Secure Digital Host Controller Interface.
  59. It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
  60. and Toshiba(R). Most controllers found in laptops are of this type.
  61. If you have a controller with this interface, say Y or M here. You
  62. also need to enable an appropriate bus interface.
  63. If unsure, say N.
  64. config MMC_SDHCI_IO_ACCESSORS
  65. bool
  66. depends on MMC_SDHCI
  67. help
  68. This is silent Kconfig symbol that is selected by the drivers that
  69. need to overwrite SDHCI IO memory accessors.
  70. config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  71. bool
  72. depends on MMC_SDHCI
  73. select MMC_SDHCI_IO_ACCESSORS
  74. help
  75. This option is selected by drivers running on big endian hosts
  76. and performing I/O to a SDHCI controller through a bus that
  77. implements a hardware byte swapper using a 32-bit datum.
  78. This endian mapping mode is called "data invariance" and
  79. has the effect of scrambling the addresses and formats of data
  80. accessed in sizes other than the datum size.
  81. This is the case for the Nintendo Wii SDHCI.
  82. config MMC_SDHCI_UHS2
  83. tristate "UHS2 support on SDHCI controller" if COMPILE_TEST
  84. depends on MMC_SDHCI
  85. help
  86. This option is selected by SDHCI controller drivers that want to
  87. support UHS2-capable devices.
  88. If you have a controller with this feature, say Y or M here.
  89. config MMC_SDHCI_PCI
  90. tristate "SDHCI support on PCI bus"
  91. depends on MMC_SDHCI && PCI
  92. select MMC_CQHCI
  93. select MMC_SDHCI_UHS2
  94. select IOSF_MBI if X86
  95. select MMC_SDHCI_IO_ACCESSORS
  96. help
  97. This selects the PCI Secure Digital Host Controller Interface.
  98. Most controllers found today are PCI devices.
  99. If you have a controller with this interface, say Y or M here.
  100. If unsure, say N.
  101. config MMC_RICOH_MMC
  102. bool "Ricoh MMC Controller Disabler"
  103. depends on MMC_SDHCI_PCI
  104. default y
  105. help
  106. This adds a pci quirk to disable Ricoh MMC Controller. This
  107. proprietary controller is unnecessary because the SDHCI driver
  108. supports MMC cards on the SD controller, but if it is not
  109. disabled, it will steal the MMC cards away - rendering them
  110. useless. It is safe to select this even if you don't
  111. have a Ricoh based card reader.
  112. If unsure, say Y.
  113. config MMC_SDHCI_ACPI
  114. tristate "SDHCI support for ACPI enumerated SDHCI controllers"
  115. depends on MMC_SDHCI && ACPI && PCI
  116. select IOSF_MBI if X86
  117. help
  118. This selects support for ACPI enumerated SDHCI controllers,
  119. identified by ACPI Compatibility ID PNP0D40 or specific
  120. ACPI Hardware IDs.
  121. If you have a controller with this interface, say Y or M here.
  122. If unsure, say N.
  123. config MMC_SDHCI_PLTFM
  124. tristate "SDHCI platform and OF driver helper"
  125. depends on MMC_SDHCI
  126. help
  127. This selects the common helper functions support for Secure Digital
  128. Host Controller Interface based platform and OF drivers.
  129. If you have a controller with this interface, say Y or M here.
  130. If unsure, say N.
  131. config MMC_SDHCI_OF_ARASAN
  132. tristate "SDHCI OF support for the Arasan SDHCI controllers"
  133. depends on MMC_SDHCI_PLTFM
  134. depends on OF
  135. depends on COMMON_CLK
  136. select MMC_CQHCI
  137. help
  138. This selects the Arasan Secure Digital Host Controller Interface
  139. (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
  140. If you have a controller with this interface, say Y or M here.
  141. If unsure, say N.
  142. config MMC_SDHCI_OF_ASPEED
  143. tristate "SDHCI OF support for the ASPEED SDHCI controller"
  144. depends on ARCH_ASPEED || COMPILE_TEST
  145. depends on MMC_SDHCI_PLTFM
  146. depends on OF && OF_ADDRESS
  147. select MMC_SDHCI_IO_ACCESSORS
  148. help
  149. This selects the ASPEED Secure Digital Host Controller Interface.
  150. If you have a controller with this interface, say Y or M here. You
  151. also need to enable an appropriate bus interface.
  152. If unsure, say N.
  153. config MMC_SDHCI_OF_ASPEED_TEST
  154. bool "Tests for the ASPEED SDHCI driver" if !KUNIT_ALL_TESTS
  155. depends on MMC_SDHCI_OF_ASPEED && KUNIT
  156. depends on (MMC_SDHCI_OF_ASPEED=m || KUNIT=y)
  157. default KUNIT_ALL_TESTS
  158. help
  159. Enable KUnit tests for the ASPEED SDHCI driver. Select this
  160. option only if you will boot the kernel for the purpose of running
  161. unit tests (e.g. under UML or qemu).
  162. The KUnit tests generally exercise parts of the driver that do not
  163. directly touch the hardware, for example, the phase correction
  164. calculations.
  165. If unsure, say N.
  166. config MMC_SDHCI_OF_AT91
  167. tristate "SDHCI OF support for the Atmel SDMMC controller"
  168. depends on MMC_SDHCI_PLTFM
  169. depends on OF && HAVE_CLK
  170. help
  171. This selects the Atmel SDMMC driver
  172. config MMC_SDHCI_OF_ESDHC
  173. tristate "SDHCI OF support for the Freescale eSDHC controller"
  174. depends on MMC_SDHCI_PLTFM
  175. depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
  176. select MMC_SDHCI_IO_ACCESSORS
  177. select FSL_GUTS
  178. help
  179. This selects the Freescale eSDHC controller support.
  180. If you have a controller with this interface, say Y or M here.
  181. If unsure, say N.
  182. config MMC_SDHCI_OF_HLWD
  183. tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
  184. depends on MMC_SDHCI_PLTFM
  185. depends on PPC
  186. select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  187. help
  188. This selects the Secure Digital Host Controller Interface (SDHCI)
  189. found in the "Hollywood" chipset of the Nintendo Wii video game
  190. console.
  191. If you have a controller with this interface, say Y or M here.
  192. If unsure, say N.
  193. config MMC_SDHCI_OF_DWCMSHC
  194. tristate "SDHCI OF support for the Synopsys DWC MSHC"
  195. depends on MMC_SDHCI_PLTFM
  196. depends on OF
  197. depends on COMMON_CLK
  198. select MMC_CQHCI
  199. help
  200. This selects Synopsys DesignWare Cores Mobile Storage Controller
  201. support.
  202. If you have a controller with this interface, say Y or M here.
  203. If unsure, say N.
  204. config MMC_SDHCI_OF_K1
  205. tristate "SDHCI OF support for the SpacemiT K1 SoC"
  206. depends on ARCH_SPACEMIT || COMPILE_TEST
  207. depends on MMC_SDHCI_PLTFM
  208. depends on OF
  209. depends on COMMON_CLK
  210. help
  211. This selects the Secure Digital Host Controller Interface (SDHCI)
  212. found in the SpacemiT K1 SoC.
  213. If you have a controller with this interface, say Y or M here.
  214. If unsure, say N.
  215. config MMC_SDHCI_OF_SPARX5
  216. tristate "SDHCI OF support for the MCHP Sparx5 SoC"
  217. depends on MMC_SDHCI_PLTFM
  218. depends on ARCH_SPARX5 || COMPILE_TEST
  219. help
  220. This selects the Secure Digital Host Controller Interface (SDHCI)
  221. found in the MCHP Sparx5 SoC.
  222. If you have a Sparx5 SoC with this interface, say Y or M here.
  223. If unsure, say N.
  224. config MMC_SDHCI_OF_MA35D1
  225. tristate "SDHCI OF support for the MA35D1 SDHCI controller"
  226. depends on ARCH_MA35 || COMPILE_TEST
  227. depends on MMC_SDHCI_PLTFM
  228. help
  229. This selects the MA35D1 Secure Digital Host Controller Interface.
  230. The controller supports SD/MMC/SDIO devices.
  231. If you have a controller with this interface, say Y or M here.
  232. If unsure, say N.
  233. config MMC_SDHCI_CADENCE
  234. tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
  235. depends on MMC_SDHCI_PLTFM
  236. depends on OF
  237. select MMC_SDHCI_IO_ACCESSORS
  238. help
  239. This selects the Cadence SD/SDIO/eMMC driver.
  240. If you have a controller with this interface, say Y or M here.
  241. If unsure, say N.
  242. config MMC_SDHCI_ESDHC_MCF
  243. tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
  244. depends on M5441x
  245. depends on MMC_SDHCI_PLTFM
  246. select MMC_SDHCI_IO_ACCESSORS
  247. help
  248. This selects the Freescale eSDHC controller support for
  249. ColdFire mcf5441x devices.
  250. If you have a controller with this interface, say Y or M here.
  251. If unsure, say N.
  252. config MMC_SDHCI_ESDHC_IMX
  253. tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
  254. depends on ARCH_MXC || ARCH_S32 || COMPILE_TEST
  255. depends on MMC_SDHCI_PLTFM
  256. depends on OF
  257. select MMC_SDHCI_IO_ACCESSORS
  258. select MMC_CQHCI
  259. help
  260. This selects the Freescale eSDHC/uSDHC controller support
  261. found on i.MX25, i.MX35, i.MX5x, i.MX6x, and S32G.
  262. If you have a controller with this interface, say Y or M here.
  263. If unsure, say N.
  264. config MMC_SDHCI_DOVE
  265. tristate "SDHCI support on Marvell's Dove SoC"
  266. depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
  267. depends on MMC_SDHCI_PLTFM
  268. select MMC_SDHCI_IO_ACCESSORS
  269. help
  270. This selects the Secure Digital Host Controller Interface in
  271. Marvell's Dove SoC.
  272. If you have a controller with this interface, say Y or M here.
  273. If unsure, say N.
  274. config MMC_SDHCI_TEGRA
  275. tristate "SDHCI platform support for the Tegra SD/MMC Controller"
  276. depends on ARCH_TEGRA || COMPILE_TEST
  277. depends on MMC_SDHCI_PLTFM
  278. select MMC_SDHCI_IO_ACCESSORS
  279. select MMC_CQHCI
  280. help
  281. This selects the Tegra SD/MMC controller. If you have a Tegra
  282. platform with SD or MMC devices, say Y or M here.
  283. If unsure, say N.
  284. config MMC_SDHCI_S3C
  285. tristate "SDHCI support on Samsung S3C/S5P/Exynos SoC"
  286. depends on MMC_SDHCI
  287. depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  288. help
  289. This selects the Secure Digital Host Controller Interface (SDHCI)
  290. often referred to as the HSMMC block in some of the Samsung
  291. S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
  292. If you have a controller with this interface (thereforeyou build for
  293. such Samsung SoC), say Y or M here.
  294. If unsure, say N.
  295. config MMC_SDHCI_PXAV3
  296. tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
  297. depends on HAVE_CLK
  298. depends on MMC_SDHCI_PLTFM
  299. depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
  300. default CPU_MMP2
  301. help
  302. This selects the Marvell(R) PXAV3 SD Host Controller.
  303. If you have a MMP2 platform with SD Host Controller
  304. and a card slot, say Y or M here.
  305. If unsure, say N.
  306. config MMC_SDHCI_PXAV2
  307. tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
  308. depends on HAVE_CLK
  309. depends on MMC_SDHCI_PLTFM
  310. depends on ARCH_MMP || COMPILE_TEST
  311. default CPU_PXA910
  312. select MMC_SDHCI_IO_ACCESSORS
  313. help
  314. This selects the Marvell(R) PXAV2 SD Host Controller.
  315. If you have a PXA9XX platform with SD Host Controller
  316. and a card slot, say Y or M here.
  317. If unsure, say N.
  318. config MMC_SDHCI_SPEAR
  319. tristate "SDHCI support on ST SPEAr platform"
  320. depends on MMC_SDHCI
  321. depends on PLAT_SPEAR || COMPILE_TEST
  322. depends on OF
  323. help
  324. This selects the Secure Digital Host Controller Interface (SDHCI)
  325. often referred to as the HSMMC block in some of the ST SPEAR range
  326. of SoC
  327. If you have a controller with this interface, say Y or M here.
  328. If unsure, say N.
  329. config MMC_SDHCI_S3C_DMA
  330. bool "DMA support on S3C SDHCI"
  331. depends on MMC_SDHCI_S3C
  332. help
  333. Enable DMA support on the Samsung S3C SDHCI glue. The DMA
  334. has proved to be problematic if the controller encounters
  335. certain errors, and thus should be treated with care.
  336. YMMV.
  337. config MMC_SDHCI_BCM_KONA
  338. tristate "SDHCI support on Broadcom KONA platform"
  339. depends on ARCH_BCM_MOBILE || COMPILE_TEST
  340. depends on MMC_SDHCI_PLTFM
  341. help
  342. This selects the Broadcom Kona Secure Digital Host Controller
  343. Interface(SDHCI) support.
  344. This is used in Broadcom mobile SoCs.
  345. If you have a controller with this interface, say Y or M here.
  346. config MMC_SDHCI_F_SDH30
  347. tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
  348. depends on MMC_SDHCI_PLTFM
  349. depends on OF || ACPI
  350. help
  351. This selects the Secure Digital Host Controller Interface (SDHCI)
  352. Needed by some Fujitsu SoC for MMC / SD / SDIO support.
  353. If you have a controller with this interface, say Y or M here.
  354. If unsure, say N.
  355. config MMC_SDHCI_MILBEAUT
  356. tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30"
  357. depends on MMC_SDHCI_PLTFM
  358. depends on OF
  359. help
  360. This selects the Secure Digital Host Controller Interface (SDHCI)
  361. Needed by Milbeaut SoC for MMC / SD / SDIO support.
  362. If you have a controller with this interface, say Y or M here.
  363. If unsure, say N.
  364. config MMC_SDHCI_IPROC
  365. tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
  366. depends on ARCH_BCM2835 || ARCH_BCM_IPROC || ARCH_BRCMSTB || COMPILE_TEST
  367. depends on MMC_SDHCI_PLTFM
  368. depends on OF || ACPI
  369. default ARCH_BCM_IPROC
  370. select MMC_SDHCI_IO_ACCESSORS
  371. help
  372. This selects the iProc SD/MMC controller.
  373. If you have a BCM2835 or IPROC platform with SD or MMC devices,
  374. say Y or M here.
  375. If unsure, say N.
  376. config MMC_SDHCI_NPCM
  377. tristate "Secure Digital Host Controller Interface support for NPCM"
  378. depends on ARCH_NPCM || COMPILE_TEST
  379. depends on MMC_SDHCI_PLTFM
  380. help
  381. This provides support for the SD/eMMC controller found in
  382. NPCM BMC family SoCs.
  383. config MMC_MESON_GX
  384. tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
  385. depends on ARCH_MESON|| COMPILE_TEST
  386. depends on COMMON_CLK
  387. help
  388. This selects support for the Amlogic SD/MMC Host Controller
  389. found on the S905/GX*/AXG family of SoCs. This controller is
  390. MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
  391. If you have a controller with this interface, say Y here.
  392. config MMC_MESON_MX_SDHC
  393. tristate "Amlogic Meson SDHC Host Controller support"
  394. depends on (ARM && ARCH_MESON) || COMPILE_TEST
  395. depends on COMMON_CLK
  396. depends on OF
  397. help
  398. This selects support for the SDHC Host Controller on
  399. Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs.
  400. The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x
  401. with 1, 4, and 8 bit bus widths.
  402. If you have a controller with this interface, say Y or M here.
  403. If unsure, say N.
  404. config MMC_MESON_MX_SDIO
  405. tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
  406. depends on ARCH_MESON || COMPILE_TEST
  407. depends on COMMON_CLK
  408. depends on OF_ADDRESS
  409. select REGMAP_MMIO
  410. help
  411. This selects support for the SD/MMC Host Controller on
  412. Amlogic Meson6, Meson8 and Meson8b SoCs.
  413. If you have a controller with this interface, say Y or M here.
  414. If unsure, say N.
  415. config MMC_MOXART
  416. tristate "MOXART SD/MMC Host Controller support"
  417. depends on ARCH_MOXART || COMPILE_TEST
  418. help
  419. This selects support for the MOXART SD/MMC Host Controller.
  420. MOXA provides one multi-functional card reader which can
  421. be found on some embedded hardware such as UC-7112-LX.
  422. If you have a controller with this interface, say Y here.
  423. config MMC_SDHCI_ST
  424. tristate "SDHCI support on STMicroelectronics SoC"
  425. depends on ARCH_STI || FSP2 || COMPILE_TEST
  426. depends on MMC_SDHCI_PLTFM
  427. select MMC_SDHCI_IO_ACCESSORS
  428. help
  429. This selects the Secure Digital Host Controller Interface in
  430. STMicroelectronics SoCs.
  431. If you have a controller with this interface, say Y or M here.
  432. If unsure, say N.
  433. config MMC_OMAP
  434. tristate "TI OMAP Multimedia Card Interface support"
  435. depends on ARCH_OMAP
  436. help
  437. This selects the TI OMAP Multimedia card Interface.
  438. If you have an OMAP board with a Multimedia Card slot,
  439. say Y or M here.
  440. If unsure, say N.
  441. config MMC_OMAP_HS
  442. tristate "TI OMAP High Speed Multimedia Card Interface support"
  443. depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
  444. help
  445. This selects the TI OMAP High Speed Multimedia card Interface.
  446. If you have an omap2plus board with a Multimedia Card slot,
  447. say Y or M here.
  448. If unsure, say N.
  449. config MMC_WBSD
  450. tristate "Winbond W83L51xD SD/MMC Card Interface support"
  451. depends on ISA_DMA_API
  452. help
  453. This selects the Winbond(R) W83L51xD Secure digital and
  454. Multimedia card Interface.
  455. If you have a machine with a integrated W83L518D or W83L519D
  456. SD/MMC card reader, say Y or M here.
  457. If unsure, say N.
  458. config MMC_ALCOR
  459. tristate "Alcor Micro/Alcor Link SD/MMC controller"
  460. depends on MISC_ALCOR_PCI
  461. help
  462. Say Y here to include driver code to support SD/MMC card interface
  463. of Alcor Micro PCI-E card reader
  464. config MMC_AU1X
  465. bool "Alchemy AU1XX0 MMC Card Interface support"
  466. depends on MIPS_ALCHEMY
  467. depends on MMC=y
  468. help
  469. This selects the AMD Alchemy(R) Multimedia card interface.
  470. If you have a Alchemy platform with a MMC slot, say Y here.
  471. If unsure, say N.
  472. config MMC_ATMELMCI
  473. tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
  474. depends on ARCH_AT91
  475. help
  476. This selects the Atmel Multimedia Card Interface driver.
  477. If you have an AT91 platform with a Multimedia Card slot,
  478. say Y or M here.
  479. If unsure, say N.
  480. config MMC_SDHCI_MSM
  481. tristate "Qualcomm SDHCI Controller Support"
  482. depends on ARCH_QCOM || COMPILE_TEST
  483. depends on MMC_SDHCI_PLTFM
  484. select MMC_SDHCI_IO_ACCESSORS
  485. select MMC_CQHCI
  486. select QCOM_INLINE_CRYPTO_ENGINE if MMC_CRYPTO
  487. help
  488. This selects the Secure Digital Host Controller Interface (SDHCI)
  489. support present in Qualcomm SOCs. The controller supports
  490. SD/MMC/SDIO devices.
  491. If you have a controller with this interface, say Y or M here.
  492. If unsure, say N.
  493. config MMC_MXC
  494. tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
  495. depends on ARCH_MXC || PPC_MPC512x || COMPILE_TEST
  496. help
  497. This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
  498. Multimedia Card Interface. If you have an i.MX or MPC512x platform
  499. with a Multimedia Card slot, say Y or M here.
  500. If unsure, say N.
  501. config MMC_MXS
  502. tristate "Freescale MXS Multimedia Card Interface support"
  503. depends on ARCH_MXS && MXS_DMA
  504. help
  505. This selects the Freescale SSP MMC controller found on MXS based
  506. platforms like mx23/28.
  507. If unsure, say N.
  508. config MMC_TIFM_SD
  509. tristate "TI Flash Media MMC/SD Interface support"
  510. depends on PCI
  511. select TIFM_CORE
  512. help
  513. Say Y here if you want to be able to access MMC/SD cards with
  514. the Texas Instruments(R) Flash Media card reader, found in many
  515. laptops.
  516. This option 'selects' (turns on, enables) 'TIFM_CORE', but you
  517. probably also need appropriate card reader host adapter, such as
  518. 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
  519. (TIFM_7XX1)'.
  520. To compile this driver as a module, choose M here: the
  521. module will be called tifm_sd.
  522. config MMC_MVSDIO
  523. tristate "Marvell MMC/SD/SDIO host driver"
  524. depends on PLAT_ORION || (COMPILE_TEST && ARM)
  525. depends on OF
  526. help
  527. This selects the Marvell SDIO host driver.
  528. SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
  529. SoC controllers.
  530. To compile this driver as a module, choose M here: the
  531. module will be called mvsdio.
  532. config MMC_DAVINCI
  533. tristate "TI DAVINCI Multimedia Card Interface support"
  534. depends on ARCH_DAVINCI || COMPILE_TEST
  535. help
  536. This selects the TI DAVINCI Multimedia card Interface.
  537. If you have an DAVINCI board with a Multimedia Card slot,
  538. say Y or M here. If unsure, say N.
  539. config MMC_SPI
  540. tristate "MMC/SD/SDIO over SPI"
  541. depends on SPI_MASTER
  542. select CRC7
  543. select CRC_ITU_T
  544. help
  545. Some systems access MMC/SD/SDIO cards using a SPI controller
  546. instead of using a "native" MMC/SD/SDIO controller. This has a
  547. disadvantage of being relatively high overhead, but a compensating
  548. advantage of working on many systems without dedicated MMC/SD/SDIO
  549. controllers.
  550. If unsure, or if your system has no SPI master driver, say N.
  551. config MMC_SDRICOH_CS
  552. tristate "MMC/SD driver for Ricoh Bay1Controllers"
  553. depends on PCI && PCMCIA
  554. help
  555. Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
  556. card whenever you insert a MMC or SD card into the card slot.
  557. To compile this driver as a module, choose M here: the
  558. module will be called sdricoh_cs.
  559. config MMC_SDHCI_SPRD
  560. tristate "Spreadtrum SDIO host Controller"
  561. depends on ARCH_SPRD || COMPILE_TEST
  562. depends on MMC_SDHCI_PLTFM
  563. select MMC_SDHCI_IO_ACCESSORS
  564. select MMC_HSQ
  565. help
  566. This selects the SDIO Host Controller in Spreadtrum
  567. SoCs, this driver supports R11(IP version: R11P0).
  568. If you have a controller with this interface, say Y or M here.
  569. If unsure, say N.
  570. config MMC_TMIO_CORE
  571. tristate
  572. config MMC_SDHI
  573. tristate "Renesas SDHI SD/SDIO controller support"
  574. depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
  575. depends on (RESET_CONTROLLER && REGULATOR) || !OF
  576. select MMC_TMIO_CORE
  577. help
  578. This provides support for the SDHI SD/SDIO controller found in
  579. Renesas SuperH, ARM and ARM64 based SoCs
  580. config MMC_SDHI_SYS_DMAC
  581. tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
  582. depends on MMC_SDHI
  583. default MMC_SDHI if (SUPERH || ARM)
  584. help
  585. This provides DMA support for SDHI SD/SDIO controllers
  586. using SYS-DMAC via DMA Engine. This supports the controllers
  587. found in SuperH and Renesas ARM based SoCs.
  588. config MMC_SDHI_INTERNAL_DMAC
  589. tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
  590. depends on ARCH_RENESAS || COMPILE_TEST
  591. depends on MMC_SDHI
  592. default MMC_SDHI if ARCH_RENESAS
  593. help
  594. This provides DMA support for SDHI SD/SDIO controllers
  595. using on-chip bus mastering. This supports the controllers
  596. found in arm64 based SoCs. This controller is also found in
  597. some RZ family SoCs.
  598. config MMC_UNIPHIER
  599. tristate "UniPhier SD/eMMC Host Controller support"
  600. depends on ARCH_UNIPHIER || COMPILE_TEST
  601. depends on OF
  602. select MMC_TMIO_CORE
  603. help
  604. This provides support for the SD/eMMC controller found in
  605. UniPhier SoCs. The eMMC variant of this controller is used
  606. only for 32-bit SoCs.
  607. config MMC_CB710
  608. tristate "ENE CB710 MMC/SD Interface support"
  609. depends on PCI
  610. select CB710_CORE
  611. help
  612. This option enables support for MMC/SD part of ENE CB710/720 Flash
  613. memory card reader found in some laptops (ie. some versions of
  614. HP Compaq nx9500).
  615. This driver can also be built as a module. If so, the module
  616. will be called cb710-mmc.
  617. config MMC_VIA_SDMMC
  618. tristate "VIA SD/MMC Card Reader Driver"
  619. depends on PCI
  620. help
  621. This selects the VIA SD/MMC Card Reader driver, say Y or M here.
  622. VIA provides one multi-functional card reader which integrated into
  623. some motherboards manufactured by VIA. This card reader supports
  624. SD/MMC/SDHC.
  625. If you have a controller with this interface, say Y or M here.
  626. If unsure, say N.
  627. config MMC_CAVIUM_OCTEON
  628. tristate "Cavium OCTEON SD/MMC Card Interface support"
  629. depends on CAVIUM_OCTEON_SOC
  630. help
  631. This selects Cavium OCTEON SD/MMC card Interface.
  632. If you have an OCTEON board with a Multimedia Card slot,
  633. say Y or M here.
  634. If unsure, say N.
  635. config MMC_CAVIUM_THUNDERX
  636. tristate "Cavium ThunderX SD/MMC Card Interface support"
  637. depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
  638. depends on GPIO_THUNDERX
  639. depends on OF_ADDRESS
  640. help
  641. This selects Cavium ThunderX SD/MMC Card Interface.
  642. If you have an Cavium ARM64 board with a Multimedia Card slot
  643. or builtin eMMC chip say Y or M here. If built as a module
  644. the module will be called thunderx_mmc.ko.
  645. config MMC_DW
  646. tristate "Synopsys DesignWare Memory Card Interface"
  647. depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST
  648. help
  649. This selects support for the Synopsys DesignWare Mobile Storage IP
  650. block, this provides host support for SD and MMC interfaces, in both
  651. PIO, internal DMA mode and external DMA mode.
  652. config MMC_DW_PLTFM
  653. tristate "Synopsys Designware MCI Support as platform device"
  654. depends on MMC_DW
  655. default y
  656. help
  657. This selects the common helper functions support for Host Controller
  658. Interface based platform driver. Please select this option if the IP
  659. is present as a platform device. This is the common interface for the
  660. Synopsys Designware IP.
  661. If you have a controller with this interface, say Y or M here.
  662. If unsure, say Y.
  663. config MMC_DW_BLUEFIELD
  664. tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
  665. depends on MMC_DW
  666. select MMC_DW_PLTFM
  667. help
  668. This selects support for Mellanox BlueField SoC specific extensions to
  669. the Synopsys DesignWare Memory Card Interface driver. Select this
  670. option for platforms based on Mellanox BlueField SoC's.
  671. config MMC_DW_EXYNOS
  672. tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
  673. depends on MMC_DW
  674. select MMC_DW_PLTFM
  675. help
  676. This selects support for Samsung Exynos SoC specific extensions to the
  677. Synopsys DesignWare Memory Card Interface driver. Select this option
  678. for platforms based on Exynos4 and Exynos5 SoC's.
  679. config MMC_DW_HI3798CV200
  680. tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
  681. depends on MMC_DW
  682. select MMC_DW_PLTFM
  683. help
  684. This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
  685. Synopsys DesignWare Memory Card Interface driver. Select this option
  686. for platforms based on HiSilicon Hi3798CV200 SoC.
  687. config MMC_DW_HI3798MV200
  688. tristate "Hi3798MV200 specific extensions for Synopsys DW Memory Card Interface"
  689. depends on MMC_DW
  690. select MMC_DW_PLTFM
  691. help
  692. This selects support for HiSilicon Hi3798MV200 SoC specific extensions to the
  693. Synopsys DesignWare Memory Card Interface driver. Select this option
  694. for platforms based on HiSilicon Hi3798MV200 SoC.
  695. config MMC_DW_K3
  696. tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
  697. depends on MMC_DW
  698. select MMC_DW_PLTFM
  699. help
  700. This selects support for Hisilicon K3 SoC specific extensions to the
  701. Synopsys DesignWare Memory Card Interface driver. Select this option
  702. for platforms based on Hisilicon K3 SoC's.
  703. config MMC_DW_PCI
  704. tristate "Synopsys Designware MCI support on PCI bus"
  705. depends on MMC_DW && PCI
  706. help
  707. This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
  708. Select this option if the IP is present on PCI platform.
  709. If you have a controller with this interface, say Y or M here.
  710. If unsure, say N.
  711. config MMC_DW_ROCKCHIP
  712. tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
  713. depends on MMC_DW
  714. depends on ARCH_ROCKCHIP || COMPILE_TEST
  715. select MMC_DW_PLTFM
  716. help
  717. This selects support for Rockchip SoC specific extensions to the
  718. Synopsys DesignWare Memory Card Interface driver. Select this option
  719. for platforms based on RK3066, RK3188 and RK3288 SoC's.
  720. config MMC_DW_STARFIVE
  721. tristate "StarFive specific extensions for Synopsys DW Memory Card Interface"
  722. depends on SOC_STARFIVE
  723. depends on MMC_DW
  724. select MMC_DW_PLTFM
  725. help
  726. This selects support for StarFive JH7110 SoC specific extensions to the
  727. Synopsys DesignWare Memory Card Interface driver. Select this option
  728. for platforms based on StarFive JH7110 SoC.
  729. config MMC_SH_MMCIF
  730. tristate "SuperH Internal MMCIF support"
  731. depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
  732. help
  733. This selects the MMC Host Interface controller (MMCIF) found in various
  734. Renesas SoCs for SH and ARM architectures.
  735. config MMC_JZ4740
  736. tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
  737. depends on MIPS
  738. help
  739. This selects support for the SD/MMC controller on Ingenic
  740. JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
  741. If you have a board based on such a SoC and with a SD/MMC slot,
  742. say Y or M here.
  743. config MMC_VUB300
  744. tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
  745. depends on USB
  746. help
  747. This selects support for Elan Digital Systems' VUB300 chip.
  748. The VUB300 is a USB-SDIO Host Controller Interface chip
  749. that enables the host computer to use SDIO/SD/MMC cards
  750. via a USB 2.0 or USB 1.1 host.
  751. The VUB300 chip will be found in both physically separate
  752. USB to SDIO/SD/MMC adapters and embedded on some motherboards.
  753. The VUB300 chip supports SD and MMC memory cards in addition
  754. to single and multifunction SDIO cards.
  755. Some SDIO cards will need a firmware file to be loaded and
  756. sent to VUB300 chip in order to achieve better data throughput.
  757. Download these "Offload Pseudocode" from Elan Digital Systems'
  758. web-site http://www.elandigitalsystems.com/support/downloads.php
  759. and put them in /lib/firmware. Note that without these additional
  760. firmware files the VUB300 chip will still function, but not at
  761. the best obtainable data rate.
  762. To compile this mmc host controller driver as a module,
  763. choose M here: the module will be called vub300.
  764. If you have a computer with an embedded VUB300 chip
  765. or if you intend connecting a USB adapter based on a
  766. VUB300 chip say Y or M here.
  767. config MMC_USHC
  768. tristate "USB SD Host Controller (USHC) support"
  769. depends on USB
  770. help
  771. This selects support for USB SD Host Controllers based on
  772. the Cypress Astoria chip with firmware compliant with CSR's
  773. USB SD Host Controller specification (CS-118793-SP).
  774. CSR boards with this device include: USB<>SDIO (M1985v2),
  775. and Ultrasira.
  776. Note: These controllers only support SDIO cards and do not
  777. support MMC or SD memory cards.
  778. config MMC_WMT
  779. tristate "Wondermedia SD/MMC Host Controller support"
  780. depends on ARCH_VT8500 || COMPILE_TEST
  781. default ARCH_VT8500
  782. help
  783. This selects support for the SD/MMC Host Controller on
  784. Wondermedia WM8505/WM8650 based SoCs.
  785. To compile this driver as a module, choose M here: the
  786. module will be called wmt-sdmmc.
  787. config MMC_USDHI6ROL0
  788. tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support"
  789. depends on HAS_DMA
  790. help
  791. This selects support for the Renesas USDHI6ROL0 SD/SDIO
  792. Host Controller
  793. config MMC_REALTEK_PCI
  794. tristate "Realtek PCI-E SD/MMC Card Interface Driver"
  795. depends on MISC_RTSX_PCI
  796. help
  797. Say Y here to include driver code to support SD/MMC card interface
  798. of Realtek PCI-E card reader
  799. config MMC_REALTEK_USB
  800. tristate "Realtek USB SD/MMC Card Interface Driver"
  801. depends on MISC_RTSX_USB
  802. help
  803. Say Y here to include driver code to support SD/MMC card interface
  804. of Realtek RTS5129/39 series card reader
  805. config MMC_SUNXI
  806. tristate "Allwinner sunxi SD/MMC Host Controller support"
  807. depends on ARCH_SUNXI || COMPILE_TEST
  808. depends on SUNXI_CCU
  809. help
  810. This selects support for the SD/MMC Host Controller on
  811. Allwinner sunxi SoCs.
  812. config MMC_CQHCI
  813. tristate "Command Queue Host Controller Interface support"
  814. depends on HAS_DMA
  815. help
  816. This selects the Command Queue Host Controller Interface (CQHCI)
  817. support present in host controllers of Qualcomm Technologies, Inc
  818. amongst others.
  819. This controller supports eMMC devices with command queue support.
  820. If you have a controller with this interface, say Y or M here.
  821. If unsure, say N.
  822. config MMC_HSQ
  823. tristate "MMC Host Software Queue support"
  824. help
  825. This selects the MMC Host Software Queue support. This may increase
  826. performance, if the host controller and its driver supports it.
  827. If you have a controller/driver supporting this interface, say Y or M
  828. here.
  829. If unsure, say N.
  830. config MMC_TOSHIBA_PCI
  831. tristate "Toshiba Type A SD/MMC Card Interface Driver"
  832. depends on PCI
  833. config MMC_BCM2835
  834. tristate "Broadcom BCM2835 SDHOST MMC Controller support"
  835. depends on ARCH_BCM2835 || COMPILE_TEST
  836. help
  837. This selects the BCM2835 SDHOST MMC controller. If you have
  838. a BCM2835 platform with SD or MMC devices, say Y or M here.
  839. Note that the BCM2835 has two SD controllers: The Arasan
  840. sdhci controller (supported by MMC_SDHCI_IPROC) and a custom
  841. sdhost controller (supported by this driver).
  842. If unsure, say N.
  843. config MMC_MTK
  844. tristate "MediaTek SD/MMC Card Interface support"
  845. depends on HAS_DMA
  846. depends on COMMON_CLK
  847. select REGULATOR
  848. select MMC_CQHCI
  849. select MMC_HSQ
  850. help
  851. This selects the MediaTek(R) Secure digital and Multimedia card Interface.
  852. If you have a machine with a integrated SD/MMC card reader, say Y or M here.
  853. This is needed if support for any SD/SDIO/MMC devices is required.
  854. If unsure, say N.
  855. config MMC_SDHCI_MICROCHIP_PIC32
  856. tristate "Microchip PIC32MZDA SDHCI support"
  857. depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
  858. help
  859. This selects the Secure Digital Host Controller Interface (SDHCI)
  860. for PIC32MZDA platform.
  861. If you have a controller with this interface, say Y or M here.
  862. If unsure, say N.
  863. config MMC_SDHCI_BRCMSTB
  864. tristate "Broadcom SDIO/SD/MMC support"
  865. depends on ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST
  866. depends on MMC_SDHCI_PLTFM
  867. select MMC_CQHCI
  868. default ARCH_BRCMSTB || BMIPS_GENERIC
  869. help
  870. This selects support for the SDIO/SD/MMC Host Controller on
  871. Broadcom STB SoCs.
  872. If unsure, say Y.
  873. config MMC_SDHCI_XENON
  874. tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
  875. depends on MMC_SDHCI_PLTFM
  876. help
  877. This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
  878. If you have a controller with this interface, say Y or M here.
  879. If unsure, say N.
  880. config MMC_SDHCI_OMAP
  881. tristate "TI SDHCI Controller Support"
  882. depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
  883. depends on MMC_SDHCI_PLTFM && OF
  884. select THERMAL
  885. imply TI_SOC_THERMAL
  886. select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
  887. help
  888. This selects the Secure Digital Host Controller Interface (SDHCI)
  889. support present in TI's Keystone/OMAP2+/DRA7 SOCs. The controller
  890. supports SD/MMC/SDIO devices.
  891. If you have a controller with this interface, say Y or M here.
  892. If unsure, say N.
  893. config MMC_SDHCI_AM654
  894. tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
  895. depends on ARCH_K3 || COMPILE_TEST
  896. depends on MMC_SDHCI_PLTFM && OF
  897. select MMC_SDHCI_IO_ACCESSORS
  898. select MMC_CQHCI
  899. select REGMAP_MMIO
  900. help
  901. This selects the Secure Digital Host Controller Interface (SDHCI)
  902. support present in TI's AM65x/AM64x/AM62x/J721E SOCs. The controller
  903. supports SD/MMC/SDIO devices.
  904. If you have a controller with this interface, say Y or M here.
  905. If unsure, say N.
  906. config MMC_OWL
  907. tristate "Actions Semi Owl SD/MMC Host Controller support"
  908. depends on HAS_DMA
  909. depends on ARCH_ACTIONS || COMPILE_TEST
  910. help
  911. This selects support for the SD/MMC Host Controller on
  912. Actions Semi Owl SoCs.
  913. config MMC_LOONGSON2
  914. tristate "Loongson-2K SD/SDIO/eMMC Host Interface support"
  915. depends on LOONGARCH || COMPILE_TEST
  916. depends on HAS_DMA
  917. select REGMAP_MMIO
  918. help
  919. This selects support for the SD/SDIO/eMMC Host Controller on
  920. Loongson-2K series CPUs.
  921. To compile this driver as a module, choose M here: the
  922. module will be called mmc_loongson2.
  923. If unsure, say N.
  924. config MMC_SDHCI_EXTERNAL_DMA
  925. bool
  926. config MMC_LITEX
  927. tristate "LiteX MMC Host Controller support"
  928. depends on ((PPC_MICROWATT || LITEX) && OF && HAVE_CLK) || COMPILE_TEST
  929. select REGULATOR
  930. select REGULATOR_FIXED_VOLTAGE
  931. help
  932. This selects support for the MMC Host Controller found in LiteX SoCs.
  933. To compile this driver as a module, choose M here: the
  934. module will be called litex_mmc.
  935. If unsure, say N.