Skip to content

Commit

Permalink
tests: dma: add silabs boards conf files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Martinhoff-maker committed Dec 12, 2024
1 parent 594a781 commit 264bb55
Show file tree
Hide file tree
Showing 20 changed files with 185 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/drivers/dma/chan_blen_transfer/boards/sltb010a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
11 changes: 11 additions & 0 deletions tests/drivers/dma/chan_blen_transfer/boards/slwrb4180a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
11 changes: 11 additions & 0 deletions tests/drivers/dma/chan_blen_transfer/boards/xg24_dk2601b.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
11 changes: 11 additions & 0 deletions tests/drivers/dma/chan_blen_transfer/boards/xg27_dk2602a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
5 changes: 5 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/sltb010a.conf
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/sltb010a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
5 changes: 5 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/slwrb4180a.conf
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/slwrb4180a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
5 changes: 5 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.conf
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/xg24_dk2601b.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
5 changes: 5 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.conf
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/xg27_dk2602a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma0 {
status = "okay";
};

tst_dma0: &dma0 { };
5 changes: 5 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/sltb010a.conf
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/sltb010a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/


/ {
aliases {
dma0 = &dma0;
};
};

&dma0 {
status = "okay";
};
3 changes: 3 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/slwrb4180a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2024 Silicon Laboratories, Inc.
# SPDX-License-Identifier: Apache-2.0
CONFIG_DMA_SG_CHANNEL_NR=0
15 changes: 15 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/slwrb4180a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
aliases {
dma0 = &dma0;
};
};

&dma0 {
status = "okay";
};
4 changes: 4 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) 2024 Silicon Laboratories, Inc.
# SPDX-License-Identifier: Apache-2.0

CONFIG_DMA_SG_CHANNEL_NR=0
15 changes: 15 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/xg24_dk2601b.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
aliases {
dma0 = &dma0;
};
};

&dma0 {
status = "okay";
};
4 changes: 4 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) 2024 Silicon Laboratories, Inc.
# SPDX-License-Identifier: Apache-2.0

CONFIG_DMA_SG_CHANNEL_NR=0
15 changes: 15 additions & 0 deletions tests/drivers/dma/scatter_gather/boards/xg27_dk2602a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2024 Silicon Laboratories, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
aliases {
dma0 = &dma0;
};
};

&dma0 {
status = "okay";
};

0 comments on commit 264bb55

Please sign in to comment.