Nobuhiro Iwamatsu | 72d42ba | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 1 | menu "MMC Host controller Support" |
| 2 | |
Maxime Ripard | 7a777f6 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 3 | config MMC |
Masahiro Yamada | c272699 | 2016-12-07 22:10:26 +0900 | [diff] [blame] | 4 | bool "MMC/SD/SDIO card support" |
| 5 | default ARM || PPC || SANDBOX |
Adam Ford | 1811a92 | 2018-02-06 12:43:56 -0600 | [diff] [blame] | 6 | select HAVE_BLOCK_DEVICE |
Tom Rini | f7173fc | 2021-04-21 15:32:27 -0400 | [diff] [blame] | 7 | select DM_MMC if DM |
Maxime Ripard | 7a777f6 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 8 | help |
Masahiro Yamada | c272699 | 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 | 7a777f6 | 2015-10-15 22:04:05 +0200 | [diff] [blame] | 14 | |
Jean-Jacques Hiblot | d6400c3 | 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 | caee38a | 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 | 2f516e4 | 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 | e7ecf7c | 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 | f7173fc | 2021-04-21 15:32:27 -0400 | [diff] [blame] | 37 | select BLK |
Simon Glass | e7ecf7c | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 38 | help |
Robert P. J. Day | 62a3b7d | 2016-07-15 13:44:45 -0400 | [diff] [blame] | 39 | This enables the MultiMediaCard (MMC) uclass which supports MMC and |
Simon Glass | e7ecf7c | 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 | c4d660d | 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 | 35ed176 | 2022-05-24 10:58:42 +0200 | [diff] [blame^] | 48 | default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC |
Simon Glass | c4d660d | 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 | e298c46 | 2016-12-07 22:10:27 +0900 | [diff] [blame] | 57 | if MMC |
| 58 | |
Michael Walle | 4d6a773 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 59 | config MMC_SDHCI_ADMA_HELPERS |
| 60 | bool |
| 61 | |
Bhargav Shah | 05e35d4 | 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 | 3c0dbed | 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 | 3c0dbed | 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 | 83dc422 | 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 | 26632b7 | 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 | 83dc422 | 2017-09-21 16:30:10 +0200 | [diff] [blame] | 95 | enabled by the host driver. |
| 96 | |
Jean-Jacques Hiblot | cf17789 | 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 | 5a7b11e | 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 | 623de3f | 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 | f99c2ef | 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 | b340199 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 127 | depends on SPL_MMC |
Jean-Jacques Hiblot | f99c2ef | 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 | 44acd49 | 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 | b340199 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 158 | depends on SPL_MMC |
Peng Fan | 44acd49 | 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 | 3dd2626 | 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 | b340199 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 172 | depends on SPL_MMC |
Faiz Abbas | 68b3e8b | 2019-08-01 16:33:36 +0530 | [diff] [blame] | 173 | select SPL_MMC_HS200_SUPPORT |
Peng Fan | 3dd2626 | 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 | f99c2ef | 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 | f99c2ef | 2017-11-30 17:44:01 +0100 | [diff] [blame] | 184 | config SPL_MMC_HS200_SUPPORT |
| 185 | bool "enable HS200 support in SPL" |
Tom Rini | b340199 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 186 | depends on SPL_MMC |
Jean-Jacques Hiblot | f99c2ef | 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 | 35f9e19 | 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 | 72b5a03 | 2018-01-26 19:25:31 +0900 | [diff] [blame] | 198 | config MMC_TRACE |
| 199 | bool "MMC debugging" |
Jaehoon Chung | 72b5a03 | 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 | 1d2c050 | 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 | 55ed3b4 | 2017-01-10 13:32:04 +0900 | [diff] [blame] | 214 | config MMC_DW |
| 215 | bool "Synopsys DesignWare Memory Card Interface" |
Philipp Tomsich | 2acc24f | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 216 | select BOUNCE_BUFFER |
Masahiro Yamada | 55ed3b4 | 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 | d55e4e7 | 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 | d55e4e7 | 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 | ae4c81e | 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 | fed4408 | 2017-01-10 13:32:03 +0900 | [diff] [blame] | 250 | config MMC_DW_ROCKCHIP |
Simon Glass | a8cb4fb | 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 | 55ed3b4 | 2017-01-10 13:32:04 +0900 | [diff] [blame] | 253 | depends on MMC_DW |
Simon Glass | a8cb4fb | 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 | ae4c81e | 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 | 15736e2 | 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 | 8408318 | 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 | 9373862 | 2017-04-12 20:30:42 +0200 | [diff] [blame] | 288 | config MMC_MESON_GX |
| 289 | bool "Meson GX EMMC controller support" |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 290 | depends on DM_MMC && BLK && ARCH_MESON |
Carlo Caione | 9373862 | 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 | 1d2c050 | 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 | 57a91c3 | 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 | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 310 | config MMC_MXS |
| 311 | bool "Freescale MXS Multimedia Card Interface support" |
Adam Ford | 99bec1a | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 312 | depends on MX23 || MX28 || MX6 || MX7 |
Philipp Tomsich | 2acc24f | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 313 | select BOUNCE_BUFFER |
Adam Ford | 99bec1a | 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 | 1d2c050 | 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 | b706b1c | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 323 | config MMC_PCI |
| 324 | bool "Support for MMC controllers on PCI" |
Bin Meng | 511dcc3 | 2021-02-15 20:01:44 +0800 | [diff] [blame] | 325 | depends on MMC_SDHCI |
Felipe Balbi | b706b1c | 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 | 7085989 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 330 | config MMC_OCTEONTX |
Stefan Roese | f9bb0ba | 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 | 7085989 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 333 | depends on DM_MMC |
| 334 | help |
Stefan Roese | f9bb0ba | 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 | 7085989 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 338 | |
Felipe Balbi | b706b1c | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 339 | If unsure, say N. |
| 340 | |
Harm Berntsen | c689ae0 | 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 | 1d2c050 | 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 | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 352 | select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR |
Jean-Jacques Hiblot | 8ff7763 | 2017-09-21 17:03:10 +0200 | [diff] [blame] | 353 | select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR |
Masahiro Yamada | 1d2c050 | 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 | 27a4b3b | 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 | 6aca17c | 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 | 72d42ba | 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 | 0f53118 | 2017-05-13 15:51:14 +0200 | [diff] [blame] | 384 | depends on ARCH_RMOBILE |
Nobuhiro Iwamatsu | 72d42ba | 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 | f3dca4a | 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 | a111bfb | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 394 | config MMC_UNIPHIER |
Marek Vasut | 7dfddc0 | 2017-09-23 13:30:30 +0200 | [diff] [blame] | 395 | bool "UniPhier SD/MMC Host Controller support" |
| 396 | depends on ARCH_UNIPHIER |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 397 | depends on BLK && DM_MMC |
Masahiro Yamada | 9c720c8 | 2016-12-30 23:20:14 +0900 | [diff] [blame] | 398 | depends on OF_CONTROL |
Masahiro Yamada | a111bfb | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 399 | help |
Marek Vasut | b24633d | 2017-07-21 23:24:36 +0200 | [diff] [blame] | 400 | This selects support for the Matsushita SD/MMC Host Controller on |
Marek Vasut | 7dfddc0 | 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 | d2661d8 | 2020-04-04 12:45:04 +0200 | [diff] [blame] | 408 | select BOUNCE_BUFFER |
Marek Vasut | 7dfddc0 | 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 | a111bfb | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 412 | |
Alexander Graf | c8a73a2 | 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 | d772713 | 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 | a5995a5 | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 433 | config MMC_SANDBOX |
Simon Glass | f376a3c | 2016-05-01 13:52:42 -0600 | [diff] [blame] | 434 | bool "Sandbox MMC support" |
Masahiro Yamada | a5995a5 | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 435 | depends on SANDBOX |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 436 | depends on BLK && DM_MMC && OF_CONTROL |
Simon Glass | f376a3c | 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 | e1ce61f | 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 | 3d3a74c | 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 | 45a68fe | 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 | 37cb626 | 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 | 4d6a773 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 471 | select MMC_SDHCI_ADMA_HELPERS |
Faiz Abbas | 37cb626 | 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 | b340199 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 478 | depends on SPL_MMC && MMC_SDHCI |
Michael Walle | 4d6a773 | 2020-09-23 12:42:51 +0200 | [diff] [blame] | 479 | select MMC_SDHCI_ADMA_HELPERS |
Faiz Abbas | 37cb626 | 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 | b19512f | 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 | 7764ee2 | 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 | 66900bc | 2022-06-23 18:35:34 +0930 | [diff] [blame] | 502 | select MISC |
Eddie James | 7764ee2 | 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 | dd3b64e | 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 | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 512 | depends on DM_MMC && BLK && ARCH_AT91 |
Masahiro Yamada | dd3b64e | 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 | 45a68fe | 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 | 3d3a74c | 2016-12-07 22:10:30 +0900 | [diff] [blame] | 525 | select MMC_SDHCI_IO_ACCESSORS |
Masahiro Yamada | 45a68fe | 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 | 894c3ad | 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 | e5e7a7c | 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 | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 547 | depends on BLK && DM_MMC |
Masahiro Yamada | e5e7a7c | 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 | 3a1a0df | 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 | aaa449f | 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 | ce142ff | 2019-06-11 00:43:38 +0530 | [diff] [blame] | 562 | depends on REGMAP |
Faiz Abbas | 27a87c8 | 2021-02-04 15:10:54 +0530 | [diff] [blame] | 563 | select MMC_SDHCI_IO_ACCESSORS |
Lokesh Vutla | aaa449f | 2018-08-27 15:57:54 +0530 | [diff] [blame] | 564 | help |
Faiz Abbas | 3a1a0df | 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 | aaa449f | 2018-08-27 15:57:54 +0530 | [diff] [blame] | 567 | |
Arun Parameswaran | 36645f4 | 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 | dadd43c | 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 | 45a68fe | 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 | 360c67d | 2017-01-30 19:46:53 +0900 | [diff] [blame] | 599 | config MMC_SDHCI_MSM |
| 600 | bool "Qualcomm SDHCI controller" |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 601 | depends on BLK && DM_MMC |
Masahiro Yamada | 360c67d | 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 | 45a68fe | 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 | |
Masahiro Yamada | 1b85877 | 2017-01-30 19:46:54 +0900 | [diff] [blame] | 621 | config MMC_SDHCI_PIC32 |
| 622 | bool "Microchip PIC32 on-chip SDHCI support" |
| 623 | depends on DM_MMC && MACH_PIC32 |
| 624 | depends on MMC_SDHCI |
| 625 | help |
| 626 | Support for Microchip PIC32 SDHCI controller. |
| 627 | |
Masahiro Yamada | facc805 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 628 | config MMC_SDHCI_ROCKCHIP |
| 629 | bool "Arasan SDHCI controller for Rockchip support" |
| 630 | depends on ARCH_ROCKCHIP |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 631 | depends on DM_MMC && BLK |
Masahiro Yamada | facc805 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 632 | depends on MMC_SDHCI |
| 633 | help |
| 634 | Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform |
| 635 | |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 636 | config MMC_SDHCI_S5P |
| 637 | bool "SDHCI support on Samsung S5P SoC" |
| 638 | depends on MMC_SDHCI |
| 639 | help |
| 640 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 641 | on Samsung S5P SoCs. |
| 642 | |
| 643 | If you have a controller with this interface, say Y here. |
| 644 | |
| 645 | If unsure, say N. |
| 646 | |
| 647 | config MMC_SDHCI_SPEAR |
| 648 | bool "SDHCI support on ST SPEAr platform" |
| 649 | depends on MMC_SDHCI |
| 650 | help |
| 651 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 652 | often referrered to as the HSMMC block in some of the ST SPEAR range |
| 653 | of SoC |
| 654 | |
| 655 | If you have a controller with this interface, say Y here. |
| 656 | |
| 657 | If unsure, say N. |
| 658 | |
Patrice Chotard | eee20f8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 659 | config MMC_SDHCI_STI |
| 660 | bool "SDHCI support for STMicroelectronics SoC" |
Patrice Chotard | 51cb23d | 2017-02-21 13:37:11 +0100 | [diff] [blame] | 661 | depends on MMC_SDHCI && OF_CONTROL |
Patrice Chotard | eee20f8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 662 | help |
| 663 | This selects the Secure Digital Host Controller Interface (SDHCI) |
| 664 | on STMicroelectronics STiH410 SoC. |
| 665 | |
Stefan Roese | b6acb5f | 2016-12-09 15:03:28 +0100 | [diff] [blame] | 666 | config MMC_SDHCI_XENON |
| 667 | bool "SDHCI support for the Xenon SDHCI controller" |
| 668 | depends on MMC_SDHCI && DM_MMC && OF_CONTROL |
| 669 | help |
| 670 | Support for Xenon SDHCI host controller on Marvell Armada 3700 |
| 671 | 7k/8k ARM SoCs platforms |
| 672 | |
| 673 | If you have a controller with this interface, say Y here. |
| 674 | |
| 675 | If unsure, say N. |
| 676 | |
Felipe Balbi | 83b3248 | 2017-02-20 14:24:14 +0300 | [diff] [blame] | 677 | config MMC_SDHCI_TANGIER |
| 678 | bool "Tangier SDHCI controller support" |
| 679 | depends on DM_MMC && BLK |
| 680 | depends on MMC_SDHCI |
| 681 | help |
| 682 | This selects support for SDHCI controller on Tanginer |
| 683 | SoC. Note that this controller does not sit on PCI bus and, |
| 684 | hence, cannot be enumerated by standard PCI means. |
| 685 | |
| 686 | If you're using an Intel Tangier SoC (available on Intel |
| 687 | Edison board), say Y here. |
| 688 | |
| 689 | If unsure, say N. |
| 690 | |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 691 | config MMC_SDHCI_TEGRA |
| 692 | bool "SDHCI platform support for the Tegra SD/MMC Controller" |
Trevor Woerner | 18138ab | 2020-05-06 08:02:41 -0400 | [diff] [blame] | 693 | depends on ARCH_TEGRA |
Philipp Tomsich | 2acc24f | 2018-11-30 22:13:25 +0100 | [diff] [blame] | 694 | select BOUNCE_BUFFER |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 695 | default y |
| 696 | help |
| 697 | This selects the Tegra SD/MMC controller. If you have a Tegra |
| 698 | platform with SD or MMC devices, say Y here. |
| 699 | |
| 700 | If unsure, say N. |
| 701 | |
Trent Piepho | b78d97e | 2019-04-01 23:05:49 +0000 | [diff] [blame] | 702 | config TEGRA124_MMC_DISABLE_EXT_LOOPBACK |
| 703 | bool "Disable external clock loopback" |
| 704 | depends on MMC_SDHCI_TEGRA && TEGRA124 |
| 705 | help |
| 706 | Disable the external clock loopback and use the internal one on SDMMC3 |
| 707 | as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits |
| 708 | being set to 0xfffd according to the TRM. |
| 709 | |
| 710 | TODO(marcel.ziswiler@toradex.com): Move to device tree controlled |
| 711 | approach once proper kernel integration made it mainline. |
| 712 | |
Masahiro Yamada | 08aa033 | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 713 | config MMC_SDHCI_ZYNQ |
| 714 | bool "Arasan SDHCI controller support" |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 715 | depends on DM_MMC && OF_CONTROL && BLK |
Masahiro Yamada | 08aa033 | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 716 | depends on MMC_SDHCI |
| 717 | help |
| 718 | Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform |
| 719 | |
Vipul Kumar | 5dc5a53 | 2018-02-28 15:53:28 +0530 | [diff] [blame] | 720 | config ZYNQ_SDHCI_MAX_FREQ |
| 721 | int "Set the maximum frequency of the controller" |
| 722 | depends on MMC_SDHCI_ZYNQ |
| 723 | help |
| 724 | Set the maximum frequency of the controller. |
| 725 | |
Vipul Kumar | 3ccc207 | 2018-02-28 15:53:29 +0530 | [diff] [blame] | 726 | config ZYNQ_SDHCI_MIN_FREQ |
| 727 | int "Set the minimum frequency of the controller" |
| 728 | depends on MMC_SDHCI_ZYNQ |
| 729 | default 0 |
| 730 | help |
| 731 | Set the minimum frequency of the controller. |
| 732 | |
Siva Durga Prasad Paladugu | d882f08 | 2019-05-27 14:33:14 +0530 | [diff] [blame] | 733 | config ZYNQ_HISPD_BROKEN |
| 734 | bool "High speed broken for Zynq SDHCI controller" |
| 735 | depends on MMC_SDHCI_ZYNQ |
| 736 | help |
| 737 | Set if high speed mode is broken. |
| 738 | |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 739 | config MMC_SUNXI |
| 740 | bool "Allwinner sunxi SD/MMC Host Controller support" |
Samuel Holland | 818e163 | 2022-04-10 00:13:34 -0500 | [diff] [blame] | 741 | depends on ARCH_SUNXI |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 742 | default y |
| 743 | help |
| 744 | This selects support for the SD/MMC Host Controller on |
| 745 | Allwinner sunxi SoCs. |
| 746 | |
Maxime Ripard | de9b177 | 2017-08-23 12:03:41 +0200 | [diff] [blame] | 747 | config MMC_SUNXI_HAS_NEW_MODE |
| 748 | bool |
| 749 | depends on MMC_SUNXI |
| 750 | |
Vasily Khoruzhick | 2a8882e | 2018-11-09 20:41:44 -0800 | [diff] [blame] | 751 | config MMC_SUNXI_HAS_MODE_SWITCH |
| 752 | bool |
| 753 | depends on MMC_SUNXI |
| 754 | |
Tianrui Wei | d6b156e | 2021-07-01 12:54:20 +0800 | [diff] [blame] | 755 | config MMC_PITON |
| 756 | bool "MMC support for OpenPiton SoC" |
| 757 | depends on DM_MMC && BLK |
| 758 | help |
| 759 | This selects support for the SD host controller on OpenPiton SoC. |
| 760 | Note that this SD controller directly exposes the contents of the |
| 761 | SD card as memory mapped, so there is no manual configuration |
| 762 | required |
| 763 | |
Wenyou Yang | c86c015 | 2017-04-13 10:29:22 +0800 | [diff] [blame] | 764 | config GENERIC_ATMEL_MCI |
| 765 | bool "Atmel Multimedia Card Interface support" |
Simon Glass | e7881d8 | 2017-07-29 11:35:31 -0600 | [diff] [blame] | 766 | depends on DM_MMC && BLK && ARCH_AT91 |
Wenyou Yang | c86c015 | 2017-04-13 10:29:22 +0800 | [diff] [blame] | 767 | help |
| 768 | This enables support for Atmel High Speed Multimedia Card Interface |
| 769 | (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3, |
| 770 | the SD Memory Card Specification V2.0, the SDIO V2.0 specification |
| 771 | and CE-ATA V1.1. |
| 772 | |
Patrice Chotard | b312c59 | 2017-09-04 17:56:22 +0200 | [diff] [blame] | 773 | config STM32_SDMMC2 |
| 774 | bool "STMicroelectronics STM32H7 SD/MMC Host Controller support" |
Patrice Chotard | 53c656a | 2017-10-03 15:54:58 +0200 | [diff] [blame] | 775 | depends on DM_MMC && BLK && OF_CONTROL |
Patrice Chotard | b312c59 | 2017-09-04 17:56:22 +0200 | [diff] [blame] | 776 | help |
| 777 | This selects support for the SD/MMC controller on STM32H7 SoCs. |
| 778 | If you have a board based on such a SoC and with a SD/MMC slot, |
| 779 | say Y or M here. |
| 780 | |
Rick Chen | 9f678ab | 2017-11-14 14:47:09 +0800 | [diff] [blame] | 781 | config FTSDC010 |
| 782 | bool "Ftsdc010 SD/MMC controller Support" |
| 783 | help |
| 784 | This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP. |
| 785 | |
Rick Chen | 095c9f3 | 2018-03-20 15:10:49 +0800 | [diff] [blame] | 786 | config FTSDC010_SDIO |
| 787 | bool "Support ftsdc010 sdio" |
Rick Chen | 095c9f3 | 2018-03-20 15:10:49 +0800 | [diff] [blame] | 788 | depends on FTSDC010 |
| 789 | help |
| 790 | This can enable ftsdc010 sdio function. |
| 791 | |
Weijie Gao | d24b693 | 2018-11-15 10:08:04 +0800 | [diff] [blame] | 792 | config MMC_MTK |
| 793 | bool "MediaTek SD/MMC Card Interface support" |
Weijie Gao | 3c92a95 | 2019-09-25 17:45:37 +0800 | [diff] [blame] | 794 | depends on ARCH_MEDIATEK || ARCH_MTMIPS |
Weijie Gao | d24b693 | 2018-11-15 10:08:04 +0800 | [diff] [blame] | 795 | depends on BLK && DM_MMC |
| 796 | depends on OF_CONTROL |
| 797 | help |
| 798 | This selects the MediaTek(R) Secure digital and Multimedia card Interface. |
| 799 | If you have a machine with a integrated SD/MMC card reader, say Y or M here. |
| 800 | This is needed if support for any SD/SDIO/MMC devices is required. |
| 801 | If unsure, say N. |
| 802 | |
Masahiro Yamada | e298c46 | 2016-12-07 22:10:27 +0900 | [diff] [blame] | 803 | endif |
| 804 | |
Mario Six | 07dea2e | 2018-03-28 14:38:19 +0200 | [diff] [blame] | 805 | config FSL_ESDHC |
| 806 | bool "Freescale/NXP eSDHC controller support" |
| 807 | help |
Yangbo Lu | fa33d20 | 2019-06-21 11:42:27 +0800 | [diff] [blame] | 808 | This selects support for the eSDHC (Enhanced Secure Digital Host |
| 809 | Controller) found on numerous Freescale/NXP SoCs. |
| 810 | |
Michael Walle | 361a422 | 2020-10-12 10:07:14 +0200 | [diff] [blame] | 811 | config FSL_ESDHC_SUPPORT_ADMA2 |
| 812 | bool "enable ADMA2 support" |
| 813 | depends on FSL_ESDHC |
| 814 | select MMC_SDHCI_ADMA_HELPERS |
| 815 | help |
| 816 | This enables support for the ADMA2 transfer mode. If supported by the |
| 817 | eSDHC it will allow 64bit DMA addresses. |
| 818 | |
Yangbo Lu | c927d65 | 2020-05-19 11:06:44 +0800 | [diff] [blame] | 819 | config FSL_ESDHC_33V_IO_RELIABILITY_WORKAROUND |
| 820 | bool "enable eSDHC workaround for 3.3v IO reliability issue" |
| 821 | depends on FSL_ESDHC && DM_MMC |
Yangbo Lu | c927d65 | 2020-05-19 11:06:44 +0800 | [diff] [blame] | 822 | help |
| 823 | When eSDHC operates at 3.3v, damage can accumulate in an internal |
| 824 | level shifter at a higher than expected rate. The faster the interface |
| 825 | runs, the more damage accumulates. This issue now is found on LX2160A |
| 826 | eSDHC1 for only SD card. The hardware workaround is recommended to use |
| 827 | an on-board level shifter that is 1.8v on SoC side and 3.3v on SD card |
| 828 | side. For boards without hardware workaround, this option could be |
| 829 | enabled, ensuring 1.8v IO voltage and disabling eSDHC if no card. |
| 830 | This option assumes no hotplug, and u-boot has to make all the way to |
| 831 | to linux to use 1.8v UHS-I speed mode if has card. |
| 832 | |
Yangbo Lu | ae7020b | 2021-06-03 10:51:17 +0800 | [diff] [blame] | 833 | config FSL_ESDHC_VS33_NOT_SUPPORT |
| 834 | bool "3.3V power supply not supported" |
| 835 | depends on FSL_ESDHC |
| 836 | help |
| 837 | For eSDHC, power supply is through peripheral circuit. 3.3V support is |
| 838 | common. Select this if 3.3V power supply not supported. |
| 839 | |
Pali Rohár | 8f3f8ba | 2022-05-11 20:27:13 +0200 | [diff] [blame] | 840 | config SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH |
| 841 | int |
| 842 | depends on FSL_ESDHC |
| 843 | default 1 |
| 844 | |
Tom Rini | 7e7d04a | 2022-06-16 14:04:38 -0400 | [diff] [blame] | 845 | config ESDHC_DETECT_QUIRK |
| 846 | bool "QIXIS-based eSDHC quirk detection" |
| 847 | depends on FSL_ESDHC && FSL_QIXIS |
| 848 | |
Yangbo Lu | fa33d20 | 2019-06-21 11:42:27 +0800 | [diff] [blame] | 849 | config FSL_ESDHC_IMX |
| 850 | bool "Freescale/NXP i.MX eSDHC controller support" |
| 851 | help |
| 852 | This selects support for the i.MX eSDHC (Enhanced Secure Digital Host |
| 853 | Controller) found on numerous Freescale/NXP SoCs. |
Mario Six | 07dea2e | 2018-03-28 14:38:19 +0200 | [diff] [blame] | 854 | |
Adam Ford | 3f70bef | 2019-08-14 07:23:43 -0500 | [diff] [blame] | 855 | config FSL_USDHC |
| 856 | bool "Freescale/NXP i.MX uSDHC controller support" |
Peng Fan | 744c5fd | 2021-08-07 16:00:46 +0800 | [diff] [blame] | 857 | depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMXRT |
Adam Ford | 3f70bef | 2019-08-14 07:23:43 -0500 | [diff] [blame] | 858 | select FSL_ESDHC_IMX |
| 859 | help |
| 860 | This enables the Ultra Secured Digital Host Controller enhancements |
| 861 | |
Nobuhiro Iwamatsu | 72d42ba | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 862 | endmenu |
York Sun | c01e4a1 | 2016-12-28 08:43:42 -0800 | [diff] [blame] | 863 | |
| 864 | config SYS_FSL_ERRATUM_ESDHC111 |
| 865 | bool |
| 866 | |
| 867 | config SYS_FSL_ERRATUM_ESDHC13 |
| 868 | bool |
| 869 | |
| 870 | config SYS_FSL_ERRATUM_ESDHC135 |
| 871 | bool |
| 872 | |
| 873 | config SYS_FSL_ERRATUM_ESDHC_A001 |
| 874 | bool |
Michael Walle | bd7b850 | 2021-03-17 15:01:36 +0100 | [diff] [blame] | 875 | |
| 876 | config SYS_FSL_ERRATUM_A011334 |
| 877 | bool |
Michael Walle | d3b745f | 2021-03-17 15:01:37 +0100 | [diff] [blame] | 878 | |
| 879 | config SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND |
| 880 | bool |