From 264bb552a94cc48d5f3baac3a54c10151340e474 Mon Sep 17 00:00:00 2001 From: Martin Hoff Date: Thu, 5 Dec 2024 15:05:06 +0100 Subject: [PATCH] tests: dma: add silabs boards conf files Added sltb010a,slwrb4180a,xg24_dk2601b and xg27_dk2602a boards files to run chan_blen_transfer, loop_transfer and scatter_gather tests. Signed-off-by: Martin Hoff --- .../chan_blen_transfer/boards/sltb010a.overlay | 11 +++++++++++ .../chan_blen_transfer/boards/slwrb4180a.overlay | 11 +++++++++++ .../boards/xg24_dk2601b.overlay | 11 +++++++++++ .../boards/xg27_dk2602a.overlay | 11 +++++++++++ .../dma/loop_transfer/boards/sltb010a.conf | 5 +++++ .../dma/loop_transfer/boards/sltb010a.overlay | 11 +++++++++++ .../dma/loop_transfer/boards/slwrb4180a.conf | 5 +++++ .../dma/loop_transfer/boards/slwrb4180a.overlay | 11 +++++++++++ .../dma/loop_transfer/boards/xg24_dk2601b.conf | 5 +++++ .../loop_transfer/boards/xg24_dk2601b.overlay | 11 +++++++++++ .../dma/loop_transfer/boards/xg27_dk2602a.conf | 5 +++++ .../loop_transfer/boards/xg27_dk2602a.overlay | 11 +++++++++++ .../dma/scatter_gather/boards/sltb010a.conf | 5 +++++ .../dma/scatter_gather/boards/sltb010a.overlay | 16 ++++++++++++++++ .../dma/scatter_gather/boards/slwrb4180a.conf | 3 +++ .../dma/scatter_gather/boards/slwrb4180a.overlay | 15 +++++++++++++++ .../dma/scatter_gather/boards/xg24_dk2601b.conf | 4 ++++ .../scatter_gather/boards/xg24_dk2601b.overlay | 15 +++++++++++++++ .../dma/scatter_gather/boards/xg27_dk2602a.conf | 4 ++++ .../scatter_gather/boards/xg27_dk2602a.overlay | 15 +++++++++++++++ 20 files changed, 185 insertions(+) create mode 100644 tests/drivers/dma/chan_blen_transfer/boards/sltb010a.overlay create mode 100644 tests/drivers/dma/chan_blen_transfer/boards/slwrb4180a.overlay create mode 100644 tests/drivers/dma/chan_blen_transfer/boards/xg24_dk2601b.overlay create mode 100644 tests/drivers/dma/chan_blen_transfer/boards/xg27_dk2602a.overlay create mode 100644 tests/drivers/dma/loop_transfer/boards/sltb010a.conf create mode 100644 tests/drivers/dma/loop_transfer/boards/sltb010a.overlay create mode 100644 tests/drivers/dma/loop_transfer/boards/slwrb4180a.conf create mode 100644 tests/drivers/dma/loop_transfer/boards/slwrb4180a.overlay create mode 100644 tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.conf create mode 100644 tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.overlay create mode 100644 tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.conf create mode 100644 tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.overlay create mode 100644 tests/drivers/dma/scatter_gather/boards/sltb010a.conf create mode 100644 tests/drivers/dma/scatter_gather/boards/sltb010a.overlay create mode 100644 tests/drivers/dma/scatter_gather/boards/slwrb4180a.conf create mode 100644 tests/drivers/dma/scatter_gather/boards/slwrb4180a.overlay create mode 100644 tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.conf create mode 100644 tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.overlay create mode 100644 tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.conf create mode 100644 tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.overlay diff --git a/tests/drivers/dma/chan_blen_transfer/boards/sltb010a.overlay b/tests/drivers/dma/chan_blen_transfer/boards/sltb010a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/chan_blen_transfer/boards/sltb010a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/chan_blen_transfer/boards/slwrb4180a.overlay b/tests/drivers/dma/chan_blen_transfer/boards/slwrb4180a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/chan_blen_transfer/boards/slwrb4180a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/chan_blen_transfer/boards/xg24_dk2601b.overlay b/tests/drivers/dma/chan_blen_transfer/boards/xg24_dk2601b.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/chan_blen_transfer/boards/xg24_dk2601b.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/chan_blen_transfer/boards/xg27_dk2602a.overlay b/tests/drivers/dma/chan_blen_transfer/boards/xg27_dk2602a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/chan_blen_transfer/boards/xg27_dk2602a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/loop_transfer/boards/sltb010a.conf b/tests/drivers/dma/loop_transfer/boards/sltb010a.conf new file mode 100644 index 00000000000000..e5e2a14a816858 --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/sltb010a.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0 +CONFIG_DMA_LOOP_TRANSFER_SIZE=2048 diff --git a/tests/drivers/dma/loop_transfer/boards/sltb010a.overlay b/tests/drivers/dma/loop_transfer/boards/sltb010a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/sltb010a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/loop_transfer/boards/slwrb4180a.conf b/tests/drivers/dma/loop_transfer/boards/slwrb4180a.conf new file mode 100644 index 00000000000000..e5e2a14a816858 --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/slwrb4180a.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0 +CONFIG_DMA_LOOP_TRANSFER_SIZE=2048 diff --git a/tests/drivers/dma/loop_transfer/boards/slwrb4180a.overlay b/tests/drivers/dma/loop_transfer/boards/slwrb4180a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/slwrb4180a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.conf b/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.conf new file mode 100644 index 00000000000000..e5e2a14a816858 --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0 +CONFIG_DMA_LOOP_TRANSFER_SIZE=2048 diff --git a/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.overlay b/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.conf b/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.conf new file mode 100644 index 00000000000000..e5e2a14a816858 --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0 +CONFIG_DMA_LOOP_TRANSFER_SIZE=2048 diff --git a/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.overlay b/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.overlay new file mode 100644 index 00000000000000..a0e0ed0836670e --- /dev/null +++ b/tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.overlay @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&dma0 { + status = "okay"; +}; + +tst_dma0: &dma0 { }; diff --git a/tests/drivers/dma/scatter_gather/boards/sltb010a.conf b/tests/drivers/dma/scatter_gather/boards/sltb010a.conf new file mode 100644 index 00000000000000..45b83663bdf10d --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/sltb010a.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_SG_CHANNEL_NR=0 +CONFIG_DMA_SG_XFER_SIZE=4096 diff --git a/tests/drivers/dma/scatter_gather/boards/sltb010a.overlay b/tests/drivers/dma/scatter_gather/boards/sltb010a.overlay new file mode 100644 index 00000000000000..c9b4e95a7cd20c --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/sltb010a.overlay @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + aliases { + dma0 = &dma0; + }; +}; + +&dma0 { + status = "okay"; +}; diff --git a/tests/drivers/dma/scatter_gather/boards/slwrb4180a.conf b/tests/drivers/dma/scatter_gather/boards/slwrb4180a.conf new file mode 100644 index 00000000000000..556911dfac8362 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/slwrb4180a.conf @@ -0,0 +1,3 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 +CONFIG_DMA_SG_CHANNEL_NR=0 diff --git a/tests/drivers/dma/scatter_gather/boards/slwrb4180a.overlay b/tests/drivers/dma/scatter_gather/boards/slwrb4180a.overlay new file mode 100644 index 00000000000000..430bbbbd3dd0a4 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/slwrb4180a.overlay @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + aliases { + dma0 = &dma0; + }; +}; + +&dma0 { + status = "okay"; +}; diff --git a/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.conf b/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.conf new file mode 100644 index 00000000000000..10730aca2f71d3 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.conf @@ -0,0 +1,4 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_SG_CHANNEL_NR=0 diff --git a/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.overlay b/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.overlay new file mode 100644 index 00000000000000..430bbbbd3dd0a4 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.overlay @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + aliases { + dma0 = &dma0; + }; +}; + +&dma0 { + status = "okay"; +}; diff --git a/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.conf b/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.conf new file mode 100644 index 00000000000000..10730aca2f71d3 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.conf @@ -0,0 +1,4 @@ +# Copyright (c) 2024 Silicon Laboratories, Inc. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_DMA_SG_CHANNEL_NR=0 diff --git a/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.overlay b/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.overlay new file mode 100644 index 00000000000000..430bbbbd3dd0a4 --- /dev/null +++ b/tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.overlay @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2024 Silicon Laboratories, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + aliases { + dma0 = &dma0; + }; +}; + +&dma0 { + status = "okay"; +};