Skip to content

Commit 8d50189

Browse files
dimitrije-lilicjukkar
authored andcommitted
[nrf fromtree] tests: drivers: spi: spi_loopback: Support RTIO tests for APARD32690
Add overlay for APARD32690 board and add a new test case to test RTIO functionalities of SPI MAX32 driver. Signed-off-by: Dimitrije Lilic <[email protected]> (cherry picked from commit 2507752)
1 parent 0dc6122 commit 8d50189

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
arduino_spi: &spi1 {
8+
status = "okay";
9+
slow@0 {
10+
compatible = "test-spi-loopback-slow";
11+
reg = <0>;
12+
spi-max-frequency = <128000>;
13+
};
14+
fast@0 {
15+
compatible = "test-spi-loopback-fast";
16+
reg = <0>;
17+
spi-max-frequency = <500000>;
18+
};
19+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Copyright (c) 2024 Analog Devices, Inc.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
CONFIG_SPI_RTIO=y
7+
CONFIG_SPI_ASYNC=n

tests/drivers/spi/spi_loopback/testcase.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,9 @@ tests:
210210
platform_allow:
211211
- s32z2xxdc2/s32z270/rtu0
212212
- s32z2xxdc2/s32z270/rtu1
213+
drivers.spi.max32_spi_rtio.loopback:
214+
extra_args:
215+
- OVERLAY_CONFIG="overlay-max32-spi-rtio.conf"
216+
filter: CONFIG_SOC_FAMILY_MAX32
217+
platform_allow:
218+
- apard32690/max32690/m4

0 commit comments

Comments
 (0)