tests: drivers: spi: remove useless files and testcases

- with the updates made to the spi_ll_stm32 driver,
we no longer need to configure the 16-bit frame/word size
in the DTS overlay file. The test_spi_word_size_16 testsuite
helps us verify the 16-bit frame mode supported on
the ST platform.

- remove testcases that use thoses files in testcase.yaml

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
Fabrice DJIATSA 2025-06-13 11:47:58 +02:00 committed by Daniel DeGrasse
parent eccf541ea6
commit 746d60b0f8
5 changed files with 0 additions and 108 deletions

View File

@ -1,14 +0,0 @@
#
# Copyright (c) 2023 Graphcore Ltd, All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# enable DMA mode for SPI loopback test
CONFIG_SPI_STM32_DMA=y
CONFIG_SPI_STM32_INTERRUPT=n
CONFIG_SPI_ASYNC=n
CONFIG_NOCACHE_MEMORY=n
CONFIG_DT_DEFINED_NOCACHE=y
CONFIG_DT_DEFINED_NOCACHE_NAME="SRAM2"
CONFIG_SPI_LOOPBACK_16BITS_FRAMES=y

View File

@ -1,11 +0,0 @@
#
# Copyright (c) 2023 Graphcore Ltd, All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# enable DMA mode for SPI loopback test
CONFIG_SPI_STM32_DMA=y
CONFIG_SPI_STM32_INTERRUPT=n
CONFIG_SPI_ASYNC=n
CONFIG_SPI_LOOPBACK_16BITS_FRAMES=y

View File

@ -1,6 +0,0 @@
#
# Copyright (c) 2023 Graphcore Ltd, All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SPI_LOOPBACK_16BITS_FRAMES=y

View File

@ -1,43 +0,0 @@
/*
* Copyright (c) 2023 Graphcore Ltd, All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Set div-q to get test clk freq into acceptable SPI freq range */
&pll {
/delete-property/ div-q;
div-q = <8>;
};
&sram2 {
zephyr,memory-attr = < DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) >;
};
&spi1 {
dmas = <&dmamux1 0 38 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH | STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS)
&dmamux1 1 37 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH | STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS)>;
dma-names = "tx", "rx";
slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <500000>;
};
fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <16000000>;
};
};
&dma1 {
status = "okay";
};
&dma2 {
status = "okay";
};
&dmamux1 {
status = "okay";
};

View File

@ -51,17 +51,6 @@ tests:
- robokit1
integration_platforms:
- sam_e70_xplained/same70q21
drivers.spi.stm32_spi_16bits_frames.loopback:
extra_args:
- EXTRA_CONF_FILE="overlay-stm32-spi-16bits.conf"
- DTC_OVERLAY_FILE="overlay-stm32-spi-16bits.overlay"
platform_allow:
- nucleo_h743zi
- nucleo_h753zi
- nucleo_h745zi_q/stm32h745xx/m4
- nucleo_h745zi_q/stm32h745xx/m7
integration_platforms:
- nucleo_h743zi
drivers.spi.stm32_spi_dma.loopback:
extra_args: EXTRA_CONF_FILE="overlay-stm32-spi-dma.conf"
platform_allow:
@ -98,29 +87,6 @@ tests:
- nucleo_h745zi_q/stm32h745xx/m7
integration_platforms:
- nucleo_h743zi
drivers.spi.stm32_spi_16bits_frames_dma.loopback:
extra_args:
- EXTRA_CONF_FILE="overlay-stm32-spi-16bits-dma.conf"
- DTC_OVERLAY_FILE="overlay-stm32-spi-16bits.overlay"
platform_allow:
- nucleo_h743zi
- nucleo_h753zi
- nucleo_h745zi_q/stm32h745xx/m4
- nucleo_h745zi_q/stm32h745xx/m7
integration_platforms:
- nucleo_h743zi
drivers.spi.stm32_spi_16bits_frames_dma_dt_nocache_mem.loopback:
extra_args:
- EXTRA_CONF_FILE="overlay-stm32-spi-16bits-dma-dt-nocache-mem.conf"
- DTC_OVERLAY_FILE="overlay-stm32-spi-16bits.overlay"
filter: CONFIG_CPU_HAS_DCACHE
platform_allow:
- nucleo_h743zi
- nucleo_h753zi
- nucleo_h745zi_q/stm32h745xx/m4
- nucleo_h745zi_q/stm32h745xx/m7
integration_platforms:
- nucleo_h743zi
drivers.spi.stm32_spi_interrupt.loopback:
extra_args: EXTRA_CONF_FILE="overlay-stm32-spi-interrupt.conf"
platform_allow: