Skip to content

Commit 124c79d

Browse files
jerome-pouillerkartben
authored andcommitted
drivers: dma: Introduce support for SiWx91x
Implement DMA driver for siwx917 using UDMA peripheral. For now, Scatter/Gather DMA is not yet supported. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1 parent 300f4fe commit 124c79d

File tree

6 files changed

+475
-0
lines changed

6 files changed

+475
-0
lines changed

drivers/dma/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ zephyr_library_sources_ifdef(CONFIG_DMA_INFINEON_CAT1 dma_ifx_cat1.c)
4141
zephyr_library_sources_ifdef(CONFIG_DMA_SEDI dma_sedi.c)
4242
zephyr_library_sources_ifdef(CONFIG_DMA_SI32 dma_si32.c)
4343
zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_LDMA dma_silabs_ldma.c)
44+
zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_SIWX91X dma_silabs_siwx91x.c)
4445
zephyr_library_sources_ifdef(CONFIG_DMA_SMARTBOND dma_smartbond.c)
4546
zephyr_library_sources_ifdef(CONFIG_DMA_NXP_SOF_HOST_DMA dma_nxp_sof_host_dma.c)
4647
zephyr_library_sources_ifdef(CONFIG_DMA_EMUL dma_emul.c)

drivers/dma/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ source "drivers/dma/Kconfig.si32"
7676

7777
source "drivers/dma/Kconfig.silabs"
7878

79+
source "drivers/dma/Kconfig.siwx91x"
80+
7981
source "drivers/dma/Kconfig.smartbond"
8082

8183
source "drivers/dma/Kconfig.nxp_sof_host_dma"

drivers/dma/Kconfig.siwx91x

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2024 Silicon Laboratories Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config DMA_SILABS_SIWX91X
5+
bool "Silabs SiWx91x DMA driver"
6+
default y
7+
depends on DT_HAS_SILABS_SIWX91X_DMA_ENABLED
8+
help
9+
Enable the High Power(HP)/Ultra Low Power(ULP) DMA driver for the Silabs SiWx91x SoC series.

0 commit comments

Comments
 (0)