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 11# zephyr-keep-sorted-start 12source "drivers/sdhc/Kconfig.ambiq" 13source "drivers/sdhc/Kconfig.esp32" 14source "drivers/sdhc/Kconfig.imx" 15source "drivers/sdhc/Kconfig.infineon" 16source "drivers/sdhc/Kconfig.intel" 17source "drivers/sdhc/Kconfig.max32" 18source "drivers/sdhc/Kconfig.mcux_sdif" 19source "drivers/sdhc/Kconfig.rcar" 20source "drivers/sdhc/Kconfig.renesas_ra" 21source "drivers/sdhc/Kconfig.sam_hsmci" 22source "drivers/sdhc/Kconfig.sam_sdmmc" 23source "drivers/sdhc/Kconfig.sdhc_cdns" 24source "drivers/sdhc/Kconfig.spi" 25source "drivers/sdhc/Kconfig.stm32" 26source "drivers/sdhc/Kconfig.xlnx" 27# zephyr-keep-sorted-stop 28 29config SDHC_INIT_PRIORITY 30 int "SDHC driver init priority" 31 default 85 32 help 33 SDHC driver system init priority 34 35config SDHC_BUFFER_ALIGNMENT 36 int 37 default 1 38 help 39 Some SD host controllers require alignment of their data buffers 40 in order to DMA to work correctly. Devices should change default of 41 this value if they require alignment. This represents the alignment 42 of buffers required in bytes 43 44config SDHC_SCATTER_GATHER_TRANSFER 45 bool "Scatter-Gather API" 46 depends on SDHC_SUPPORTS_SCATTER_GATHER_TRANSFER 47 help 48 Enable SDHC scatter-gather API. 49 50config SDHC_SUPPORTS_SCATTER_GATHER_TRANSFER 51 bool 52 help 53 Selected by host controller driver if scatter-gather transfer support 54 is present. 55 56config SDHC_SUPPORTS_UHS 57 bool 58 help 59 Selected by host controller driver if UHS support is present. required 60 to enable UHS portion of protocol stack. 61 62config SDHC_SUPPORTS_SPI_MODE 63 bool 64 help 65 Selected by host controller driver if SPI mode support is required. 66 Enables SPI protocol in SD protocol stack 67 68config SDHC_SUPPORTS_NATIVE_MODE 69 bool 70 help 71 Selected by host controller driver if native SD mode support is 72 required. Enables native protocol in SD protocol stack. 73 74module = SDHC 75module-str = sdhc 76source "subsys/logging/Kconfig.template.log_config" 77 78endif # SDHC 79