1# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig SDHC
5	bool "Secure Digital (SD card) host controller drivers"
6	help
7	  Include drivers for interacting with SD cards
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"
21source "drivers/sdhc/Kconfig.max32"
22
23config SDHC_INIT_PRIORITY
24	int "SDHC driver init priority"
25	default 85
26	help
27	  SDHC driver system init priority
28
29config SDHC_BUFFER_ALIGNMENT
30	int
31	default 1
32	help
33	  Some SD host controllers require alignment of their data buffers
34	  in order to DMA to work correctly. Devices should change default of
35	  this value if they require alignment. This represents the alignment
36	  of buffers required in bytes
37
38config SDHC_SUPPORTS_UHS
39	bool
40	help
41	  Selected by host controller driver if UHS support is present. required
42	  to enable UHS portion of protocol stack.
43
44config SDHC_SUPPORTS_SPI_MODE
45	bool
46	help
47	  Selected by host controller driver if SPI mode support is required.
48	  Enables SPI protocol in SD protocol stack
49
50config SDHC_SUPPORTS_NATIVE_MODE
51	bool
52	help
53	  Selected by host controller driver if native SD mode support is
54	  required. Enables native protocol in SD protocol stack.
55
56module = SDHC
57module-str = sdhc
58source "subsys/logging/Kconfig.template.log_config"
59
60endif # SDHC
61