Skip to content

Commit 61ced3f

Browse files
committed
tests/drivers/dma: add stm32mp257f_ev1 support
Add stm32mp257f_ev1 overlays and related configuration files for the DMA tests. This includes support for: * chan_blen_transfer * chan_link_transfer * cyclic * loop_transfer * scatter_gather Signed-off-by: Youssef Zini <[email protected]>
1 parent a01fc1f commit 61ced3f

8 files changed

+70
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (C) 2025 Savoir-faire Linux, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=0
5+
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=1
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (C) 2025 Savoir-faire Linux, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
tst_dma0: &hpdma3 {
8+
status = "okay";
9+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (C) 2025 Savoir-faire Linux, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dma0: &hpdma3 {
8+
status = "okay";
9+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (C) 2025 Savoir-faire Linux, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
dma0 = &hpdma3;
10+
};
11+
};
12+
13+
&hpdma3 {
14+
status = "okay";
15+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (C) 2025 Savoir-faire Linux, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (C) 2025 Savoir-faire Linux, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
tst_dma0: &hpdma3 {
8+
status = "okay";
9+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (C) 2025 Savoir-faire Linux, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_DMA_SG_CHANNEL_NR=0
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (C) 2025 Savoir-faire Linux, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
dma0 = &hpdma3;
10+
};
11+
};
12+
13+
&hpdma3 {
14+
status = "okay";
15+
};

0 commit comments

Comments
 (0)