Skip to content

drivers: sdio: Support SDIO driver for STM32. #89776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/sdhc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ zephyr_library_sources_ifdef(CONFIG_SDHC_RENESAS_RA sdhc_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_SDHC_MAX32 sdhc_max32.c)
zephyr_library_sources_ifdef(CONFIG_SDHC_AMBIQ sdhc_ambiq.c)
zephyr_library_sources_ifdef(CONFIG_XLNX_SDHC xlnx_sdhc.c)
zephyr_library_sources_ifdef(CONFIG_SDHC_STM32 sdhc_stm32.c)
endif()
1 change: 1 addition & 0 deletions drivers/sdhc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ source "drivers/sdhc/Kconfig.renesas_ra"
source "drivers/sdhc/Kconfig.max32"
source "drivers/sdhc/Kconfig.ambiq"
source "drivers/sdhc/Kconfig.xlnx"
source "drivers/sdhc/Kconfig.stm32"

config SDHC_INIT_PRIORITY
int "SDHC driver init priority"
Expand Down
13 changes: 13 additions & 0 deletions drivers/sdhc/Kconfig.stm32
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2025 EXALT Technologies.
# SPDX-License-Identifier: Apache-2.0

source "subsys/logging/Kconfig.template.log_config"
config SDHC_STM32
bool "STM32 SDMMC driver support"
depends on DT_HAS_ST_STM32_SDHC_ENABLED
select USE_STM32_HAL_SDIO
select USE_STM32_LL_SDMMC
select SDHC_SUPPORTS_NATIVE_MODE
default y
help
Enable support for SDMMC on STM32 platforms.
Loading
Loading