1# Copyright (c) 2023 EPAM Systems
2# SPDX-License-Identifier: Apache-2.0
3
4config RCAR_MMC
5	bool "Renesas Rcar MMC driver"
6	default y
7	depends on DT_HAS_RENESAS_RCAR_MMC_ENABLED
8	select SDHC_SUPPORTS_NATIVE_MODE
9	select REGULATOR
10	select GPIO
11	select PINCTRL
12	select SDHC_SUPPORTS_UHS if SDMMC_STACK
13	help
14	  Renesas Rcar MMC driver.
15
16if RCAR_MMC
17
18config RCAR_MMC_DMA_SUPPORT
19	bool "Internal DMA support for Renesas Rcar MMC driver"
20	select CACHE_MANAGEMENT
21	select DCACHE
22	default y
23	help
24	  Internal DMA support for Renesas Rcar MMC driver.
25
26config RCAR_MMC_SCC_SUPPORT
27	bool "Support of SCC"
28	default y
29	help
30	  Enable support of Sampling Clock Controller for Renesas Rcar MMC driver.
31
32if RCAR_MMC_DMA_SUPPORT
33
34config SDHC_BUFFER_ALIGNMENT
35	default 128
36
37config RCAR_MMC_DMA_IRQ_DRIVEN_SUPPORT
38	bool "Internal DMA IRQ driven support for Renesas Rcar MMC driver"
39	default y
40
41endif # RCAR_MMC_DMA_SUPPORT
42
43endif # RCAR_MMC
44