1# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig SDHC
5	bool "Secure Digital High Capacity (SDHC) drivers"
6	help
7	  Include drivers for SD host controller
8
9if SDHC
10
11source "drivers/sdhc/Kconfig.ifx_cat1"
12source "drivers/sdhc/Kconfig.imx"
13source "drivers/sdhc/Kconfig.spi"
14source "drivers/sdhc/Kconfig.mcux_sdif"
15source "drivers/sdhc/Kconfig.rcar"
16source "drivers/sdhc/Kconfig.sam_hsmci"
17source "drivers/sdhc/Kconfig.intel"
18source "drivers/sdhc/Kconfig.sdhc_cdns"
19source "drivers/sdhc/Kconfig.esp32"
20source "drivers/sdhc/Kconfig.renesas_ra"
21
22config SDHC_INIT_PRIORITY
23	int "SDHC driver init priority"
24	default 85
25	help
26	  SDHC driver system init priority
27
28config SDHC_BUFFER_ALIGNMENT
29	int
30	default 1
31	help
32	  Some SD host controllers require alignment of their data buffers
33	  in order to DMA to work correctly. Devices should change default of
34	  this value if they require alignment. This represents the alignment
35	  of buffers required in bytes
36
37config SDHC_SUPPORTS_UHS
38	bool
39	help
40	  Selected by host controller driver if UHS support is present. required
41	  to enable UHS portion of protocol stack.
42
43config SDHC_SUPPORTS_SPI_MODE
44	bool
45	help
46	  Selected by host controller driver if SPI mode support is required.
47	  Enables SPI protocol in SD protocol stack
48
49config SDHC_SUPPORTS_NATIVE_MODE
50	bool
51	help
52	  Selected by host controller driver if native SD mode support is
53	  required. Enables native protocol in SD protocol stack.
54
55module = SDHC
56module-str = sdhc
57source "subsys/logging/Kconfig.template.log_config"
58
59endif # SDHC
60