Kconfig 34 KB

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