2022-02-16 13:53:54 -06:00
|
|
|
# Copyright 2022 NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig SDHC
|
2025-02-04 11:25:18 +00:00
|
|
|
bool "Secure Digital (SD card) host controller drivers"
|
2022-02-16 13:53:54 -06:00
|
|
|
help
|
2025-02-04 11:25:18 +00:00
|
|
|
Include drivers for interacting with SD cards
|
2022-02-16 13:53:54 -06:00
|
|
|
|
|
|
|
if SDHC
|
|
|
|
|
2023-06-20 14:45:39 +03:00
|
|
|
source "drivers/sdhc/Kconfig.ifx_cat1"
|
2022-02-16 13:53:54 -06:00
|
|
|
source "drivers/sdhc/Kconfig.imx"
|
2022-04-01 15:27:08 -05:00
|
|
|
source "drivers/sdhc/Kconfig.spi"
|
2022-05-06 18:22:46 -05:00
|
|
|
source "drivers/sdhc/Kconfig.mcux_sdif"
|
2023-07-12 09:53:03 +03:00
|
|
|
source "drivers/sdhc/Kconfig.rcar"
|
2023-05-24 13:49:27 +02:00
|
|
|
source "drivers/sdhc/Kconfig.sam_hsmci"
|
2023-08-03 14:46:54 +05:30
|
|
|
source "drivers/sdhc/Kconfig.intel"
|
2023-10-17 14:41:17 +08:00
|
|
|
source "drivers/sdhc/Kconfig.sdhc_cdns"
|
2024-03-01 08:54:32 -03:00
|
|
|
source "drivers/sdhc/Kconfig.esp32"
|
2024-11-18 09:35:31 +07:00
|
|
|
source "drivers/sdhc/Kconfig.renesas_ra"
|
2024-09-12 08:17:33 +03:00
|
|
|
source "drivers/sdhc/Kconfig.max32"
|
2025-04-09 21:03:32 +08:00
|
|
|
source "drivers/sdhc/Kconfig.ambiq"
|
2025-03-17 11:05:06 +05:30
|
|
|
source "drivers/sdhc/Kconfig.xlnx"
|
2022-02-16 13:53:54 -06:00
|
|
|
|
|
|
|
config SDHC_INIT_PRIORITY
|
|
|
|
int "SDHC driver init priority"
|
|
|
|
default 85
|
|
|
|
help
|
|
|
|
SDHC driver system init priority
|
|
|
|
|
|
|
|
config SDHC_BUFFER_ALIGNMENT
|
|
|
|
int
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
Some SD host controllers require alignment of their data buffers
|
|
|
|
in order to DMA to work correctly. Devices should change default of
|
|
|
|
this value if they require alignment. This represents the alignment
|
|
|
|
of buffers required in bytes
|
|
|
|
|
|
|
|
config SDHC_SUPPORTS_UHS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected by host controller driver if UHS support is present. required
|
|
|
|
to enable UHS portion of protocol stack.
|
|
|
|
|
|
|
|
config SDHC_SUPPORTS_SPI_MODE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected by host controller driver if SPI mode support is required.
|
|
|
|
Enables SPI protocol in SD protocol stack
|
|
|
|
|
|
|
|
config SDHC_SUPPORTS_NATIVE_MODE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected by host controller driver if native SD mode support is
|
|
|
|
required. Enables native protocol in SD protocol stack.
|
|
|
|
|
|
|
|
module = SDHC
|
|
|
|
module-str = sdhc
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
|
|
|
endif # SDHC
|