xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision c4d660d4)
172d42badSNobuhiro Iwamatsumenu "MMC Host controller Support"
272d42badSNobuhiro Iwamatsu
37a777f6dSMaxime Ripardconfig MMC
4c2726995SMasahiro Yamada	bool "MMC/SD/SDIO card support"
5c2726995SMasahiro Yamada	default ARM || PPC || SANDBOX
67a777f6dSMaxime Ripard	help
7c2726995SMasahiro Yamada	  This selects MultiMediaCard, Secure Digital and Secure
8c2726995SMasahiro Yamada	  Digital I/O support.
9c2726995SMasahiro Yamada
10c2726995SMasahiro Yamada	  If you want MMC/SD/SDIO support, you should say Y here and
11c2726995SMasahiro Yamada	  also to your specific host controller driver.
127a777f6dSMaxime Ripard
13e7ecf7cbSSimon Glassconfig DM_MMC
14e7ecf7cbSSimon Glass	bool "Enable MMC controllers using Driver Model"
15e7ecf7cbSSimon Glass	depends on DM
16e7ecf7cbSSimon Glass	help
1762a3b7ddSRobert P. J. Day	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
18e7ecf7cbSSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
19e7ecf7cbSSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
20e7ecf7cbSSimon Glass	  appear as block devices in U-Boot and can support filesystems such
21e7ecf7cbSSimon Glass	  as EXT4 and FAT.
22e7ecf7cbSSimon Glass
238ca51e51SSimon Glassconfig DM_MMC_OPS
248ca51e51SSimon Glass	bool "Support MMC controller operations using Driver Model"
258ca51e51SSimon Glass	depends on DM_MMC
26252788b4SSimon Glass	default y if DM_MMC
278ca51e51SSimon Glass	help
288ca51e51SSimon Glass	  Driver model provides a means of supporting device operations. This
298ca51e51SSimon Glass	  option moves MMC operations under the control of driver model. The
308ca51e51SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
318ca51e51SSimon Glass	  will the only supported behaviour.
328ca51e51SSimon Glass
33*c4d660d4SSimon Glassconfig SPL_DM_MMC
34*c4d660d4SSimon Glass	bool "Enable MMC controllers using Driver Model in SPL"
35*c4d660d4SSimon Glass	depends on SPL_DM && DM_MMC
36*c4d660d4SSimon Glass	default y
37*c4d660d4SSimon Glass	help
38*c4d660d4SSimon Glass	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
39*c4d660d4SSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
40*c4d660d4SSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
41*c4d660d4SSimon Glass	  appear as block devices in U-Boot and can support filesystems such
42*c4d660d4SSimon Glass	  as EXT4 and FAT.
43*c4d660d4SSimon Glass
44*c4d660d4SSimon Glassconfig SPL_DM_MMC_OPS
45*c4d660d4SSimon Glass	bool "Support MMC controller operations using Driver Model in SPL"
46*c4d660d4SSimon Glass	depends on SPL_DM && DM_MMC_OPS
47*c4d660d4SSimon Glass	default y
48*c4d660d4SSimon Glass	help
49*c4d660d4SSimon Glass	  Driver model provides a means of supporting device operations. This
50*c4d660d4SSimon Glass	  option moves MMC operations under the control of driver model. The
51*c4d660d4SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
52*c4d660d4SSimon Glass	  will the only supported behaviour.
53*c4d660d4SSimon Glass
54e298c46aSMasahiro Yamadaif MMC
55e298c46aSMasahiro Yamada
56b5b838f1SMarek Vasutconfig SPL_MMC_TINY
57b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
58b5b838f1SMarek Vasut	help
59b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
60b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
61b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
62b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
63b5b838f1SMarek Vasut
64b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
65b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
66b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
67b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
68b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
69b5b838f1SMarek Vasut	  and thus further reduce footprint.
70b5b838f1SMarek Vasut
711d2c0506SMasahiro Yamadaconfig MMC_DAVINCI
721d2c0506SMasahiro Yamada	bool "TI DAVINCI Multimedia Card Interface support"
731d2c0506SMasahiro Yamada	depends on ARCH_DAVINCI
741d2c0506SMasahiro Yamada	default y
751d2c0506SMasahiro Yamada	help
761d2c0506SMasahiro Yamada	  This selects the TI DAVINCI Multimedia card Interface.
771d2c0506SMasahiro Yamada	  If you have an DAVINCI board with a Multimedia Card slot,
781d2c0506SMasahiro Yamada	  say Y here.  If unsure, say N.
791d2c0506SMasahiro Yamada
8055ed3b46SMasahiro Yamadaconfig MMC_DW
8155ed3b46SMasahiro Yamada	bool "Synopsys DesignWare Memory Card Interface"
8255ed3b46SMasahiro Yamada	help
8355ed3b46SMasahiro Yamada	  This selects support for the Synopsys DesignWare Mobile Storage IP
8455ed3b46SMasahiro Yamada	  block, this provides host support for SD and MMC interfaces, in both
8555ed3b46SMasahiro Yamada	  PIO, internal DMA mode and external DMA mode.
8655ed3b46SMasahiro Yamada
87ae4c81e9SMasahiro Yamadaconfig MMC_DW_EXYNOS
88ae4c81e9SMasahiro Yamada	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
89ae4c81e9SMasahiro Yamada	depends on ARCH_EXYNOS
90ae4c81e9SMasahiro Yamada	depends on MMC_DW
91ae4c81e9SMasahiro Yamada	default y
92ae4c81e9SMasahiro Yamada	help
93ae4c81e9SMasahiro Yamada	  This selects support for Samsung Exynos SoC specific extensions to the
94ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
95ae4c81e9SMasahiro Yamada	  for platforms based on Exynos4 and Exynos5 SoC's.
96ae4c81e9SMasahiro Yamada
97ae4c81e9SMasahiro Yamadaconfig MMC_DW_K3
98ae4c81e9SMasahiro Yamada	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
99ae4c81e9SMasahiro Yamada	depends on MMC_DW
100ae4c81e9SMasahiro Yamada	help
101ae4c81e9SMasahiro Yamada	  This selects support for Hisilicon K3 SoC specific extensions to the
102ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
103ae4c81e9SMasahiro Yamada	  for platforms based on Hisilicon K3 SoC's.
104ae4c81e9SMasahiro Yamada
105fed44087SMasahiro Yamadaconfig MMC_DW_ROCKCHIP
106a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
107a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
10855ed3b46SMasahiro Yamada	depends on MMC_DW
109a8cb4fb5SSimon Glass	help
110a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
111a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
112a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
113a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
114a8cb4fb5SSimon Glass
115ae4c81e9SMasahiro Yamadaconfig MMC_DW_SOCFPGA
116ae4c81e9SMasahiro Yamada	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
117ae4c81e9SMasahiro Yamada	depends on ARCH_SOCFPGA
118ae4c81e9SMasahiro Yamada	depends on MMC_DW
119ae4c81e9SMasahiro Yamada	default y
120ae4c81e9SMasahiro Yamada	help
121ae4c81e9SMasahiro Yamada	  This selects support for Altera SOCFPGA specific extensions to the
122ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
123ae4c81e9SMasahiro Yamada	  for platforms based on Altera SOCFPGA.
124ae4c81e9SMasahiro Yamada
12593738620SCarlo Caioneconfig MMC_MESON_GX
12693738620SCarlo Caione	bool "Meson GX EMMC controller support"
12793738620SCarlo Caione	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_MESON
12893738620SCarlo Caione	help
12993738620SCarlo Caione	 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
13093738620SCarlo Caione
1311d2c0506SMasahiro Yamadaconfig MMC_MXC
1321d2c0506SMasahiro Yamada	bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
1331d2c0506SMasahiro Yamada	help
1341d2c0506SMasahiro Yamada	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
1351d2c0506SMasahiro Yamada	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
1361d2c0506SMasahiro Yamada	  with a Multimedia Card slot, say Y here.
1371d2c0506SMasahiro Yamada
1381d2c0506SMasahiro Yamada	  If unsure, say N.
1391d2c0506SMasahiro Yamada
1401d2c0506SMasahiro Yamadaconfig MMC_MXS
1411d2c0506SMasahiro Yamada	bool "Freescale MXS Multimedia Card Interface support"
1421d2c0506SMasahiro Yamada	help
1431d2c0506SMasahiro Yamada	  This selects the Freescale SSP MMC controller found on MXS based
1441d2c0506SMasahiro Yamada	  platforms like mx23/28.
1451d2c0506SMasahiro Yamada
1461d2c0506SMasahiro Yamada	  If unsure, say N.
1471d2c0506SMasahiro Yamada
148b706b1c2SFelipe Balbiconfig MMC_PCI
149b706b1c2SFelipe Balbi	bool "Support for MMC controllers on PCI"
150b706b1c2SFelipe Balbi	help
151b706b1c2SFelipe Balbi	  This selects PCI-based MMC controllers.
152b706b1c2SFelipe Balbi	  If you have an MMC controller on a PCI bus, say Y here.
153b706b1c2SFelipe Balbi
154b706b1c2SFelipe Balbi	  If unsure, say N.
155b706b1c2SFelipe Balbi
1561d2c0506SMasahiro Yamadaconfig MMC_OMAP_HS
1571d2c0506SMasahiro Yamada	bool "TI OMAP High Speed Multimedia Card Interface support"
158b5511d6cSJean-Jacques Hiblot	select DM_MMC_OPS if DM_MMC
1591d2c0506SMasahiro Yamada	help
1601d2c0506SMasahiro Yamada	  This selects the TI OMAP High Speed Multimedia card Interface.
1611d2c0506SMasahiro Yamada	  If you have an omap2plus board with a Multimedia Card slot,
1621d2c0506SMasahiro Yamada	  say Y here.
1631d2c0506SMasahiro Yamada
1641d2c0506SMasahiro Yamada	  If unsure, say N.
1651d2c0506SMasahiro Yamada
1666aca17c9SAdam Fordconfig MMC_OMAP36XX_PINS
1676aca17c9SAdam Ford	bool "Enable MMC1 on OMAP36xx/37xx"
1686aca17c9SAdam Ford	depends on OMAP34XX && MMC_OMAP_HS
1696aca17c9SAdam Ford	help
1706aca17c9SAdam Ford	  This enables extended-drain in the MMC/SD/SDIO1I/O and
1716aca17c9SAdam Ford	  GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
1726aca17c9SAdam Ford	  specific to the OMAP36xx/37xx using MMC1
1736aca17c9SAdam Ford
1746aca17c9SAdam Ford	  If you have a controller with this interface, say Y here.
1756aca17c9SAdam Ford
1766aca17c9SAdam Ford	  If unsure, say N.
1776aca17c9SAdam Ford
17872d42badSNobuhiro Iwamatsuconfig SH_SDHI
17972d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
1800f531185SMarek Vasut	depends on ARCH_RMOBILE
18172d42badSNobuhiro Iwamatsu	help
18272d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
18372d42badSNobuhiro Iwamatsu
184a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
185a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
186a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
1879c720c81SMasahiro Yamada	depends on BLK && DM_MMC_OPS
1889c720c81SMasahiro Yamada	depends on OF_CONTROL
189a111bfbfSMasahiro Yamada	help
190a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
191a111bfbfSMasahiro Yamada
192a5995a5dSMasahiro Yamadaconfig MMC_SANDBOX
193f376a3cbSSimon Glass	bool "Sandbox MMC support"
194a5995a5dSMasahiro Yamada	depends on SANDBOX
195a5995a5dSMasahiro Yamada	depends on BLK && DM_MMC_OPS && OF_CONTROL
196f376a3cbSSimon Glass	help
197f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
198f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
199f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
200f376a3cbSSimon Glass	  MMC build errors with sandbox.
201f376a3cbSSimon Glass
202e1ce61fbSMasahiro Yamadaconfig MMC_SDHCI
203e1ce61fbSMasahiro Yamada	bool "Secure Digital Host Controller Interface support"
204e1ce61fbSMasahiro Yamada	help
205e1ce61fbSMasahiro Yamada	  This selects the generic Secure Digital Host Controller Interface.
206e1ce61fbSMasahiro Yamada	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
207e1ce61fbSMasahiro Yamada	  and Toshiba(R). Most controllers found in laptops are of this type.
208e1ce61fbSMasahiro Yamada
209e1ce61fbSMasahiro Yamada	  If you have a controller with this interface, say Y here.
210e1ce61fbSMasahiro Yamada
211e1ce61fbSMasahiro Yamada	  If unsure, say N.
212e1ce61fbSMasahiro Yamada
2133d3a74ccSMasahiro Yamadaconfig MMC_SDHCI_IO_ACCESSORS
2143d3a74ccSMasahiro Yamada	bool
2153d3a74ccSMasahiro Yamada	depends on MMC_SDHCI
2163d3a74ccSMasahiro Yamada	help
2173d3a74ccSMasahiro Yamada	  This is silent Kconfig symbol that is selected by the drivers that
2183d3a74ccSMasahiro Yamada	  need to overwrite SDHCI IO memory accessors.
2193d3a74ccSMasahiro Yamada
22045a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SDMA
22145a68fe2SMasahiro Yamada	bool "Support SDHCI SDMA"
22245a68fe2SMasahiro Yamada	depends on MMC_SDHCI
22345a68fe2SMasahiro Yamada	help
22445a68fe2SMasahiro Yamada	  This enables support for the SDMA (Single Operation DMA) defined
22545a68fe2SMasahiro Yamada	  in the SD Host Controller Standard Specification Version 1.00 .
22645a68fe2SMasahiro Yamada
227dd3b64ebSMasahiro Yamadaconfig MMC_SDHCI_ATMEL
228dd3b64ebSMasahiro Yamada	bool "Atmel SDHCI controller support"
229dd3b64ebSMasahiro Yamada	depends on ARCH_AT91
230dd3b64ebSMasahiro Yamada	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
231dd3b64ebSMasahiro Yamada	depends on MMC_SDHCI
232dd3b64ebSMasahiro Yamada	help
233dd3b64ebSMasahiro Yamada	  This enables support for the Atmel SDHCI controller, which supports
234dd3b64ebSMasahiro Yamada	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
235dd3b64ebSMasahiro Yamada	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
236dd3b64ebSMasahiro Yamada	  It is compliant with the SD Host Controller Standard V3.0
237dd3b64ebSMasahiro Yamada	  specification.
238dd3b64ebSMasahiro Yamada
23945a68fe2SMasahiro Yamadaconfig MMC_SDHCI_BCM2835
24045a68fe2SMasahiro Yamada	tristate "SDHCI support for the BCM2835 SD/MMC Controller"
24145a68fe2SMasahiro Yamada	depends on ARCH_BCM283X
24245a68fe2SMasahiro Yamada	depends on MMC_SDHCI
2433d3a74ccSMasahiro Yamada	select MMC_SDHCI_IO_ACCESSORS
24445a68fe2SMasahiro Yamada	help
24545a68fe2SMasahiro Yamada	  This selects the BCM2835 SD/MMC controller.
24645a68fe2SMasahiro Yamada
24745a68fe2SMasahiro Yamada	  If you have a BCM2835 platform with SD or MMC devices,
24845a68fe2SMasahiro Yamada	  say Y here.
24945a68fe2SMasahiro Yamada
25045a68fe2SMasahiro Yamada	  If unsure, say N.
25145a68fe2SMasahiro Yamada
252e5e7a7c2SMasahiro Yamadaconfig MMC_SDHCI_CADENCE
253e5e7a7c2SMasahiro Yamada	bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
254e5e7a7c2SMasahiro Yamada	depends on BLK && DM_MMC_OPS
255e5e7a7c2SMasahiro Yamada	depends on MMC_SDHCI
256e5e7a7c2SMasahiro Yamada	depends on OF_CONTROL
257e5e7a7c2SMasahiro Yamada	help
258e5e7a7c2SMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
259e5e7a7c2SMasahiro Yamada
260e5e7a7c2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
261e5e7a7c2SMasahiro Yamada
262e5e7a7c2SMasahiro Yamada	  If unsure, say N.
263e5e7a7c2SMasahiro Yamada
26445a68fe2SMasahiro Yamadaconfig MMC_SDHCI_KONA
26545a68fe2SMasahiro Yamada	bool "SDHCI support on Broadcom KONA platform"
26645a68fe2SMasahiro Yamada	depends on MMC_SDHCI
26745a68fe2SMasahiro Yamada	help
26845a68fe2SMasahiro Yamada	  This selects the Broadcom Kona Secure Digital Host Controller
26945a68fe2SMasahiro Yamada	  Interface(SDHCI) support.
27045a68fe2SMasahiro Yamada	  This is used in Broadcom mobile SoCs.
27145a68fe2SMasahiro Yamada
27245a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
27345a68fe2SMasahiro Yamada
274360c67d5SMasahiro Yamadaconfig MMC_SDHCI_MSM
275360c67d5SMasahiro Yamada	bool "Qualcomm SDHCI controller"
276360c67d5SMasahiro Yamada	depends on BLK && DM_MMC_OPS
277360c67d5SMasahiro Yamada	depends on MMC_SDHCI
278360c67d5SMasahiro Yamada	help
279360c67d5SMasahiro Yamada	  Enables support for SDHCI 2.0 controller present on some Qualcomm
280360c67d5SMasahiro Yamada          Snapdragon devices. This device is compatible with eMMC v4.5 and
281360c67d5SMasahiro Yamada          SD 3.0 specifications. Both SD and eMMC devices are supported.
282360c67d5SMasahiro Yamada	  Card-detect gpios are not supported.
283360c67d5SMasahiro Yamada
28445a68fe2SMasahiro Yamadaconfig MMC_SDHCI_MV
28545a68fe2SMasahiro Yamada	bool "SDHCI support on Marvell platform"
28645a68fe2SMasahiro Yamada	depends on ARCH_MVEBU
28745a68fe2SMasahiro Yamada	depends on MMC_SDHCI
28845a68fe2SMasahiro Yamada	help
28945a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface on
29045a68fe2SMasahiro Yamada	  Marvell platform.
29145a68fe2SMasahiro Yamada
29245a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
29345a68fe2SMasahiro Yamada
29445a68fe2SMasahiro Yamada	  If unsure, say N.
29545a68fe2SMasahiro Yamada
2961b858770SMasahiro Yamadaconfig MMC_SDHCI_PIC32
2971b858770SMasahiro Yamada	bool "Microchip PIC32 on-chip SDHCI support"
2981b858770SMasahiro Yamada	depends on DM_MMC && MACH_PIC32
2991b858770SMasahiro Yamada	depends on MMC_SDHCI
3001b858770SMasahiro Yamada	help
3011b858770SMasahiro Yamada	  Support for Microchip PIC32 SDHCI controller.
3021b858770SMasahiro Yamada
303facc8058SMasahiro Yamadaconfig MMC_SDHCI_ROCKCHIP
304facc8058SMasahiro Yamada	bool "Arasan SDHCI controller for Rockchip support"
305facc8058SMasahiro Yamada	depends on ARCH_ROCKCHIP
306facc8058SMasahiro Yamada	depends on DM_MMC && BLK && DM_MMC_OPS
307facc8058SMasahiro Yamada	depends on MMC_SDHCI
308facc8058SMasahiro Yamada	help
309facc8058SMasahiro Yamada	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
310facc8058SMasahiro Yamada
31145a68fe2SMasahiro Yamadaconfig MMC_SDHCI_S5P
31245a68fe2SMasahiro Yamada	bool "SDHCI support on Samsung S5P SoC"
31345a68fe2SMasahiro Yamada	depends on MMC_SDHCI
31445a68fe2SMasahiro Yamada	help
31545a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
31645a68fe2SMasahiro Yamada	  on Samsung S5P SoCs.
31745a68fe2SMasahiro Yamada
31845a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
31945a68fe2SMasahiro Yamada
32045a68fe2SMasahiro Yamada	  If unsure, say N.
32145a68fe2SMasahiro Yamada
32245a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SPEAR
32345a68fe2SMasahiro Yamada	bool "SDHCI support on ST SPEAr platform"
32445a68fe2SMasahiro Yamada	depends on MMC_SDHCI
32545a68fe2SMasahiro Yamada	help
32645a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
32745a68fe2SMasahiro Yamada	  often referrered to as the HSMMC block in some of the ST SPEAR range
32845a68fe2SMasahiro Yamada	  of SoC
32945a68fe2SMasahiro Yamada
33045a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
33145a68fe2SMasahiro Yamada
33245a68fe2SMasahiro Yamada	  If unsure, say N.
33345a68fe2SMasahiro Yamada
334eee20f81SPatrice Chotardconfig MMC_SDHCI_STI
335eee20f81SPatrice Chotard	bool "SDHCI support for STMicroelectronics SoC"
33651cb23d4SPatrice Chotard	depends on MMC_SDHCI && OF_CONTROL
337eee20f81SPatrice Chotard	help
338eee20f81SPatrice Chotard	  This selects the Secure Digital Host Controller Interface (SDHCI)
339eee20f81SPatrice Chotard	  on STMicroelectronics STiH410 SoC.
340eee20f81SPatrice Chotard
341b6acb5f1SStefan Roeseconfig MMC_SDHCI_XENON
342b6acb5f1SStefan Roese	bool "SDHCI support for the Xenon SDHCI controller"
343b6acb5f1SStefan Roese	depends on MMC_SDHCI && DM_MMC && OF_CONTROL
344b6acb5f1SStefan Roese	help
345b6acb5f1SStefan Roese	  Support for Xenon SDHCI host controller on Marvell Armada 3700
346b6acb5f1SStefan Roese	  7k/8k ARM SoCs platforms
347b6acb5f1SStefan Roese
348b6acb5f1SStefan Roese	  If you have a controller with this interface, say Y here.
349b6acb5f1SStefan Roese
350b6acb5f1SStefan Roese	  If unsure, say N.
351b6acb5f1SStefan Roese
35283b3248eSFelipe Balbiconfig MMC_SDHCI_TANGIER
35383b3248eSFelipe Balbi	bool "Tangier SDHCI controller support"
35483b3248eSFelipe Balbi	depends on DM_MMC && BLK
35583b3248eSFelipe Balbi	depends on MMC_SDHCI
35683b3248eSFelipe Balbi	help
35783b3248eSFelipe Balbi	  This selects support for SDHCI controller on Tanginer
35883b3248eSFelipe Balbi	  SoC. Note that this controller does not sit on PCI bus and,
35983b3248eSFelipe Balbi	  hence, cannot be enumerated by standard PCI means.
36083b3248eSFelipe Balbi
36183b3248eSFelipe Balbi	  If you're using an Intel Tangier SoC (available on Intel
36283b3248eSFelipe Balbi	  Edison board), say Y here.
36383b3248eSFelipe Balbi
36483b3248eSFelipe Balbi	  If unsure, say N.
36583b3248eSFelipe Balbi
3661d2c0506SMasahiro Yamadaconfig MMC_SDHCI_TEGRA
3671d2c0506SMasahiro Yamada	bool "SDHCI platform support for the Tegra SD/MMC Controller"
3681d2c0506SMasahiro Yamada	depends on TEGRA
3691d2c0506SMasahiro Yamada	default y
3701d2c0506SMasahiro Yamada	help
3711d2c0506SMasahiro Yamada	  This selects the Tegra SD/MMC controller. If you have a Tegra
3721d2c0506SMasahiro Yamada	  platform with SD or MMC devices, say Y here.
3731d2c0506SMasahiro Yamada
3741d2c0506SMasahiro Yamada	  If unsure, say N.
3751d2c0506SMasahiro Yamada
37608aa0334SMasahiro Yamadaconfig MMC_SDHCI_ZYNQ
37708aa0334SMasahiro Yamada	bool "Arasan SDHCI controller support"
37808aa0334SMasahiro Yamada	depends on ARCH_ZYNQ || ARCH_ZYNQMP
37908aa0334SMasahiro Yamada	depends on DM_MMC && OF_CONTROL && BLK && DM_MMC_OPS
38008aa0334SMasahiro Yamada	depends on MMC_SDHCI
38108aa0334SMasahiro Yamada	help
38208aa0334SMasahiro Yamada	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
38308aa0334SMasahiro Yamada
3841d2c0506SMasahiro Yamadaconfig MMC_SUNXI
3851d2c0506SMasahiro Yamada	bool "Allwinner sunxi SD/MMC Host Controller support"
3860ad178c1SMasahiro Yamada	depends on ARCH_SUNXI && !UART0_PORT_F
3871d2c0506SMasahiro Yamada	default y
3881d2c0506SMasahiro Yamada	help
3891d2c0506SMasahiro Yamada	  This selects support for the SD/MMC Host Controller on
3901d2c0506SMasahiro Yamada	  Allwinner sunxi SoCs.
3911d2c0506SMasahiro Yamada
392c86c0155SWenyou Yangconfig GENERIC_ATMEL_MCI
393c86c0155SWenyou Yang	bool "Atmel Multimedia Card Interface support"
394c86c0155SWenyou Yang	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
395c86c0155SWenyou Yang	help
396c86c0155SWenyou Yang	  This enables support for Atmel High Speed Multimedia Card Interface
397c86c0155SWenyou Yang	  (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
398c86c0155SWenyou Yang	  the SD Memory Card Specification V2.0, the SDIO V2.0 specification
399c86c0155SWenyou Yang	  and CE-ATA V1.1.
400c86c0155SWenyou Yang
401e298c46aSMasahiro Yamadaendif
402e298c46aSMasahiro Yamada
4034119b709SMarcel Ziswilerconfig TEGRA124_MMC_DISABLE_EXT_LOOPBACK
4044119b709SMarcel Ziswiler	bool "Disable external clock loopback"
4054119b709SMarcel Ziswiler	depends on MMC_SDHCI_TEGRA && TEGRA124
4064119b709SMarcel Ziswiler	help
4074119b709SMarcel Ziswiler	  Disable the external clock loopback and use the internal one on SDMMC3
4084119b709SMarcel Ziswiler	  as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
4094119b709SMarcel Ziswiler	  being set to 0xfffd according to the TRM.
4104119b709SMarcel Ziswiler
4114119b709SMarcel Ziswiler	  TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
4124119b709SMarcel Ziswiler	  approach once proper kernel integration made it mainline.
4134119b709SMarcel Ziswiler
41472d42badSNobuhiro Iwamatsuendmenu
415c01e4a1aSYork Sun
416c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC111
417c01e4a1aSYork Sun	bool
418c01e4a1aSYork Sun
419c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC13
420c01e4a1aSYork Sun	bool
421c01e4a1aSYork Sun
422c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC135
423c01e4a1aSYork Sun	bool
424c01e4a1aSYork Sun
425c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC_A001
426c01e4a1aSYork Sun	bool
427