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 <dimitrije.lilic@orioninc.com>
This commit is contained in:
Dimitrije Lilic 2024-09-12 15:55:17 +02:00 committed by Henrik Brix Andersen
parent 15ec1f2016
commit 2507752d7f
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,19 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
arduino_spi: &spi1 {
status = "okay";
slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <128000>;
};
fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <500000>;
};
};

View File

@ -0,0 +1,7 @@
#
# Copyright (c) 2024 Analog Devices, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SPI_RTIO=y
CONFIG_SPI_ASYNC=n

View File

@ -210,3 +210,9 @@ tests:
platform_allow:
- s32z2xxdc2/s32z270/rtu0
- s32z2xxdc2/s32z270/rtu1
drivers.spi.max32_spi_rtio.loopback:
extra_args:
- OVERLAY_CONFIG="overlay-max32-spi-rtio.conf"
filter: CONFIG_SOC_FAMILY_MAX32
platform_allow:
- apard32690/max32690/m4