Skip to content

Commit 45943dc

Browse files
committed
[nrf fromlist] drivers: mspi: Add driver for Designware SSI based controllers
Add a generic driver for controllers based on the Designware SSI core. With small vendor-specific adaptations covering integration details, it should be possible to use it for many devices. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit aea4e024685afd5a4a42252869d6e74d0b9fcecb) Upstream PR: zephyrproject-rtos/zephyr#80042
1 parent 14c5b76 commit 45943dc

File tree

6 files changed

+938
-0
lines changed

6 files changed

+938
-0
lines changed

drivers/mspi/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/mspi.h)
44

55
zephyr_library()
66
zephyr_library_sources_ifdef(CONFIG_MSPI_AMBIQ_AP3 mspi_ambiq_ap3.c)
7+
zephyr_library_sources_ifdef(CONFIG_MSPI_DW mspi_dw.c)
78
zephyr_library_sources_ifdef(CONFIG_MSPI_EMUL mspi_emul.c)

drivers/mspi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ module-str = mspi
6060
source "subsys/logging/Kconfig.template.log_config"
6161

6262
source "drivers/mspi/Kconfig.ambiq"
63+
source "drivers/mspi/Kconfig.dw"
6364
source "drivers/mspi/Kconfig.mspi_emul"
6465

6566
endif # MSPI

drivers/mspi/Kconfig.dw

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config MSPI_DW
5+
bool "DesignWare SSI controller driver"
6+
default y
7+
depends on DT_HAS_SNPS_DESIGNWARE_SSI_ENABLED

0 commit comments

Comments
 (0)