Skip to content

Commit b624a07

Browse files
ananglfabiobaltieri
authored andcommitted
tests: mspi: flash: Add scenario for new mspi_dw option
Add test scenario for a Kconfig option that was recently added to the mspi_dw driver. Testing it requires performing some transfers on the MSPI bus with some device, hence flash chip test used. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 30c4130 commit b624a07

File tree

2 files changed

+37
-10
lines changed

2 files changed

+37
-10
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
mspi0 = &exmif;
10+
};
11+
};
12+
13+
&gpio6 {
14+
status = "okay";
15+
};
16+
17+
&exmif {
18+
status = "okay";
19+
};
20+
21+
&mx25uw63 {
22+
status = "okay";
23+
};
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
22
# SPDX-License-Identifier: Apache-2.0
33

4+
common:
5+
tags:
6+
- drivers
7+
- mspi
8+
- flash
9+
harness: ztest
10+
411
tests:
512
drivers.mspi.flash:
6-
tags:
7-
- drivers
8-
- mspi
9-
- flash
1013
filter: dt_compat_enabled("zephyr,mspi-emul-flash")
1114
or dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("jedec,mspi-nor")
1215
or dt_compat_enabled("mspi-atxp032") or dt_compat_enabled("mspi-is25xX0xx")
13-
harness: ztest
1416
platform_allow:
1517
- native_sim
1618
- apollo3p_evb
@@ -20,15 +22,17 @@ tests:
2022
- apollo3p_evb
2123
- apollo510_evb
2224
drivers.mspi.flash.xip_read:
23-
tags:
24-
- drivers
25-
- mspi
26-
- flash
2725
filter: dt_compat_enabled("mspi-is25xX0xx")
28-
harness: ztest
2926
platform_allow:
3027
- apollo510_evb
3128
integration_platforms:
3229
- apollo510_evb
3330
extra_configs:
3431
- CONFIG_FLASH_MSPI_XIP_READ=y
32+
drivers.mspi.flash.mspi_dw_system_workqueue:
33+
filter: dt_alias_exists("mspi0") and dt_compat_enabled("jedec,mspi-nor")
34+
and CONFIG_MSPI_DW
35+
integration_platforms:
36+
- nrf54h20dk/nrf54h20/cpuapp
37+
extra_configs:
38+
- CONFIG_MSPI_DW_HANDLE_FIFOS_IN_SYSTEM_WORKQUEUE=y

0 commit comments

Comments
 (0)