1# Copyright (c) 2023 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config INTEL_EMMC_HOST
5	bool "EMMC driver"
6	select SDHC_SUPPORTS_NATIVE_MODE
7	select EVENTS
8	default y
9	depends on DT_HAS_INTEL_EMMC_HOST_ENABLED
10	help
11	  EMMC driver support. Though this driver can be easily port to
12	  any HW which is complaint to eMMC spec, currently it is only
13	  validated using intel's EMMC host controller.
14
15if INTEL_EMMC_HOST
16config INTEL_EMMC_HOST_INTR
17	bool "EMMC host controller interrupt mode"
18	default y
19	help
20	  EMMC host controller interrupt mode support.
21
22config INTEL_EMMC_HOST_DMA
23	bool "EMMC host controller DMA mode"
24	select DCACHE
25	help
26	  EMMC host controller DMA mode support.
27
28config INTEL_EMMC_HOST_ADMA
29	bool "EMMC host controller ADMA mode"
30	depends on INTEL_EMMC_HOST_DMA
31	help
32	  EMMC host controller ADMA mode support.
33
34config INTEL_EMMC_HOST_ADMA_DESC_SIZE
35	int "EMMC host controller ADMA Descriptor size"
36	depends on INTEL_EMMC_HOST_ADMA
37	default 32
38	help
39	  EMMC host controller ADMA Descriptor size.
40
41config INTEL_EMMC_HOST_AUTO_STOP
42	bool "auto stop command mode"
43	default y
44	help
45	  Auto stop command mode support.
46
47config INTEL_EMMC_HOST_BLOCK_GAP
48	bool "Block gap mode"
49	depends on INTEL_EMMC_HOST_DMA
50	help
51	  Block gap mode support.
52
53config INTEL_EMMC_HOST_TUNING
54	bool "Host tuning"
55	help
56	  Host tuning support.
57
58endif
59