Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 1 | menu "MMC Host controller Support" |
| 2 | |
Maxime Ripard | 4f78074 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 3 | config MMC |
Masahiro Yamada | a5ed4be | 2016-12-07 22:10:26 +0900 | [diff] [blame] | 4 | bool "MMC/SD/SDIO card support" |
| 5 | default ARM || PPC || SANDBOX |
Adam Ford | b10ba90 | 2018-02-06 12:43:56 -0600 | [diff] [blame] | 6 | select HAVE_BLOCK_DEVICE |
Tom Rini | 9b38400 | 2021-04-21 15:32:27 -0400 | [diff] [blame] | 7 | select DM_MMC if DM |
Maxime Ripard | 4f78074 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 8 | help |
Masahiro Yamada | a5ed4be | 2016-12-07 22:10:26 +0900 | [diff] [blame] | 9 | This selects MultiMediaCard, Secure Digital and Secure |
| 10 | Digital I/O support. |
| 11 | |
| 12 | If you want MMC/SD/SDIO support, you should say Y here and |
| 13 | also to your specific host controller driver. |
Maxime Ripard | 4f78074 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 14 | |
Jean-Jacques Hiblot | d053167 | 2018-01-04 15:23:32 +0100 | [diff] [blame] | 15 | config MMC_WRITE |
| 16 | bool "support for MMC/SD write operations" |
| 17 | depends on MMC |
| 18 | default y |
| 19 | help |
| 20 | Enable write access to MMC and SD Cards |
| 21 | |
Jaehoon Chung | 48ad827 | 2021-02-16 10:16:52 +0900 | [diff] [blame] | 22 | config MMC_PWRSEQ |
| 23 | bool "HW reset support for eMMC" |
| 24 | depends on PWRSEQ |
| 25 | help |
| 26 | Ths select Hardware reset support aka pwrseq-emmc for eMMC |
| 27 | devices. |
| 28 | |
Jun Nie | b4f4f6e | 2018-01-02 12:25:57 +0800 | [diff] [blame] | 29 | config MMC_BROKEN_CD |
| 30 | bool "Poll for broken card detection case" |
| 31 | help |
| 32 | If card detection feature is broken, just poll to detect. |
| 33 | |
Simon Glass | 1e8eb1b | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 34 | config DM_MMC |
| 35 | bool "Enable MMC controllers using Driver Model" |
| 36 | depends on DM |
Tom Rini | 9b38400 | 2021-04-21 15:32:27 -0400 | [diff] [blame] | 37 | select BLK |
Simon Glass | 1e8eb1b | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 38 | help |
Robert P. J. Day | 8d56db9 | 2016-07-15 13:44:45 -0400 | [diff] [blame] | 39 | This enables the MultiMediaCard (MMC) uclass which supports MMC and |
Simon Glass | 1e8eb1b | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 40 | Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.) |
| 41 | and non-removable (e.g. eMMC chip) devices are supported. These |
| 42 | appear as block devices in U-Boot and can support filesystems such |
| 43 | as EXT4 and FAT. |
| 44 | |
Simon Glass | 5f4bd8c | 2017-07-04 13:31:19 -0600 | [diff] [blame] | 45 | config SPL_DM_MMC |
| 46 | bool "Enable MMC controllers using Driver Model in SPL" |
| 47 | depends on SPL_DM && DM_MMC |
Pali Rohár | 3c5ce03 | 2022-05-24 10:58:42 +0200 | [diff] [blame] | 48 | default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC |
Simon Glass | 5f4bd8c | 2017-07-04 13:31:19 -0600 | [diff] [blame] | 49 | default y |
| 50 | help |
| 51 | This enables the MultiMediaCard (MMC) uclass which supports MMC and |
| 52 | Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.) |
| 53 | and non-removable (e.g. eMMC chip) devices are supported. These |
| 54 | appear as block devices in U-Boot and can support filesystems such |
| 55 | as EXT4 and FAT. |
| 56 | |
Masahiro Yamada | e8b9972 | 2016-12-07 22:10:27 +0900 | [diff] [blame] | 57 | if MMC |
| 58 | |
Michael Walle | 02016c6 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 59 | config MMC_SDHCI_ADMA_HELPERS |
| 60 | bool |
| 61 | |
Bhargav Shah | a1afe25 | 2019-07-08 04:10:48 +0000 | [diff] [blame] | 62 | config MMC_SPI |
| 63 | bool "Support for SPI-based MMC controller" |
| 64 | depends on DM_MMC && DM_SPI |
| 65 | help |
| 66 | This selects SPI-based MMC controllers. |
| 67 | If you have an MMC controller on a SPI bus, say Y here. |
| 68 | |
| 69 | If unsure, say N. |
| 70 | |
| 71 | config MMC_SPI_CRC_ON |
| 72 | bool "Support CRC for SPI-based MMC controller" |
| 73 | depends on MMC_SPI |
| 74 | default y |
| 75 | help |
| 76 | This enables CRC for SPI-based MMC controllers. |
| 77 | |
| 78 | If unsure, say N. |
| 79 | |
Patrice Chotard | fcce420 | 2017-10-23 10:57:31 +0200 | [diff] [blame] | 80 | config ARM_PL180_MMCI |
| 81 | bool "ARM AMBA Multimedia Card Interface and compatible support" |
Patrice Chotard | fcce420 | 2017-10-23 10:57:31 +0200 | [diff] [blame] | 82 | help |
| 83 | This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card |
| 84 | Interface (PL180, PL181 and compatible) support. |
| 85 | If you have an ARM(R) platform with a Multimedia Card slot, |
| 86 | say Y or M here. |
| 87 | |
Kishon Vijay Abraham I | 07baaa6 | 2017-09-21 16:30:10 +0200 | [diff] [blame] | 88 | config MMC_QUIRKS |
| 89 | bool "Enable quirks" |
| 90 | default y |
| 91 | help |
| 92 | Some cards and hosts may sometimes behave unexpectedly (quirks). |
| 93 | This option enable workarounds to handle those quirks. Some of them |
Joel Johnson | 9cbee2c | 2020-01-11 09:08:15 -0700 | [diff] [blame] | 94 | are enabled by default, other may require additional flags or are |
Kishon Vijay Abraham I | 07baaa6 | 2017-09-21 16:30:10 +0200 | [diff] [blame] | 95 | enabled by the host driver. |
| 96 | |
Jean-Jacques Hiblot | 1d7769a | 2017-11-30 17:44:02 +0100 | [diff] [blame] | 97 | config MMC_HW_PARTITIONING |
| 98 | bool "Support for HW partitioning command(eMMC)" |
| 99 | default y |
| 100 | help |
| 101 | This adds a command and an API to do hardware partitioning on eMMC |
| 102 | devices. |
| 103 | |
Alex Kiernan | 60e0f61 | 2018-05-08 04:43:31 +0000 | [diff] [blame] | 104 | config SUPPORT_EMMC_RPMB |
| 105 | bool "Support eMMC replay protected memory block (RPMB)" |
| 106 | imply CMD_MMC_RPMB |
| 107 | help |
| 108 | Enable support for reading, writing and programming the |
| 109 | key for the Replay Protection Memory Block partition in eMMC. |
| 110 | |
Alex Kiernan | 0084877 | 2019-05-01 07:58:27 +0000 | [diff] [blame] | 111 | config SUPPORT_EMMC_BOOT |
| 112 | bool "Support some additional features of the eMMC boot partitions" |
| 113 | help |
| 114 | Enable support for eMMC boot partitions. This also enables |
| 115 | extensions within the mmc command. |
| 116 | |
Jean-Jacques Hiblot | 6051e78 | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 117 | config MMC_IO_VOLTAGE |
| 118 | bool "Support IO voltage configuration" |
| 119 | help |
| 120 | IO voltage configuration allows selecting the voltage level of the IO |
| 121 | lines (not the level of main supply). This is required for UHS |
| 122 | support. For eMMC this not mandatory, but not enabling this option may |
| 123 | prevent the driver of using the faster modes. |
| 124 | |
| 125 | config SPL_MMC_IO_VOLTAGE |
| 126 | bool "Support IO voltage configuration in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 127 | depends on SPL_MMC |
Jean-Jacques Hiblot | 6051e78 | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 128 | help |
| 129 | IO voltage configuration allows selecting the voltage level of the IO |
| 130 | lines (not the level of main supply). This is required for UHS |
| 131 | support. For eMMC this not mandatory, but not enabling this option may |
| 132 | prevent the driver of using the faster modes. |
| 133 | |
| 134 | config MMC_UHS_SUPPORT |
| 135 | bool "enable UHS support" |
| 136 | depends on MMC_IO_VOLTAGE |
| 137 | help |
| 138 | The Ultra High Speed (UHS) bus is available on some SDHC and SDXC |
| 139 | cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus |
| 140 | frequency can go up to 208MHz (SDR104) |
| 141 | |
| 142 | config SPL_MMC_UHS_SUPPORT |
| 143 | bool "enable UHS support in SPL" |
| 144 | depends on SPL_MMC_IO_VOLTAGE |
| 145 | help |
| 146 | The Ultra High Speed (UHS) bus is available on some SDHC and SDXC |
| 147 | cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus |
| 148 | frequency can go up to 208MHz (SDR104) |
| 149 | |
Peng Fan | eede83b | 2019-07-10 14:43:07 +0800 | [diff] [blame] | 150 | config MMC_HS400_ES_SUPPORT |
| 151 | bool "enable HS400 Enhanced Strobe support" |
| 152 | help |
| 153 | The HS400 Enhanced Strobe mode is support by some eMMC. The bus |
| 154 | frequency is up to 200MHz. This mode does not tune the IO. |
| 155 | |
| 156 | config SPL_MMC_HS400_ES_SUPPORT |
| 157 | bool "enable HS400 Enhanced Strobe support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 158 | depends on SPL_MMC |
Peng Fan | eede83b | 2019-07-10 14:43:07 +0800 | [diff] [blame] | 159 | help |
| 160 | The HS400 Enhanced Strobe mode is support by some eMMC. The bus |
| 161 | frequency is up to 200MHz. This mode does not tune the IO. |
| 162 | |
Peng Fan | 4680125 | 2018-08-10 14:07:54 +0800 | [diff] [blame] | 163 | config MMC_HS400_SUPPORT |
| 164 | bool "enable HS400 support" |
| 165 | select MMC_HS200_SUPPORT |
| 166 | help |
| 167 | The HS400 mode is support by some eMMC. The bus frequency is up to |
| 168 | 200MHz. This mode requires tuning the IO. |
| 169 | |
| 170 | config SPL_MMC_HS400_SUPPORT |
| 171 | bool "enable HS400 support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 172 | depends on SPL_MMC |
Faiz Abbas | 373954e | 2019-08-01 16:33:36 +0530 | [diff] [blame] | 173 | select SPL_MMC_HS200_SUPPORT |
Peng Fan | 4680125 | 2018-08-10 14:07:54 +0800 | [diff] [blame] | 174 | help |
| 175 | The HS400 mode is support by some eMMC. The bus frequency is up to |
| 176 | 200MHz. This mode requires tuning the IO. |
| 177 | |
Jean-Jacques Hiblot | 6051e78 | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 178 | config MMC_HS200_SUPPORT |
| 179 | bool "enable HS200 support" |
| 180 | help |
| 181 | The HS200 mode is support by some eMMC. The bus frequency is up to |
| 182 | 200MHz. This mode requires tuning the IO. |
| 183 | |
Jean-Jacques Hiblot | 6051e78 | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 184 | config SPL_MMC_HS200_SUPPORT |
| 185 | bool "enable HS200 support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 186 | depends on SPL_MMC |
Jean-Jacques Hiblot | 6051e78 | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 187 | help |
| 188 | The HS200 mode is support by some eMMC. The bus frequency is up to |
| 189 | 200MHz. This mode requires tuning the IO. |
| 190 | |
Jean-Jacques Hiblot | a94fb41 | 2017-09-21 16:29:53 +0200 | [diff] [blame] | 191 | config MMC_VERBOSE |
| 192 | bool "Output more information about the MMC" |
| 193 | default y |
| 194 | help |
| 195 | Enable the output of more information about the card such as the |
| 196 | operating mode. |
| 197 | |
Jaehoon Chung | e2bf580 | 2018-01-26 19:25:31 +0900 | [diff] [blame] | 198 | config MMC_TRACE |
| 199 | bool "MMC debugging" |
Jaehoon Chung | e2bf580 | 2018-01-26 19:25:31 +0900 | [diff] [blame] | 200 | help |
| 201 | This is an option for use by developer. Enable MMC core debugging. |
| 202 | |
| 203 | If you need to see the MMC core message, say Y. |
| 204 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 205 | config MMC_DAVINCI |
| 206 | bool "TI DAVINCI Multimedia Card Interface support" |
| 207 | depends on ARCH_DAVINCI |
| 208 | default y |
| 209 | help |
| 210 | This selects the TI DAVINCI Multimedia card Interface. |
| 211 | If you have an DAVINCI board with a Multimedia Card slot, |
| 212 | say Y here. If unsure, say N. |
| 213 | |
Masahiro Yamada | 7942e91 | 2017-01-10 13:32:04 +0900 | [diff] [blame] | 214 | config MMC_DW |
| 215 | bool "Synopsys DesignWare Memory Card Interface" |
Philipp Tomsich | b302747 | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 216 | select BOUNCE_BUFFER |
Masahiro Yamada | 7942e91 | 2017-01-10 13:32:04 +0900 | [diff] [blame] | 217 | help |
| 218 | This selects support for the Synopsys DesignWare Mobile Storage IP |
| 219 | block, this provides host support for SD and MMC interfaces, in both |
| 220 | PIO, internal DMA mode and external DMA mode. |
| 221 | |
Arthur Li | 055e18e | 2020-02-20 18:19:35 -0800 | [diff] [blame] | 222 | config MMC_DW_CORTINA |
| 223 | bool "Cortina specific extensions for Synopsys DW Memory Card Interface" |
| 224 | depends on DM_MMC |
| 225 | depends on MMC_DW |
| 226 | depends on BLK |
Arthur Li | 055e18e | 2020-02-20 18:19:35 -0800 | [diff] [blame] | 227 | help |
| 228 | This selects support for Cortina SoC specific extensions to the |
| 229 | Synopsys DesignWare Memory Card Interface driver. Select this option |
| 230 | for platforms based on Cortina CAxxxx Soc's. |
| 231 | |
Masahiro Yamada | f1ad728 | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 232 | config MMC_DW_EXYNOS |
| 233 | bool "Exynos specific extensions for Synopsys DW Memory Card Interface" |
| 234 | depends on ARCH_EXYNOS |
| 235 | depends on MMC_DW |
| 236 | default y |
| 237 | help |
| 238 | This selects support for Samsung Exynos SoC specific extensions to the |
| 239 | Synopsys DesignWare Memory Card Interface driver. Select this option |
| 240 | for platforms based on Exynos4 and Exynos5 SoC's. |
| 241 | |
| 242 | config MMC_DW_K3 |
| 243 | bool "K3 specific extensions for Synopsys DW Memory Card Interface" |
| 244 | depends on MMC_DW |
| 245 | help |
| 246 | This selects support for Hisilicon K3 SoC specific extensions to the |
| 247 | Synopsys DesignWare Memory Card Interface driver. Select this option |
| 248 | for platforms based on Hisilicon K3 SoC's. |
| 249 | |
Masahiro Yamada | dc607f8 | 2017-01-10 13:32:03 +0900 | [diff] [blame] | 250 | config MMC_DW_ROCKCHIP |
Simon Glass | 4ecaa6d | 2015-08-30 16:55:37 -0600 | [diff] [blame] | 251 | bool "Rockchip SD/MMC controller support" |
| 252 | depends on DM_MMC && OF_CONTROL |
Masahiro Yamada | 7942e91 | 2017-01-10 13:32:04 +0900 | [diff] [blame] | 253 | depends on MMC_DW |
Simon Glass | 4ecaa6d | 2015-08-30 16:55:37 -0600 | [diff] [blame] | 254 | help |
| 255 | This enables support for the Rockchip SD/MMM controller, which is |
| 256 | based on Designware IP. The device is compatible with at least |
| 257 | SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well |
| 258 | as removeable SD and micro-SD cards. |
| 259 | |
Masahiro Yamada | f1ad728 | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 260 | config MMC_DW_SOCFPGA |
| 261 | bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface" |
| 262 | depends on ARCH_SOCFPGA |
| 263 | depends on MMC_DW |
| 264 | default y |
| 265 | help |
| 266 | This selects support for Altera SOCFPGA specific extensions to the |
| 267 | Synopsys DesignWare Memory Card Interface driver. Select this option |
| 268 | for platforms based on Altera SOCFPGA. |
| 269 | |
Eugeniy Paltsev | b050c2c | 2019-02-25 18:35:28 +0300 | [diff] [blame] | 270 | config MMC_DW_SNPS |
| 271 | bool "Extensions for DW Memory Card Interface used in Synopsys ARC devboards" |
| 272 | depends on MMC_DW |
| 273 | depends on DM_MMC |
| 274 | depends on OF_CONTROL |
| 275 | depends on CLK |
| 276 | help |
| 277 | This selects support for Synopsys DesignWare Memory Card Interface driver |
| 278 | extensions used in various Synopsys ARC devboards. |
| 279 | |
Stefan Bosch | 22c12f7 | 2020-07-10 19:07:29 +0200 | [diff] [blame] | 280 | config NEXELL_DWMMC |
| 281 | bool "Nexell SD/MMC controller support" |
| 282 | depends on ARCH_NEXELL |
| 283 | depends on MMC_DW |
| 284 | depends on DM_MMC |
| 285 | depends on PINCTRL_NEXELL |
| 286 | default y |
| 287 | |
Carlo Caione | 20cab78 | 2017-04-12 20:30:42 +0200 | [diff] [blame] | 288 | config MMC_MESON_GX |
| 289 | bool "Meson GX EMMC controller support" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 290 | depends on DM_MMC && BLK && ARCH_MESON |
Carlo Caione | 20cab78 | 2017-04-12 20:30:42 +0200 | [diff] [blame] | 291 | help |
| 292 | Support for EMMC host controller on Meson GX ARM SoCs platform (S905) |
| 293 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 294 | config MMC_MXC |
| 295 | bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support" |
| 296 | help |
| 297 | This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x |
| 298 | Multimedia Card Interface. If you have an i.MX or MPC512x platform |
| 299 | with a Multimedia Card slot, say Y here. |
| 300 | |
| 301 | If unsure, say N. |
| 302 | |
Amit Singh Tomar | 347494c | 2021-11-28 17:02:24 +0530 | [diff] [blame] | 303 | config MMC_OWL |
| 304 | bool "Actions OWL Multimedia Card Interface support" |
| 305 | depends on ARCH_OWL && DM_MMC && BLK |
| 306 | help |
| 307 | This selects the OWL SD/MMC host controller found on board |
| 308 | based on Actions S700/S900 SoC. |
| 309 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 310 | config MMC_MXS |
| 311 | bool "Freescale MXS Multimedia Card Interface support" |
Adam Ford | a456d56 | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 312 | depends on MX23 || MX28 || MX6 || MX7 |
Philipp Tomsich | b302747 | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 313 | select BOUNCE_BUFFER |
Adam Ford | a456d56 | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 314 | select APBH_DMA |
| 315 | select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7 |
| 316 | select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7 |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 317 | help |
| 318 | This selects the Freescale SSP MMC controller found on MXS based |
| 319 | platforms like mx23/28. |
| 320 | |
| 321 | If unsure, say N. |
| 322 | |
Felipe Balbi | ecf7dfd | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 323 | config MMC_PCI |
| 324 | bool "Support for MMC controllers on PCI" |
Bin Meng | 3d81f02 | 2021-02-15 20:01:44 +0800 | [diff] [blame] | 325 | depends on MMC_SDHCI |
Felipe Balbi | ecf7dfd | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 326 | help |
| 327 | This selects PCI-based MMC controllers. |
| 328 | If you have an MMC controller on a PCI bus, say Y here. |
| 329 | |
Suneel Garapati | 40e6133 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 330 | config MMC_OCTEONTX |
Stefan Roese | e06f552 | 2021-03-12 09:48:25 +0100 | [diff] [blame] | 331 | bool "Marvell Octeon Multimedia Card Interface support" |
| 332 | depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2) |
Suneel Garapati | 40e6133 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 333 | depends on DM_MMC |
| 334 | help |
Stefan Roese | e06f552 | 2021-03-12 09:48:25 +0100 | [diff] [blame] | 335 | This selects the Octeon Multimedia card Interface. |
| 336 | If you have an OcteonTX/TX2 or MIPS Octeon board with a |
| 337 | Multimedia Card slot, say Y here. |
Suneel Garapati | 40e6133 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 338 | |
Felipe Balbi | ecf7dfd | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 339 | If unsure, say N. |
| 340 | |
Harm Berntsen | 7b9e5af | 2021-03-30 10:19:41 +0200 | [diff] [blame] | 341 | config MVEBU_MMC |
| 342 | bool "Kirkwood MMC controller support" |
| 343 | depends on DM_MMC && BLK && ARCH_KIRKWOOD |
| 344 | help |
| 345 | Support for MMC host controller on Kirkwood SoCs. |
| 346 | If you are on a Kirkwood architecture, say Y here. |
| 347 | |
| 348 | If unsure, say N. |
| 349 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 350 | config MMC_OMAP_HS |
| 351 | bool "TI OMAP High Speed Multimedia Card Interface support" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 352 | select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR |
Jean-Jacques Hiblot | 4612bdd | 2017-09-21 17:03:10 +0200 | [diff] [blame] | 353 | select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 354 | help |
| 355 | This selects the TI OMAP High Speed Multimedia card Interface. |
| 356 | If you have an omap2plus board with a Multimedia Card slot, |
| 357 | say Y here. |
| 358 | |
| 359 | If unsure, say N. |
| 360 | |
Jean-Jacques Hiblot | cebf059 | 2018-02-23 10:40:18 +0100 | [diff] [blame] | 361 | config MMC_OMAP_HS_ADMA |
| 362 | bool "ADMA support for OMAP HS MMC" |
| 363 | depends on MMC_OMAP_HS && !OMAP34XX |
| 364 | default y if !AM33XX |
| 365 | help |
| 366 | This enables support for the ADMA2 controller (SDA3.00 Part A2 DMA |
| 367 | controller). If supported by the hardware, selecting this option will |
| 368 | increase performances. |
| 369 | |
Adam Ford | ef35496 | 2017-02-06 11:31:43 -0600 | [diff] [blame] | 370 | config MMC_OMAP36XX_PINS |
| 371 | bool "Enable MMC1 on OMAP36xx/37xx" |
| 372 | depends on OMAP34XX && MMC_OMAP_HS |
| 373 | help |
| 374 | This enables extended-drain in the MMC/SD/SDIO1I/O and |
| 375 | GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129) |
| 376 | specific to the OMAP36xx/37xx using MMC1 |
| 377 | |
| 378 | If you have a controller with this interface, say Y here. |
| 379 | |
| 380 | If unsure, say N. |
| 381 | |
Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 382 | config SH_SDHI |
| 383 | bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support" |
Marek Vasut | 1c5a5a9 | 2017-05-13 15:51:14 +0200 | [diff] [blame] | 384 | depends on ARCH_RMOBILE |
Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 385 | help |
| 386 | Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform |
| 387 | |
Marek Vasut | a8624ac | 2018-04-21 17:40:20 +0200 | [diff] [blame] | 388 | config SH_MMCIF |
| 389 | bool "SuperH/Renesas ARM SoCs on-chip MMCIF host controller support" |
| 390 | depends on ARCH_RMOBILE || SH |
| 391 | help |
| 392 | Support for the on-chip MMCIF host controller on SuperH/Renesas ARM SoCs platform |
| 393 | |
Masahiro Yamada | a0cfcc0 | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 394 | config MMC_UNIPHIER |
Marek Vasut | 2883f74 | 2017-09-23 13:30:30 +0200 | [diff] [blame] | 395 | bool "UniPhier SD/MMC Host Controller support" |
| 396 | depends on ARCH_UNIPHIER |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 397 | depends on BLK && DM_MMC |
Masahiro Yamada | c232653 | 2016-12-30 23:20:14 +0900 | [diff] [blame] | 398 | depends on OF_CONTROL |
Masahiro Yamada | a0cfcc0 | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 399 | help |
Marek Vasut | 847ee0c | 2017-07-21 23:24:36 +0200 | [diff] [blame] | 400 | This selects support for the Matsushita SD/MMC Host Controller on |
Marek Vasut | 2883f74 | 2017-09-23 13:30:30 +0200 | [diff] [blame] | 401 | SocioNext UniPhier SoCs. |
| 402 | |
| 403 | config RENESAS_SDHI |
| 404 | bool "Renesas R-Car SD/MMC Host Controller support" |
| 405 | depends on ARCH_RMOBILE |
| 406 | depends on BLK && DM_MMC |
| 407 | depends on OF_CONTROL |
Marek Vasut | 9f7baeb | 2020-04-04 12:45:04 +0200 | [diff] [blame] | 408 | select BOUNCE_BUFFER |
Marek Vasut | 2883f74 | 2017-09-23 13:30:30 +0200 | [diff] [blame] | 409 | help |
| 410 | This selects support for the Matsushita SD/MMC Host Controller on |
| 411 | Renesas R-Car SoCs. |
Masahiro Yamada | a0cfcc0 | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 412 | |
Alexander Graf | 044725f | 2018-01-23 18:05:22 +0100 | [diff] [blame] | 413 | config MMC_BCM2835 |
| 414 | bool "BCM2835 family custom SD/MMC Host Controller support" |
| 415 | depends on ARCH_BCM283X |
| 416 | depends on BLK && DM_MMC |
| 417 | depends on OF_CONTROL |
| 418 | default y |
| 419 | help |
| 420 | This selects support for the custom SD host controller in the BCM2835 |
| 421 | family of devices. |
| 422 | |
| 423 | If you have a BCM2835 platform with SD or MMC devices, say Y here. |
| 424 | |
| 425 | If unsure, say N. |
| 426 | |
Paul Burton | 8e14284 | 2018-12-16 19:25:20 -0300 | [diff] [blame] | 427 | config JZ47XX_MMC |
| 428 | bool "Ingenic JZ47xx SD/MMC Host Controller support" |
| 429 | depends on ARCH_JZ47XX |
| 430 | help |
| 431 | This selects support for the SD Card Controller on Ingenic JZ47xx SoCs. |
| 432 | |
Masahiro Yamada | 54f7cfc | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 433 | config MMC_SANDBOX |
Simon Glass | f9eebac | 2016-05-01 13:52:42 -0600 | [diff] [blame] | 434 | bool "Sandbox MMC support" |
Masahiro Yamada | 54f7cfc | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 435 | depends on SANDBOX |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 436 | depends on BLK && DM_MMC && OF_CONTROL |
Simon Glass | f9eebac | 2016-05-01 13:52:42 -0600 | [diff] [blame] | 437 | help |
| 438 | This select a dummy sandbox MMC driver. At present this does nothing |
| 439 | other than allow sandbox to be build with MMC support. This |
| 440 | improves build coverage for sandbox and makes it easier to detect |
| 441 | MMC build errors with sandbox. |
| 442 | |
Masahiro Yamada | 7db8c17 | 2016-12-07 22:10:28 +0900 | [diff] [blame] | 443 | config MMC_SDHCI |
| 444 | bool "Secure Digital Host Controller Interface support" |
| 445 | help |
| 446 | This selects the generic Secure Digital Host Controller Interface. |
| 447 | It is used by manufacturers such as Texas Instruments(R), Ricoh(R) |
| 448 | and Toshiba(R). Most controllers found in laptops are of this type. |
| 449 | |
| 450 | If you have a controller with this interface, say Y here. |
| 451 | |
| 452 | If unsure, say N. |
| 453 | |
Masahiro Yamada | bfd110f | 2016-12-07 22:10:30 +0900 | [diff] [blame] | 454 | config MMC_SDHCI_IO_ACCESSORS |
| 455 | bool |
| 456 | depends on MMC_SDHCI |
| 457 | help |
| 458 | This is silent Kconfig symbol that is selected by the drivers that |
| 459 | need to overwrite SDHCI IO memory accessors. |
| 460 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 461 | config MMC_SDHCI_SDMA |
| 462 | bool "Support SDHCI SDMA" |
| 463 | depends on MMC_SDHCI |
| 464 | help |
| 465 | This enables support for the SDMA (Single Operation DMA) defined |
| 466 | in the SD Host Controller Standard Specification Version 1.00 . |
| 467 | |
Faiz Abbas | 4c082a6 | 2019-04-16 23:06:58 +0530 | [diff] [blame] | 468 | config MMC_SDHCI_ADMA |
| 469 | bool "Support SDHCI ADMA2" |
| 470 | depends on MMC_SDHCI |
Michael Walle | 02016c6 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 471 | select MMC_SDHCI_ADMA_HELPERS |
Faiz Abbas | 4c082a6 | 2019-04-16 23:06:58 +0530 | [diff] [blame] | 472 | help |
| 473 | This enables support for the ADMA (Advanced DMA) defined |
| 474 | in the SD Host Controller Standard Specification Version 3.00 |
| 475 | |
| 476 | config SPL_MMC_SDHCI_ADMA |
| 477 | bool "Support SDHCI ADMA2 in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 478 | depends on SPL_MMC && MMC_SDHCI |
Michael Walle | 02016c6 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 479 | select MMC_SDHCI_ADMA_HELPERS |
Faiz Abbas | 4c082a6 | 2019-04-16 23:06:58 +0530 | [diff] [blame] | 480 | help |
| 481 | This enables support for the ADMA (Advanced DMA) defined |
| 482 | in the SD Host Controller Standard Specification Version 3.00 in SPL. |
| 483 | |
Chris Packham | 7d5d591 | 2022-05-29 11:13:17 +1200 | [diff] [blame] | 484 | config FIXED_SDHCI_ALIGNED_BUFFER |
| 485 | hex "SDRAM address for fixed buffer" |
| 486 | depends on SPL && MVEBU_SPL_BOOT_DEVICE_MMC |
| 487 | default 0x00180000 |
| 488 | help |
| 489 | On the Marvell Armada 38x when the SPL runs it located in internal |
| 490 | SRAM which is the L2 cache locked to memory. When the MMC buffers |
| 491 | are located on the stack (or bss), the SDIO controller (SDHCI) can't |
| 492 | write into this L2 cache memory. |
| 493 | |
| 494 | This specifies the address of a fixed buffer located in SDRAM that |
| 495 | will be used for all SDHCI transfers in the SPL. |
| 496 | |
Eddie James | c8a6581 | 2019-08-27 09:48:03 -0500 | [diff] [blame] | 497 | config MMC_SDHCI_ASPEED |
| 498 | bool "Aspeed SDHCI controller" |
| 499 | depends on ARCH_ASPEED |
| 500 | depends on DM_MMC |
| 501 | depends on MMC_SDHCI |
Joel Stanley | 818a6b5 | 2022-06-23 18:35:34 +0930 | [diff] [blame] | 502 | select MISC |
Eddie James | c8a6581 | 2019-08-27 09:48:03 -0500 | [diff] [blame] | 503 | help |
| 504 | Enables support for the Aspeed SDHCI 2.0 controller present on Aspeed |
| 505 | SoCs. This device is compatible with SD 3.0 and/or MMC 4.3 |
| 506 | specifications. On the AST2600, the device is also compatible with |
| 507 | MMC 5.1 and eMMC 3.0. |
| 508 | |
Masahiro Yamada | 8c1a132 | 2017-01-30 19:46:55 +0900 | [diff] [blame] | 509 | config MMC_SDHCI_ATMEL |
| 510 | bool "Atmel SDHCI controller support" |
| 511 | depends on ARCH_AT91 |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 512 | depends on DM_MMC && BLK && ARCH_AT91 |
Masahiro Yamada | 8c1a132 | 2017-01-30 19:46:55 +0900 | [diff] [blame] | 513 | depends on MMC_SDHCI |
| 514 | help |
| 515 | This enables support for the Atmel SDHCI controller, which supports |
| 516 | the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD |
| 517 | Memory Card Specification V3.0, and the SDIO V3.0 specification. |
| 518 | It is compliant with the SD Host Controller Standard V3.0 |
| 519 | specification. |
| 520 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 521 | config MMC_SDHCI_BCM2835 |
| 522 | tristate "SDHCI support for the BCM2835 SD/MMC Controller" |
| 523 | depends on ARCH_BCM283X |
| 524 | depends on MMC_SDHCI |
Masahiro Yamada | bfd110f | 2016-12-07 22:10:30 +0900 | [diff] [blame] | 525 | select MMC_SDHCI_IO_ACCESSORS |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 526 | help |
| 527 | This selects the BCM2835 SD/MMC controller. |
| 528 | |
| 529 | If you have a BCM2835 platform with SD or MMC devices, |
| 530 | say Y here. |
| 531 | |
| 532 | If unsure, say N. |
| 533 | |
Thomas Fitzsimmons | 919646d | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 534 | config MMC_SDHCI_BCMSTB |
| 535 | tristate "SDHCI support for the BCMSTB SD/MMC Controller" |
| 536 | depends on MMC_SDHCI |
| 537 | help |
| 538 | This selects the Broadcom set-top box SD/MMC controller. |
| 539 | |
| 540 | If you have a BCMSTB platform with SD or MMC devices, |
| 541 | say Y here. |
| 542 | |
| 543 | If unsure, say N. |
| 544 | |
Masahiro Yamada | dcbc443 | 2016-12-30 22:41:46 +0900 | [diff] [blame] | 545 | config MMC_SDHCI_CADENCE |
| 546 | bool "SDHCI support for the Cadence SD/SDIO/eMMC controller" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 547 | depends on BLK && DM_MMC |
Masahiro Yamada | dcbc443 | 2016-12-30 22:41:46 +0900 | [diff] [blame] | 548 | depends on MMC_SDHCI |
| 549 | depends on OF_CONTROL |
| 550 | help |
| 551 | This selects the Cadence SD/SDIO/eMMC driver. |
| 552 | |
| 553 | If you have a controller with this interface, say Y here. |
| 554 | |
| 555 | If unsure, say N. |
| 556 | |
Faiz Abbas | d8fb309 | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 557 | config MMC_SDHCI_AM654 |
| 558 | bool "SDHCI Controller on TI's Am654 devices" |
Lokesh Vutla | bc9979f | 2018-08-27 15:57:54 +0530 | [diff] [blame] | 559 | depends on ARCH_K3 |
| 560 | depends on MMC_SDHCI |
| 561 | depends on DM_MMC && OF_CONTROL && BLK |
Faiz Abbas | e9aed58 | 2019-06-11 00:43:38 +0530 | [diff] [blame] | 562 | depends on REGMAP |
Faiz Abbas | 36c8c5c | 2021-02-04 15:10:54 +0530 | [diff] [blame] | 563 | select MMC_SDHCI_IO_ACCESSORS |
Lokesh Vutla | bc9979f | 2018-08-27 15:57:54 +0530 | [diff] [blame] | 564 | help |
Faiz Abbas | d8fb309 | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 565 | Support for Secure Digital Host Controller Interface (SDHCI) |
| 566 | controllers present on TI's AM654 SOCs. |
Lokesh Vutla | bc9979f | 2018-08-27 15:57:54 +0530 | [diff] [blame] | 567 | |
Arun Parameswaran | 2f4f34a | 2019-09-12 11:06:08 -0700 | [diff] [blame] | 568 | config MMC_SDHCI_IPROC |
| 569 | bool "SDHCI support for the iProc SD/MMC Controller" |
| 570 | depends on MMC_SDHCI |
| 571 | help |
| 572 | This selects the iProc SD/MMC controller. |
| 573 | |
| 574 | If you have a Broadcom IPROC platform with SD or MMC devices, |
| 575 | say Y or M here. |
| 576 | |
| 577 | If unsure, say N. |
| 578 | |
Jassi Brar | 8188bda | 2021-06-04 18:44:16 +0900 | [diff] [blame] | 579 | config MMC_SDHCI_F_SDH30 |
| 580 | bool "SDHCI support for Fujitsu Semiconductor F_SDH30" |
| 581 | depends on BLK && DM_MMC |
| 582 | depends on MMC_SDHCI |
| 583 | help |
| 584 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 585 | Needed by some Fujitsu SoC for MMC / SD / SDIO support. |
| 586 | If you have a controller with this interface, say Y or M here. |
| 587 | If unsure, say N. |
| 588 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 589 | config MMC_SDHCI_KONA |
| 590 | bool "SDHCI support on Broadcom KONA platform" |
| 591 | depends on MMC_SDHCI |
| 592 | help |
| 593 | This selects the Broadcom Kona Secure Digital Host Controller |
| 594 | Interface(SDHCI) support. |
| 595 | This is used in Broadcom mobile SoCs. |
| 596 | |
| 597 | If you have a controller with this interface, say Y here. |
| 598 | |
Masahiro Yamada | a1262eb | 2017-01-30 19:46:53 +0900 | [diff] [blame] | 599 | config MMC_SDHCI_MSM |
| 600 | bool "Qualcomm SDHCI controller" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 601 | depends on BLK && DM_MMC |
Masahiro Yamada | a1262eb | 2017-01-30 19:46:53 +0900 | [diff] [blame] | 602 | depends on MMC_SDHCI |
| 603 | help |
| 604 | Enables support for SDHCI 2.0 controller present on some Qualcomm |
| 605 | Snapdragon devices. This device is compatible with eMMC v4.5 and |
| 606 | SD 3.0 specifications. Both SD and eMMC devices are supported. |
| 607 | Card-detect gpios are not supported. |
| 608 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 609 | config MMC_SDHCI_MV |
| 610 | bool "SDHCI support on Marvell platform" |
| 611 | depends on ARCH_MVEBU |
| 612 | depends on MMC_SDHCI |
| 613 | help |
| 614 | This selects the Secure Digital Host Controller Interface on |
| 615 | Marvell platform. |
| 616 | |
| 617 | If you have a controller with this interface, say Y here. |
| 618 | |
| 619 | If unsure, say N. |
| 620 | |
Jim Liu | 29cf22c | 2022-05-24 16:55:33 +0800 | [diff] [blame] | 621 | config MMC_SDHCI_NPCM |
| 622 | bool "SDHCI support on Nuvoton NPCM device" |
| 623 | depends on MMC_SDHCI |
| 624 | depends on DM_MMC |
| 625 | help |
| 626 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 627 | on Nuvoton NPCM device. |
| 628 | |
| 629 | If you have a controller with this interface, say Y here. |
| 630 | |
| 631 | If unsure, say N. |
| 632 | |
Masahiro Yamada | f79df03 | 2017-01-30 19:46:54 +0900 | [diff] [blame] | 633 | config MMC_SDHCI_PIC32 |
| 634 | bool "Microchip PIC32 on-chip SDHCI support" |
| 635 | depends on DM_MMC && MACH_PIC32 |
| 636 | depends on MMC_SDHCI |
| 637 | help |
| 638 | Support for Microchip PIC32 SDHCI controller. |
| 639 | |
Masahiro Yamada | babe026 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 640 | config MMC_SDHCI_ROCKCHIP |
| 641 | bool "Arasan SDHCI controller for Rockchip support" |
| 642 | depends on ARCH_ROCKCHIP |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 643 | depends on DM_MMC && BLK |
Masahiro Yamada | babe026 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 644 | depends on MMC_SDHCI |
| 645 | help |
| 646 | Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform |
| 647 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 648 | config MMC_SDHCI_S5P |
| 649 | bool "SDHCI support on Samsung S5P SoC" |
| 650 | depends on MMC_SDHCI |
| 651 | help |
| 652 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 653 | on Samsung S5P SoCs. |
| 654 | |
| 655 | If you have a controller with this interface, say Y here. |
| 656 | |
| 657 | If unsure, say N. |
| 658 | |
| 659 | config MMC_SDHCI_SPEAR |
| 660 | bool "SDHCI support on ST SPEAr platform" |
| 661 | depends on MMC_SDHCI |
| 662 | help |
| 663 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 664 | often referrered to as the HSMMC block in some of the ST SPEAR range |
| 665 | of SoC |
| 666 | |
| 667 | If you have a controller with this interface, say Y here. |
| 668 | |
| 669 | If unsure, say N. |
| 670 | |
Patrice Chotard | 2eea7d8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 671 | config MMC_SDHCI_STI |
| 672 | bool "SDHCI support for STMicroelectronics SoC" |
Patrice Chotard | cdf6b57 | 2017-02-21 13:37:11 +0100 | [diff] [blame] | 673 | depends on MMC_SDHCI && OF_CONTROL |
Patrice Chotard | 2eea7d8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 674 | help |
| 675 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 676 | on STMicroelectronics STiH410 SoC. |
| 677 | |
Stefan Roese | 121fc56 | 2016-12-09 15:03:28 +0100 | [diff] [blame] | 678 | config MMC_SDHCI_XENON |
| 679 | bool "SDHCI support for the Xenon SDHCI controller" |
| 680 | depends on MMC_SDHCI && DM_MMC && OF_CONTROL |
| 681 | help |
| 682 | Support for Xenon SDHCI host controller on Marvell Armada 3700 |
| 683 | 7k/8k ARM SoCs platforms |
| 684 | |
| 685 | If you have a controller with this interface, say Y here. |
| 686 | |
| 687 | If unsure, say N. |
| 688 | |
Felipe Balbi | b756760 | 2017-02-20 14:24:14 +0300 | [diff] [blame] | 689 | config MMC_SDHCI_TANGIER |
| 690 | bool "Tangier SDHCI controller support" |
| 691 | depends on DM_MMC && BLK |
| 692 | depends on MMC_SDHCI |
| 693 | help |
| 694 | This selects support for SDHCI controller on Tanginer |
| 695 | SoC. Note that this controller does not sit on PCI bus and, |
| 696 | hence, cannot be enumerated by standard PCI means. |
| 697 | |
| 698 | If you're using an Intel Tangier SoC (available on Intel |
| 699 | Edison board), say Y here. |
| 700 | |
| 701 | If unsure, say N. |
| 702 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 703 | config MMC_SDHCI_TEGRA |
| 704 | bool "SDHCI platform support for the Tegra SD/MMC Controller" |
Trevor Woerner | 513f640 | 2020-05-06 08:02:41 -0400 | [diff] [blame] | 705 | depends on ARCH_TEGRA |
Philipp Tomsich | b302747 | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 706 | select BOUNCE_BUFFER |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 707 | default y |
| 708 | help |
| 709 | This selects the Tegra SD/MMC controller. If you have a Tegra |
| 710 | platform with SD or MMC devices, say Y here. |
| 711 | |
| 712 | If unsure, say N. |
| 713 | |
Trent Piepho | 1bf56c3 | 2019-04-01 23:05:49 +0000 | [diff] [blame] | 714 | config TEGRA124_MMC_DISABLE_EXT_LOOPBACK |
| 715 | bool "Disable external clock loopback" |
| 716 | depends on MMC_SDHCI_TEGRA && TEGRA124 |
| 717 | help |
| 718 | Disable the external clock loopback and use the internal one on SDMMC3 |
| 719 | as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits |
| 720 | being set to 0xfffd according to the TRM. |
| 721 | |
| 722 | TODO(marcel.ziswiler@toradex.com): Move to device tree controlled |
| 723 | approach once proper kernel integration made it mainline. |
| 724 | |
Masahiro Yamada | 168c57d | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 725 | config MMC_SDHCI_ZYNQ |
| 726 | bool "Arasan SDHCI controller support" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 727 | depends on DM_MMC && OF_CONTROL && BLK |
Masahiro Yamada | 168c57d | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 728 | depends on MMC_SDHCI |
| 729 | help |
| 730 | Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform |
| 731 | |
Vipul Kumar | 6254800 | 2018-02-28 15:53:28 +0530 | [diff] [blame] | 732 | config ZYNQ_SDHCI_MAX_FREQ |
| 733 | int "Set the maximum frequency of the controller" |
| 734 | depends on MMC_SDHCI_ZYNQ |
| 735 | help |
| 736 | Set the maximum frequency of the controller. |
| 737 | |
Vipul Kumar | dcc14e3 | 2018-02-28 15:53:29 +0530 | [diff] [blame] | 738 | config ZYNQ_SDHCI_MIN_FREQ |
| 739 | int "Set the minimum frequency of the controller" |
| 740 | depends on MMC_SDHCI_ZYNQ |
| 741 | default 0 |
| 742 | help |
| 743 | Set the minimum frequency of the controller. |
| 744 | |
Siva Durga Prasad Paladugu | a9a3d00 | 2019-05-27 14:33:14 +0530 | [diff] [blame] | 745 | config ZYNQ_HISPD_BROKEN |
| 746 | bool "High speed broken for Zynq SDHCI controller" |
| 747 | depends on MMC_SDHCI_ZYNQ |
| 748 | help |
| 749 | Set if high speed mode is broken. |
| 750 | |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 751 | config MMC_SUNXI |
| 752 | bool "Allwinner sunxi SD/MMC Host Controller support" |
Samuel Holland | 6b0d0bc | 2022-04-10 00:13:34 -0500 | [diff] [blame] | 753 | depends on ARCH_SUNXI |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 754 | default y |
| 755 | help |
| 756 | This selects support for the SD/MMC Host Controller on |
| 757 | Allwinner sunxi SoCs. |
| 758 | |
Maxime Ripard | 95e3470 | 2017-08-23 12:03:41 +0200 | [diff] [blame] | 759 | config MMC_SUNXI_HAS_NEW_MODE |
| 760 | bool |
| 761 | depends on MMC_SUNXI |
| 762 | |
Vasily Khoruzhick | b198e2c | 2018-11-09 20:41:44 -0800 | [diff] [blame] | 763 | config MMC_SUNXI_HAS_MODE_SWITCH |
| 764 | bool |
| 765 | depends on MMC_SUNXI |
| 766 | |
Tianrui Wei | 8cfc7c5 | 2021-07-01 12:54:20 +0800 | [diff] [blame] | 767 | config MMC_PITON |
| 768 | bool "MMC support for OpenPiton SoC" |
| 769 | depends on DM_MMC && BLK |
| 770 | help |
| 771 | This selects support for the SD host controller on OpenPiton SoC. |
| 772 | Note that this SD controller directly exposes the contents of the |
| 773 | SD card as memory mapped, so there is no manual configuration |
| 774 | required |
| 775 | |
Wenyou Yang | 7a7a64c | 2017-04-13 10:29:22 +0800 | [diff] [blame] | 776 | config GENERIC_ATMEL_MCI |
| 777 | bool "Atmel Multimedia Card Interface support" |
Simon Glass | eba48f9 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 778 | depends on DM_MMC && BLK && ARCH_AT91 |
Wenyou Yang | 7a7a64c | 2017-04-13 10:29:22 +0800 | [diff] [blame] | 779 | help |
| 780 | This enables support for Atmel High Speed Multimedia Card Interface |
| 781 | (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3, |
| 782 | the SD Memory Card Specification V2.0, the SDIO V2.0 specification |
| 783 | and CE-ATA V1.1. |
| 784 | |
Patrice Chotard | ae19b81 | 2017-09-04 17:56:22 +0200 | [diff] [blame] | 785 | config STM32_SDMMC2 |
| 786 | bool "STMicroelectronics STM32H7 SD/MMC Host Controller support" |
Patrice Chotard | 4cb0ac9 | 2017-10-03 15:54:58 +0200 | [diff] [blame] | 787 | depends on DM_MMC && BLK && OF_CONTROL |
Patrice Chotard | ae19b81 | 2017-09-04 17:56:22 +0200 | [diff] [blame] | 788 | help |
| 789 | This selects support for the SD/MMC controller on STM32H7 SoCs. |
| 790 | If you have a board based on such a SoC and with a SD/MMC slot, |
| 791 | say Y or M here. |
| 792 | |
Rick Chen | cbb5297 | 2017-11-14 14:47:09 +0800 | [diff] [blame] | 793 | config FTSDC010 |
| 794 | bool "Ftsdc010 SD/MMC controller Support" |
| 795 | help |
| 796 | This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP. |
| 797 | |
Rick Chen | c59a6fb | 2018-03-20 15:10:49 +0800 | [diff] [blame] | 798 | config FTSDC010_SDIO |
| 799 | bool "Support ftsdc010 sdio" |
Rick Chen | c59a6fb | 2018-03-20 15:10:49 +0800 | [diff] [blame] | 800 | depends on FTSDC010 |
| 801 | help |
| 802 | This can enable ftsdc010 sdio function. |
| 803 | |
developer | dc5a9aa | 2018-11-15 10:08:04 +0800 | [diff] [blame] | 804 | config MMC_MTK |
| 805 | bool "MediaTek SD/MMC Card Interface support" |
developer | 607faf7 | 2019-09-25 17:45:37 +0800 | [diff] [blame] | 806 | depends on ARCH_MEDIATEK || ARCH_MTMIPS |
developer | dc5a9aa | 2018-11-15 10:08:04 +0800 | [diff] [blame] | 807 | depends on BLK && DM_MMC |
| 808 | depends on OF_CONTROL |
| 809 | help |
| 810 | This selects the MediaTek(R) Secure digital and Multimedia card Interface. |
| 811 | If you have a machine with a integrated SD/MMC card reader, say Y or M here. |
| 812 | This is needed if support for any SD/SDIO/MMC devices is required. |
| 813 | If unsure, say N. |
| 814 | |
Masahiro Yamada | e8b9972 | 2016-12-07 22:10:27 +0900 | [diff] [blame] | 815 | endif |
| 816 | |
Mario Six | 41d7d97 | 2018-03-28 14:38:19 +0200 | [diff] [blame] | 817 | config FSL_ESDHC |
| 818 | bool "Freescale/NXP eSDHC controller support" |
| 819 | help |
Yangbo Lu | 982f425 | 2019-06-21 11:42:27 +0800 | [diff] [blame] | 820 | This selects support for the eSDHC (Enhanced Secure Digital Host |
| 821 | Controller) found on numerous Freescale/NXP SoCs. |
| 822 | |
Michael Walle | 081d401 | 2020-10-12 10:07:14 +0200 | [diff] [blame] | 823 | config FSL_ESDHC_SUPPORT_ADMA2 |
| 824 | bool "enable ADMA2 support" |
| 825 | depends on FSL_ESDHC |
| 826 | select MMC_SDHCI_ADMA_HELPERS |
| 827 | help |
| 828 | This enables support for the ADMA2 transfer mode. If supported by the |
| 829 | eSDHC it will allow 64bit DMA addresses. |
| 830 | |
Yangbo Lu | ce88402 | 2020-05-19 11:06:44 +0800 | [diff] [blame] | 831 | config FSL_ESDHC_33V_IO_RELIABILITY_WORKAROUND |
| 832 | bool "enable eSDHC workaround for 3.3v IO reliability issue" |
| 833 | depends on FSL_ESDHC && DM_MMC |
Yangbo Lu | ce88402 | 2020-05-19 11:06:44 +0800 | [diff] [blame] | 834 | help |
| 835 | When eSDHC operates at 3.3v, damage can accumulate in an internal |
| 836 | level shifter at a higher than expected rate. The faster the interface |
| 837 | runs, the more damage accumulates. This issue now is found on LX2160A |
| 838 | eSDHC1 for only SD card. The hardware workaround is recommended to use |
| 839 | an on-board level shifter that is 1.8v on SoC side and 3.3v on SD card |
| 840 | side. For boards without hardware workaround, this option could be |
| 841 | enabled, ensuring 1.8v IO voltage and disabling eSDHC if no card. |
| 842 | This option assumes no hotplug, and u-boot has to make all the way to |
| 843 | to linux to use 1.8v UHS-I speed mode if has card. |
| 844 | |
Yangbo Lu | e087cd6 | 2021-06-03 10:51:17 +0800 | [diff] [blame] | 845 | config FSL_ESDHC_VS33_NOT_SUPPORT |
| 846 | bool "3.3V power supply not supported" |
| 847 | depends on FSL_ESDHC |
| 848 | help |
| 849 | For eSDHC, power supply is through peripheral circuit. 3.3V support is |
| 850 | common. Select this if 3.3V power supply not supported. |
| 851 | |
Pali Rohár | 3a672d6 | 2022-05-11 20:27:13 +0200 | [diff] [blame] | 852 | config SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH |
| 853 | int |
| 854 | depends on FSL_ESDHC |
| 855 | default 1 |
| 856 | |
Tom Rini | bdd47f3 | 2022-06-16 14:04:38 -0400 | [diff] [blame] | 857 | config ESDHC_DETECT_QUIRK |
| 858 | bool "QIXIS-based eSDHC quirk detection" |
| 859 | depends on FSL_ESDHC && FSL_QIXIS |
| 860 | |
Yangbo Lu | 982f425 | 2019-06-21 11:42:27 +0800 | [diff] [blame] | 861 | config FSL_ESDHC_IMX |
| 862 | bool "Freescale/NXP i.MX eSDHC controller support" |
| 863 | help |
| 864 | This selects support for the i.MX eSDHC (Enhanced Secure Digital Host |
| 865 | Controller) found on numerous Freescale/NXP SoCs. |
Mario Six | 41d7d97 | 2018-03-28 14:38:19 +0200 | [diff] [blame] | 866 | |
Adam Ford | 0183658 | 2019-08-14 07:23:43 -0500 | [diff] [blame] | 867 | config FSL_USDHC |
| 868 | bool "Freescale/NXP i.MX uSDHC controller support" |
Peng Fan | 29b31a5 | 2022-07-26 16:40:44 +0800 | [diff] [blame] | 869 | depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMX9 || IMXRT |
Adam Ford | 0183658 | 2019-08-14 07:23:43 -0500 | [diff] [blame] | 870 | select FSL_ESDHC_IMX |
| 871 | help |
| 872 | This enables the Ultra Secured Digital Host Controller enhancements |
| 873 | |
Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 874 | endmenu |
York Sun | 097e360 | 2016-12-28 08:43:42 -0800 | [diff] [blame] | 875 | |
| 876 | config SYS_FSL_ERRATUM_ESDHC111 |
| 877 | bool |
| 878 | |
| 879 | config SYS_FSL_ERRATUM_ESDHC13 |
| 880 | bool |
| 881 | |
| 882 | config SYS_FSL_ERRATUM_ESDHC135 |
| 883 | bool |
| 884 | |
| 885 | config SYS_FSL_ERRATUM_ESDHC_A001 |
| 886 | bool |
Michael Walle | 148dc61 | 2021-03-17 15:01:36 +0100 | [diff] [blame] | 887 | |
| 888 | config SYS_FSL_ERRATUM_A011334 |
| 889 | bool |
Michael Walle | 7259dc5 | 2021-03-17 15:01:37 +0100 | [diff] [blame] | 890 | |
| 891 | config SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND |
| 892 | bool |