Kconfig 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161
  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_ARMMMCI
  15. tristate "ARM AMBA Multimedia Card Interface support"
  16. depends on ARM_AMBA
  17. help
  18. This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
  19. Interface (PL180 and PL181) support. If you have an ARM(R)
  20. platform with a Multimedia Card slot, say Y or M here.
  21. If unsure, say N.
  22. config MMC_QCOM_DML
  23. bool "Qualcomm Data Mover for SD Card Controller"
  24. depends on MMC_ARMMMCI && QCOM_BAM_DMA
  25. default y
  26. help
  27. This selects the Qualcomm Data Mover lite/local on SD Card controller.
  28. This option will enable the dma to work correctly, if you are using
  29. Qcom SOCs and MMC, you would probably need this option to get DMA working.
  30. if unsure, say N.
  31. config MMC_STM32_SDMMC
  32. bool "STMicroelectronics STM32 SDMMC Controller"
  33. depends on MMC_ARMMMCI
  34. default y
  35. help
  36. This selects the STMicroelectronics STM32 SDMMC host controller.
  37. If you have a STM32 sdmmc host with internal DMA say Y here.
  38. If unsure, say N.
  39. config MMC_PXA
  40. tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
  41. depends on ARCH_PXA
  42. help
  43. This selects the Intel(R) PXA(R) Multimedia card Interface.
  44. If you have a PXA(R) platform with a Multimedia Card slot,
  45. say Y or M here.
  46. If unsure, say N.
  47. config MMC_SDHCI
  48. tristate "Secure Digital Host Controller Interface support"
  49. depends on HAS_DMA
  50. help
  51. This selects the generic Secure Digital Host Controller Interface.
  52. It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
  53. and Toshiba(R). Most controllers found in laptops are of this type.
  54. If you have a controller with this interface, say Y or M here. You
  55. also need to enable an appropriate bus interface.
  56. If unsure, say N.
  57. config MMC_SDHCI_IO_ACCESSORS
  58. bool
  59. depends on MMC_SDHCI
  60. help
  61. This is silent Kconfig symbol that is selected by the drivers that
  62. need to overwrite SDHCI IO memory accessors.
  63. config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  64. bool
  65. depends on MMC_SDHCI
  66. select MMC_SDHCI_IO_ACCESSORS
  67. help
  68. This option is selected by drivers running on big endian hosts
  69. and performing I/O to a SDHCI controller through a bus that
  70. implements a hardware byte swapper using a 32-bit datum.
  71. This endian mapping mode is called "data invariance" and
  72. has the effect of scrambling the addresses and formats of data
  73. accessed in sizes other than the datum size.
  74. This is the case for the Nintendo Wii SDHCI.
  75. config MMC_SDHCI_PCI
  76. tristate "SDHCI support on PCI bus"
  77. depends on MMC_SDHCI && PCI
  78. select MMC_CQHCI
  79. select IOSF_MBI if X86
  80. select MMC_SDHCI_IO_ACCESSORS
  81. help
  82. This selects the PCI Secure Digital Host Controller Interface.
  83. Most controllers found today are PCI devices.
  84. If you have a controller with this interface, say Y or M here.
  85. If unsure, say N.
  86. config MMC_RICOH_MMC
  87. bool "Ricoh MMC Controller Disabler"
  88. depends on MMC_SDHCI_PCI
  89. default y
  90. help
  91. This adds a pci quirk to disable Ricoh MMC Controller. This
  92. proprietary controller is unnecessary because the SDHCI driver
  93. supports MMC cards on the SD controller, but if it is not
  94. disabled, it will steal the MMC cards away - rendering them
  95. useless. It is safe to select this even if you don't
  96. have a Ricoh based card reader.
  97. If unsure, say Y.
  98. config MMC_SDHCI_ACPI
  99. tristate "SDHCI support for ACPI enumerated SDHCI controllers"
  100. depends on MMC_SDHCI && ACPI && PCI
  101. select IOSF_MBI if X86
  102. help
  103. This selects support for ACPI enumerated SDHCI controllers,
  104. identified by ACPI Compatibility ID PNP0D40 or specific
  105. ACPI Hardware IDs.
  106. If you have a controller with this interface, say Y or M here.
  107. If unsure, say N.
  108. config MMC_SDHCI_PLTFM
  109. tristate "SDHCI platform and OF driver helper"
  110. depends on MMC_SDHCI
  111. help
  112. This selects the common helper functions support for Secure Digital
  113. Host Controller Interface based platform and OF drivers.
  114. If you have a controller with this interface, say Y or M here.
  115. If unsure, say N.
  116. config MMC_SDHCI_OF_ARASAN
  117. tristate "SDHCI OF support for the Arasan SDHCI controllers"
  118. depends on MMC_SDHCI_PLTFM
  119. depends on OF
  120. depends on COMMON_CLK
  121. select MMC_CQHCI
  122. help
  123. This selects the Arasan Secure Digital Host Controller Interface
  124. (SDHCI). This hardware is found e.g. in Xilinx' Zynq SoC.
  125. If you have a controller with this interface, say Y or M here.
  126. If unsure, say N.
  127. config MMC_SDHCI_OF_ASPEED
  128. tristate "SDHCI OF support for the ASPEED SDHCI controller"
  129. depends on ARCH_ASPEED || COMPILE_TEST
  130. depends on MMC_SDHCI_PLTFM
  131. depends on OF && OF_ADDRESS
  132. select MMC_SDHCI_IO_ACCESSORS
  133. help
  134. This selects the ASPEED Secure Digital Host Controller Interface.
  135. If you have a controller with this interface, say Y or M here. You
  136. also need to enable an appropriate bus interface.
  137. If unsure, say N.
  138. config MMC_SDHCI_OF_ASPEED_TEST
  139. bool "Tests for the ASPEED SDHCI driver" if !KUNIT_ALL_TESTS
  140. depends on MMC_SDHCI_OF_ASPEED && KUNIT
  141. depends on (MMC_SDHCI_OF_ASPEED=m || KUNIT=y)
  142. default KUNIT_ALL_TESTS
  143. help
  144. Enable KUnit tests for the ASPEED SDHCI driver. Select this
  145. option only if you will boot the kernel for the purpose of running
  146. unit tests (e.g. under UML or qemu).
  147. The KUnit tests generally exercise parts of the driver that do not
  148. directly touch the hardware, for example, the phase correction
  149. calculations.
  150. If unsure, say N.
  151. config MMC_SDHCI_OF_AT91
  152. tristate "SDHCI OF support for the Atmel SDMMC controller"
  153. depends on MMC_SDHCI_PLTFM
  154. depends on OF && HAVE_CLK
  155. help
  156. This selects the Atmel SDMMC driver
  157. config MMC_SDHCI_OF_ESDHC
  158. tristate "SDHCI OF support for the Freescale eSDHC controller"
  159. depends on MMC_SDHCI_PLTFM
  160. depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
  161. select MMC_SDHCI_IO_ACCESSORS
  162. select FSL_GUTS
  163. help
  164. This selects the Freescale eSDHC controller support.
  165. If you have a controller with this interface, say Y or M here.
  166. If unsure, say N.
  167. config MMC_SDHCI_OF_HLWD
  168. tristate "SDHCI OF support for the Nintendo Wii SDHCI controllers"
  169. depends on MMC_SDHCI_PLTFM
  170. depends on PPC
  171. select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  172. help
  173. This selects the Secure Digital Host Controller Interface (SDHCI)
  174. found in the "Hollywood" chipset of the Nintendo Wii video game
  175. console.
  176. If you have a controller with this interface, say Y or M here.
  177. If unsure, say N.
  178. config MMC_SDHCI_OF_DWCMSHC
  179. tristate "SDHCI OF support for the Synopsys DWC MSHC"
  180. depends on MMC_SDHCI_PLTFM
  181. depends on OF
  182. depends on COMMON_CLK
  183. help
  184. This selects Synopsys DesignWare Cores Mobile Storage Controller
  185. support.
  186. If you have a controller with this interface, say Y or M here.
  187. If unsure, say N.
  188. config MMC_SDHCI_OF_SPARX5
  189. tristate "SDHCI OF support for the MCHP Sparx5 SoC"
  190. depends on MMC_SDHCI_PLTFM
  191. depends on ARCH_SPARX5 || COMPILE_TEST
  192. help
  193. This selects the Secure Digital Host Controller Interface (SDHCI)
  194. found in the MCHP Sparx5 SoC.
  195. If you have a Sparx5 SoC with this interface, say Y or M here.
  196. If unsure, say N.
  197. config MMC_SDHCI_CADENCE
  198. tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller"
  199. depends on MMC_SDHCI_PLTFM
  200. depends on OF
  201. help
  202. This selects the Cadence SD/SDIO/eMMC driver.
  203. If you have a controller with this interface, say Y or M here.
  204. If unsure, say N.
  205. config MMC_SDHCI_CNS3XXX
  206. tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
  207. depends on ARCH_CNS3XXX || COMPILE_TEST
  208. depends on MMC_SDHCI_PLTFM
  209. help
  210. This selects the SDHCI support for CNS3xxx System-on-Chip devices.
  211. If you have a controller with this interface, say Y or M here.
  212. If unsure, say N.
  213. config MMC_SDHCI_ESDHC_MCF
  214. tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
  215. depends on M5441x
  216. depends on MMC_SDHCI_PLTFM
  217. select MMC_SDHCI_IO_ACCESSORS
  218. help
  219. This selects the Freescale eSDHC controller support for
  220. ColdFire mcf5441x devices.
  221. If you have a controller with this interface, say Y or M here.
  222. If unsure, say N.
  223. config MMC_SDHCI_ESDHC_IMX
  224. tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
  225. depends on ARCH_MXC || COMPILE_TEST
  226. depends on MMC_SDHCI_PLTFM
  227. depends on OF
  228. select MMC_SDHCI_IO_ACCESSORS
  229. select MMC_CQHCI
  230. help
  231. This selects the Freescale eSDHC/uSDHC controller support
  232. found on i.MX25, i.MX35 i.MX5x and i.MX6x.
  233. If you have a controller with this interface, say Y or M here.
  234. If unsure, say N.
  235. config MMC_SDHCI_DOVE
  236. tristate "SDHCI support on Marvell's Dove SoC"
  237. depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
  238. depends on MMC_SDHCI_PLTFM
  239. select MMC_SDHCI_IO_ACCESSORS
  240. help
  241. This selects the Secure Digital Host Controller Interface in
  242. Marvell's Dove SoC.
  243. If you have a controller with this interface, say Y or M here.
  244. If unsure, say N.
  245. config MMC_SDHCI_TEGRA
  246. tristate "SDHCI platform support for the Tegra SD/MMC Controller"
  247. depends on ARCH_TEGRA || COMPILE_TEST
  248. depends on MMC_SDHCI_PLTFM
  249. select MMC_SDHCI_IO_ACCESSORS
  250. select MMC_CQHCI
  251. help
  252. This selects the Tegra SD/MMC controller. If you have a Tegra
  253. platform with SD or MMC devices, say Y or M here.
  254. If unsure, say N.
  255. config MMC_SDHCI_S3C
  256. tristate "SDHCI support on Samsung S3C/S5P/Exynos SoC"
  257. depends on MMC_SDHCI
  258. depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  259. help
  260. This selects the Secure Digital Host Controller Interface (SDHCI)
  261. often referrered to as the HSMMC block in some of the Samsung S3C
  262. (S3C2416, S3C2443, S3C6410), S5Pv210 and Exynos (Exynso4210,
  263. Exynos4412) SoCs.
  264. If you have a controller with this interface (thereforeyou build for
  265. such Samsung SoC), say Y or M here.
  266. If unsure, say N.
  267. config MMC_SDHCI_PXAV3
  268. tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
  269. depends on HAVE_CLK
  270. depends on MMC_SDHCI_PLTFM
  271. depends on ARCH_BERLIN || ARCH_MMP || ARCH_MVEBU || COMPILE_TEST
  272. default CPU_MMP2
  273. help
  274. This selects the Marvell(R) PXAV3 SD Host Controller.
  275. If you have a MMP2 platform with SD Host Controller
  276. and a card slot, say Y or M here.
  277. If unsure, say N.
  278. config MMC_SDHCI_PXAV2
  279. tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
  280. depends on HAVE_CLK
  281. depends on MMC_SDHCI_PLTFM
  282. depends on ARCH_MMP || COMPILE_TEST
  283. default CPU_PXA910
  284. help
  285. This selects the Marvell(R) PXAV2 SD Host Controller.
  286. If you have a PXA9XX platform with SD Host Controller
  287. and a card slot, say Y or M here.
  288. If unsure, say N.
  289. config MMC_SDHCI_SPEAR
  290. tristate "SDHCI support on ST SPEAr platform"
  291. depends on MMC_SDHCI
  292. depends on PLAT_SPEAR || COMPILE_TEST
  293. depends on OF
  294. help
  295. This selects the Secure Digital Host Controller Interface (SDHCI)
  296. often referrered to as the HSMMC block in some of the ST SPEAR range
  297. of SoC
  298. If you have a controller with this interface, say Y or M here.
  299. If unsure, say N.
  300. config MMC_SDHCI_S3C_DMA
  301. bool "DMA support on S3C SDHCI"
  302. depends on MMC_SDHCI_S3C
  303. help
  304. Enable DMA support on the Samsung S3C SDHCI glue. The DMA
  305. has proved to be problematic if the controller encounters
  306. certain errors, and thus should be treated with care.
  307. YMMV.
  308. config MMC_SDHCI_BCM_KONA
  309. tristate "SDHCI support on Broadcom KONA platform"
  310. depends on ARCH_BCM_MOBILE || COMPILE_TEST
  311. depends on MMC_SDHCI_PLTFM
  312. help
  313. This selects the Broadcom Kona Secure Digital Host Controller
  314. Interface(SDHCI) support.
  315. This is used in Broadcom mobile SoCs.
  316. If you have a controller with this interface, say Y or M here.
  317. config MMC_SDHCI_F_SDH30
  318. tristate "SDHCI support for Fujitsu Semiconductor F_SDH30"
  319. depends on MMC_SDHCI_PLTFM
  320. depends on OF || ACPI
  321. help
  322. This selects the Secure Digital Host Controller Interface (SDHCI)
  323. Needed by some Fujitsu SoC for MMC / SD / SDIO support.
  324. If you have a controller with this interface, say Y or M here.
  325. If unsure, say N.
  326. config MMC_SDHCI_MILBEAUT
  327. tristate "SDHCI support for Socionext Milbeaut Serieas using F_SDH30"
  328. depends on MMC_SDHCI_PLTFM
  329. depends on OF
  330. help
  331. This selects the Secure Digital Host Controller Interface (SDHCI)
  332. Needed by Milbeaut SoC for MMC / SD / SDIO support.
  333. If you have a controller with this interface, say Y or M here.
  334. If unsure, say N.
  335. config MMC_SDHCI_IPROC
  336. tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
  337. depends on ARCH_BCM2835 || ARCH_BCM_IPROC || ARCH_BRCMSTB || COMPILE_TEST
  338. depends on MMC_SDHCI_PLTFM
  339. depends on OF || ACPI
  340. default ARCH_BCM_IPROC
  341. select MMC_SDHCI_IO_ACCESSORS
  342. help
  343. This selects the iProc SD/MMC controller.
  344. If you have a BCM2835 or IPROC platform with SD or MMC devices,
  345. say Y or M here.
  346. If unsure, say N.
  347. config MMC_MESON_GX
  348. tristate "Amlogic S905/GX*/AXG SD/MMC Host Controller support"
  349. depends on ARCH_MESON|| COMPILE_TEST
  350. depends on COMMON_CLK
  351. help
  352. This selects support for the Amlogic SD/MMC Host Controller
  353. found on the S905/GX*/AXG family of SoCs. This controller is
  354. MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces.
  355. If you have a controller with this interface, say Y here.
  356. config MMC_MESON_MX_SDHC
  357. tristate "Amlogic Meson SDHC Host Controller support"
  358. depends on (ARM && ARCH_MESON) || COMPILE_TEST
  359. depends on COMMON_CLK
  360. depends on OF
  361. help
  362. This selects support for the SDHC Host Controller on
  363. Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs.
  364. The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x
  365. with 1, 4, and 8 bit bus widths.
  366. If you have a controller with this interface, say Y or M here.
  367. If unsure, say N.
  368. config MMC_MESON_MX_SDIO
  369. tristate "Amlogic Meson6/Meson8/Meson8b SD/MMC Host Controller support"
  370. depends on ARCH_MESON || COMPILE_TEST
  371. depends on COMMON_CLK
  372. depends on OF_ADDRESS
  373. help
  374. This selects support for the SD/MMC Host Controller on
  375. Amlogic Meson6, Meson8 and Meson8b SoCs.
  376. If you have a controller with this interface, say Y or M here.
  377. If unsure, say N.
  378. config MMC_MOXART
  379. tristate "MOXART SD/MMC Host Controller support"
  380. depends on ARCH_MOXART || COMPILE_TEST
  381. help
  382. This selects support for the MOXART SD/MMC Host Controller.
  383. MOXA provides one multi-functional card reader which can
  384. be found on some embedded hardware such as UC-7112-LX.
  385. If you have a controller with this interface, say Y here.
  386. config MMC_SDHCI_ST
  387. tristate "SDHCI support on STMicroelectronics SoC"
  388. depends on ARCH_STI || FSP2 || COMPILE_TEST
  389. depends on MMC_SDHCI_PLTFM
  390. select MMC_SDHCI_IO_ACCESSORS
  391. help
  392. This selects the Secure Digital Host Controller Interface in
  393. STMicroelectronics SoCs.
  394. If you have a controller with this interface, say Y or M here.
  395. If unsure, say N.
  396. config MMC_OMAP
  397. tristate "TI OMAP Multimedia Card Interface support"
  398. depends on ARCH_OMAP
  399. depends on TPS65010 || !MACH_OMAP_H2
  400. help
  401. This selects the TI OMAP Multimedia card Interface.
  402. If you have an OMAP board with a Multimedia Card slot,
  403. say Y or M here.
  404. If unsure, say N.
  405. config MMC_OMAP_HS
  406. tristate "TI OMAP High Speed Multimedia Card Interface support"
  407. depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
  408. help
  409. This selects the TI OMAP High Speed Multimedia card Interface.
  410. If you have an omap2plus board with a Multimedia Card slot,
  411. say Y or M here.
  412. If unsure, say N.
  413. config MMC_WBSD
  414. tristate "Winbond W83L51xD SD/MMC Card Interface support"
  415. depends on ISA_DMA_API
  416. help
  417. This selects the Winbond(R) W83L51xD Secure digital and
  418. Multimedia card Interface.
  419. If you have a machine with a integrated W83L518D or W83L519D
  420. SD/MMC card reader, say Y or M here.
  421. If unsure, say N.
  422. config MMC_ALCOR
  423. tristate "Alcor Micro/Alcor Link SD/MMC controller"
  424. depends on MISC_ALCOR_PCI
  425. help
  426. Say Y here to include driver code to support SD/MMC card interface
  427. of Alcor Micro PCI-E card reader
  428. config MMC_AU1X
  429. bool "Alchemy AU1XX0 MMC Card Interface support"
  430. depends on MIPS_ALCHEMY
  431. depends on MMC=y
  432. help
  433. This selects the AMD Alchemy(R) Multimedia card interface.
  434. If you have a Alchemy platform with a MMC slot, say Y here.
  435. If unsure, say N.
  436. config MMC_ATMELMCI
  437. tristate "Atmel SD/MMC Driver (Multimedia Card Interface)"
  438. depends on ARCH_AT91
  439. help
  440. This selects the Atmel Multimedia Card Interface driver.
  441. If you have an AT91 platform with a Multimedia Card slot,
  442. say Y or M here.
  443. If unsure, say N.
  444. config MMC_SDHCI_MSM
  445. tristate "Qualcomm SDHCI Controller Support"
  446. depends on ARCH_QCOM || COMPILE_TEST
  447. depends on MMC_SDHCI_PLTFM
  448. select MMC_SDHCI_IO_ACCESSORS
  449. select MMC_CQHCI
  450. select QCOM_SCM if MMC_CRYPTO
  451. help
  452. This selects the Secure Digital Host Controller Interface (SDHCI)
  453. support present in Qualcomm SOCs. The controller supports
  454. SD/MMC/SDIO devices.
  455. If you have a controller with this interface, say Y or M here.
  456. If unsure, say N.
  457. config MMC_SDHCI_MSM_SCALING
  458. tristate "Qualcomm Technologies, Inc. clock scaling feature"
  459. depends on MMC_CQHCI
  460. select PM_DEVFREQ
  461. select DEVFREQ_GOV_SIMPLE_ONDEMAND
  462. help
  463. This change adds the use of devfreq based clock scaling to eMMC.
  464. Provide an ondemand clock scaling support similar
  465. to the cpufreq ondemand governor having two thresholds,
  466. up_threshold and down_threshold to decide whether to increase
  467. the frequency or scale it down respectively as per load to save
  468. power.
  469. If unsure, say N.
  470. config MMC_MXC
  471. tristate "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
  472. depends on ARCH_MXC || PPC_MPC512x
  473. help
  474. This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
  475. Multimedia Card Interface. If you have an i.MX or MPC512x platform
  476. with a Multimedia Card slot, say Y or M here.
  477. If unsure, say N.
  478. config MMC_MXS
  479. tristate "Freescale MXS Multimedia Card Interface support"
  480. depends on ARCH_MXS && MXS_DMA
  481. help
  482. This selects the Freescale SSP MMC controller found on MXS based
  483. platforms like mx23/28.
  484. If unsure, say N.
  485. config MMC_TIFM_SD
  486. tristate "TI Flash Media MMC/SD Interface support"
  487. depends on PCI
  488. select TIFM_CORE
  489. help
  490. Say Y here if you want to be able to access MMC/SD cards with
  491. the Texas Instruments(R) Flash Media card reader, found in many
  492. laptops.
  493. This option 'selects' (turns on, enables) 'TIFM_CORE', but you
  494. probably also need appropriate card reader host adapter, such as
  495. 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
  496. (TIFM_7XX1)'.
  497. To compile this driver as a module, choose M here: the
  498. module will be called tifm_sd.
  499. config MMC_MVSDIO
  500. tristate "Marvell MMC/SD/SDIO host driver"
  501. depends on PLAT_ORION || (COMPILE_TEST && ARM)
  502. depends on OF
  503. help
  504. This selects the Marvell SDIO host driver.
  505. SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
  506. SoC controllers.
  507. To compile this driver as a module, choose M here: the
  508. module will be called mvsdio.
  509. config MMC_DAVINCI
  510. tristate "TI DAVINCI Multimedia Card Interface support"
  511. depends on ARCH_DAVINCI || COMPILE_TEST
  512. help
  513. This selects the TI DAVINCI Multimedia card Interface.
  514. If you have an DAVINCI board with a Multimedia Card slot,
  515. say Y or M here. If unsure, say N.
  516. config MMC_SPI
  517. tristate "MMC/SD/SDIO over SPI"
  518. depends on SPI_MASTER
  519. select CRC7
  520. select CRC_ITU_T
  521. help
  522. Some systems access MMC/SD/SDIO cards using a SPI controller
  523. instead of using a "native" MMC/SD/SDIO controller. This has a
  524. disadvantage of being relatively high overhead, but a compensating
  525. advantage of working on many systems without dedicated MMC/SD/SDIO
  526. controllers.
  527. If unsure, or if your system has no SPI master driver, say N.
  528. config MMC_S3C
  529. tristate "Samsung S3C SD/MMC Card Interface support"
  530. depends on ARCH_S3C24XX || COMPILE_TEST
  531. depends on S3C24XX_DMAC || COMPILE_TEST
  532. help
  533. This selects a driver for the MCI interface found in
  534. Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
  535. If you have a board based on one of those and a MMC/SD
  536. slot, say Y or M here.
  537. If unsure, say N.
  538. config MMC_S3C_HW_SDIO_IRQ
  539. bool "Hardware support for SDIO IRQ"
  540. depends on MMC_S3C
  541. help
  542. Enable the hardware support for SDIO interrupts instead of using
  543. the generic polling code.
  544. choice
  545. prompt "Samsung S3C SD/MMC transfer code"
  546. depends on MMC_S3C
  547. config MMC_S3C_PIO
  548. bool "Use PIO transfers only"
  549. help
  550. Use PIO to transfer data between memory and the hardware.
  551. PIO is slower than DMA as it requires CPU instructions to
  552. move the data. This has been the traditional default for
  553. the S3C MCI driver.
  554. config MMC_S3C_DMA
  555. bool "Use DMA transfers only"
  556. help
  557. Use DMA to transfer data between memory and the hardware.
  558. Currently, the DMA support in this driver seems to not be
  559. working properly and needs to be debugged before this
  560. option is useful.
  561. endchoice
  562. config MMC_SDRICOH_CS
  563. tristate "MMC/SD driver for Ricoh Bay1Controllers"
  564. depends on PCI && PCMCIA
  565. help
  566. Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
  567. card whenever you insert a MMC or SD card into the card slot.
  568. To compile this driver as a module, choose M here: the
  569. module will be called sdricoh_cs.
  570. config MMC_SDHCI_SPRD
  571. tristate "Spreadtrum SDIO host Controller"
  572. depends on ARCH_SPRD || COMPILE_TEST
  573. depends on MMC_SDHCI_PLTFM
  574. select MMC_SDHCI_IO_ACCESSORS
  575. select MMC_HSQ
  576. help
  577. This selects the SDIO Host Controller in Spreadtrum
  578. SoCs, this driver supports R11(IP version: R11P0).
  579. If you have a controller with this interface, say Y or M here.
  580. If unsure, say N.
  581. config MMC_TMIO_CORE
  582. tristate
  583. config MMC_TMIO
  584. tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
  585. depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST
  586. select MMC_TMIO_CORE
  587. help
  588. This provides support for the SD/MMC cell found in TC6393XB,
  589. T7L66XB and also HTC ASIC3
  590. config MMC_SDHI
  591. tristate "Renesas SDHI SD/SDIO controller support"
  592. depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
  593. select MMC_TMIO_CORE
  594. select RESET_CONTROLLER if ARCH_RENESAS
  595. help
  596. This provides support for the SDHI SD/SDIO controller found in
  597. Renesas SuperH, ARM and ARM64 based SoCs
  598. config MMC_SDHI_SYS_DMAC
  599. tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
  600. depends on MMC_SDHI
  601. default MMC_SDHI if (SUPERH || ARM)
  602. help
  603. This provides DMA support for SDHI SD/SDIO controllers
  604. using SYS-DMAC via DMA Engine. This supports the controllers
  605. found in SuperH and Renesas ARM based SoCs.
  606. config MMC_SDHI_INTERNAL_DMAC
  607. tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering"
  608. depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST
  609. depends on MMC_SDHI
  610. default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470)
  611. help
  612. This provides DMA support for SDHI SD/SDIO controllers
  613. using on-chip bus mastering. This supports the controllers
  614. found in arm64 based SoCs. This controller is also found in
  615. some RZ family SoCs.
  616. config MMC_UNIPHIER
  617. tristate "UniPhier SD/eMMC Host Controller support"
  618. depends on ARCH_UNIPHIER || COMPILE_TEST
  619. depends on OF
  620. select MMC_TMIO_CORE
  621. help
  622. This provides support for the SD/eMMC controller found in
  623. UniPhier SoCs. The eMMC variant of this controller is used
  624. only for 32-bit SoCs.
  625. config MMC_CB710
  626. tristate "ENE CB710 MMC/SD Interface support"
  627. depends on PCI
  628. select CB710_CORE
  629. help
  630. This option enables support for MMC/SD part of ENE CB710/720 Flash
  631. memory card reader found in some laptops (ie. some versions of
  632. HP Compaq nx9500).
  633. This driver can also be built as a module. If so, the module
  634. will be called cb710-mmc.
  635. config MMC_VIA_SDMMC
  636. tristate "VIA SD/MMC Card Reader Driver"
  637. depends on PCI
  638. help
  639. This selects the VIA SD/MMC Card Reader driver, say Y or M here.
  640. VIA provides one multi-functional card reader which integrated into
  641. some motherboards manufactured by VIA. This card reader supports
  642. SD/MMC/SDHC.
  643. If you have a controller with this interface, say Y or M here.
  644. If unsure, say N.
  645. config MMC_CAVIUM_OCTEON
  646. tristate "Cavium OCTEON SD/MMC Card Interface support"
  647. depends on CAVIUM_OCTEON_SOC
  648. help
  649. This selects Cavium OCTEON SD/MMC card Interface.
  650. If you have an OCTEON board with a Multimedia Card slot,
  651. say Y or M here.
  652. If unsure, say N.
  653. config MMC_CAVIUM_THUNDERX
  654. tristate "Cavium ThunderX SD/MMC Card Interface support"
  655. depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
  656. depends on GPIO_THUNDERX
  657. depends on OF_ADDRESS
  658. help
  659. This selects Cavium ThunderX SD/MMC Card Interface.
  660. If you have an Cavium ARM64 board with a Multimedia Card slot
  661. or builtin eMMC chip say Y or M here. If built as a module
  662. the module will be called thunderx_mmc.ko.
  663. config MMC_DW
  664. tristate "Synopsys DesignWare Memory Card Interface"
  665. depends on ARC || ARM || ARM64 || MIPS || RISCV || CSKY || COMPILE_TEST
  666. help
  667. This selects support for the Synopsys DesignWare Mobile Storage IP
  668. block, this provides host support for SD and MMC interfaces, in both
  669. PIO, internal DMA mode and external DMA mode.
  670. config MMC_DW_PLTFM
  671. tristate "Synopsys Designware MCI Support as platform device"
  672. depends on MMC_DW
  673. default y
  674. help
  675. This selects the common helper functions support for Host Controller
  676. Interface based platform driver. Please select this option if the IP
  677. is present as a platform device. This is the common interface for the
  678. Synopsys Designware IP.
  679. If you have a controller with this interface, say Y or M here.
  680. If unsure, say Y.
  681. config MMC_DW_BLUEFIELD
  682. tristate "BlueField specific extensions for Synopsys DW Memory Card Interface"
  683. depends on MMC_DW
  684. select MMC_DW_PLTFM
  685. help
  686. This selects support for Mellanox BlueField SoC specific extensions to
  687. the Synopsys DesignWare Memory Card Interface driver. Select this
  688. option for platforms based on Mellanox BlueField SoC's.
  689. config MMC_DW_EXYNOS
  690. tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
  691. depends on MMC_DW
  692. select MMC_DW_PLTFM
  693. help
  694. This selects support for Samsung Exynos SoC specific extensions to the
  695. Synopsys DesignWare Memory Card Interface driver. Select this option
  696. for platforms based on Exynos4 and Exynos5 SoC's.
  697. config MMC_DW_HI3798CV200
  698. tristate "Hi3798CV200 specific extensions for Synopsys DW Memory Card Interface"
  699. depends on MMC_DW
  700. select MMC_DW_PLTFM
  701. help
  702. This selects support for HiSilicon Hi3798CV200 SoC specific extensions to the
  703. Synopsys DesignWare Memory Card Interface driver. Select this option
  704. for platforms based on HiSilicon Hi3798CV200 SoC.
  705. config MMC_DW_K3
  706. tristate "K3 specific extensions for Synopsys DW Memory Card Interface"
  707. depends on MMC_DW
  708. select MMC_DW_PLTFM
  709. help
  710. This selects support for Hisilicon K3 SoC specific extensions to the
  711. Synopsys DesignWare Memory Card Interface driver. Select this option
  712. for platforms based on Hisilicon K3 SoC's.
  713. config MMC_DW_PCI
  714. tristate "Synopsys Designware MCI support on PCI bus"
  715. depends on MMC_DW && PCI
  716. help
  717. This selects the PCI bus for the Synopsys Designware Mobile Storage IP.
  718. Select this option if the IP is present on PCI platform.
  719. If you have a controller with this interface, say Y or M here.
  720. If unsure, say N.
  721. config MMC_DW_ROCKCHIP
  722. tristate "Rockchip specific extensions for Synopsys DW Memory Card Interface"
  723. depends on MMC_DW && ARCH_ROCKCHIP
  724. select MMC_DW_PLTFM
  725. help
  726. This selects support for Rockchip SoC specific extensions to the
  727. Synopsys DesignWare Memory Card Interface driver. Select this option
  728. for platforms based on RK3066, RK3188 and RK3288 SoC's.
  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
  781. default y
  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. help
  850. This selects the MediaTek(R) Secure digital and Multimedia card Interface.
  851. If you have a machine with a integrated SD/MMC card reader, say Y or M here.
  852. This is needed if support for any SD/SDIO/MMC devices is required.
  853. If unsure, say N.
  854. config MMC_SDHCI_MICROCHIP_PIC32
  855. tristate "Microchip PIC32MZDA SDHCI support"
  856. depends on MMC_SDHCI && PIC32MZDA && MMC_SDHCI_PLTFM
  857. help
  858. This selects the Secure Digital Host Controller Interface (SDHCI)
  859. for PIC32MZDA platform.
  860. If you have a controller with this interface, say Y or M here.
  861. If unsure, say N.
  862. config MMC_SDHCI_BRCMSTB
  863. tristate "Broadcom SDIO/SD/MMC support"
  864. depends on ARCH_BRCMSTB || BMIPS_GENERIC
  865. depends on MMC_SDHCI_PLTFM
  866. select MMC_CQHCI
  867. default y
  868. help
  869. This selects support for the SDIO/SD/MMC Host Controller on
  870. Broadcom STB SoCs.
  871. If unsure, say Y.
  872. config MMC_SDHCI_XENON
  873. tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver"
  874. depends on MMC_SDHCI_PLTFM
  875. help
  876. This selects Marvell Xenon eMMC/SD/SDIO SDHCI.
  877. If you have a controller with this interface, say Y or M here.
  878. If unsure, say N.
  879. config MMC_SDHCI_OMAP
  880. tristate "TI SDHCI Controller Support"
  881. depends on MMC_SDHCI_PLTFM && OF
  882. select THERMAL
  883. imply TI_SOC_THERMAL
  884. select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
  885. help
  886. This selects the Secure Digital Host Controller Interface (SDHCI)
  887. support present in TI's DRA7 SOCs. The controller supports
  888. SD/MMC/SDIO devices.
  889. If you have a controller with this interface, say Y or M here.
  890. If unsure, say N.
  891. config MMC_SDHCI_AM654
  892. tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
  893. depends on MMC_SDHCI_PLTFM && OF
  894. select MMC_SDHCI_IO_ACCESSORS
  895. select MMC_CQHCI
  896. select REGMAP_MMIO
  897. help
  898. This selects the Secure Digital Host Controller Interface (SDHCI)
  899. support present in TI's AM654 SOCs. The controller supports
  900. SD/MMC/SDIO devices.
  901. If you have a controller with this interface, say Y or M here.
  902. If unsure, say N.
  903. config MMC_OWL
  904. tristate "Actions Semi Owl SD/MMC Host Controller support"
  905. depends on HAS_DMA
  906. depends on ARCH_ACTIONS || COMPILE_TEST
  907. help
  908. This selects support for the SD/MMC Host Controller on
  909. Actions Semi Owl SoCs.
  910. config MMC_SDHCI_EXTERNAL_DMA
  911. bool
  912. config MMC_CRYPTO_QTI
  913. tristate "Vendor specific CQHCI Crypto Engine Support"
  914. depends on MMC_CRYPTO
  915. help
  916. Enable Vendor Crypto Engine Support in CQHCI
  917. Enabling this allows kernel to use CQHCI crypto operations defined
  918. and implemented by QTI.
  919. If you have a controller with this interface, say Y or M here.
  920. If unsure, say N
  921. config MMC_LITEX
  922. tristate "LiteX MMC Host Controller support"
  923. depends on ((PPC_MICROWATT || LITEX) && OF && HAVE_CLK) || COMPILE_TEST
  924. select REGULATOR
  925. select REGULATOR_FIXED_VOLTAGE
  926. help
  927. This selects support for the MMC Host Controller found in LiteX SoCs.
  928. To compile this driver as a module, choose M here: the
  929. module will be called litex_mmc.
  930. If unsure, say N.
  931. config SDHCI_MSM_DBG
  932. bool "Qualcomm Technologies, Inc. SDHCI_MSM_DBG Driver"
  933. depends on MMC_SDHCI_MSM
  934. help
  935. This enables the IPC tracing events for sdhci_msm driver.
  936. Tracing sdhci_msm events helps to trace significant events
  937. used for debugging purpose.
  938. If unsure, say N here.
  939. config SEC_MMC_FEATURE
  940. tristate "SEC specific MMC/SD feature"
  941. depends on MMC_SDHCI_MSM
  942. help
  943. Enable Samsung feature support
  944. Enabling this allows kernel to use SEC specific feature
  945. defined and implemented by SEC.