Skip to content

Commit 4b4dcbb

Browse files
gmarullcfriedt
authored andcommitted
drivers: dma: sf32lb: add initial driver
Add an initial driver for SiFli SF32LB DMAC DMA controller. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 7e0df36 commit 4b4dcbb

File tree

5 files changed

+640
-0
lines changed

5 files changed

+640
-0
lines changed

drivers/dma/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ zephyr_library_sources_ifdef(CONFIG_DMA_NXP_SDMA dma_nxp_sdma.c)
5656
zephyr_library_sources_ifdef(CONFIG_DMA_WCH dma_wch.c)
5757
zephyr_library_sources_ifdef(CONFIG_DMA_TI_CC23X0 dma_ti_cc23x0.c)
5858
zephyr_library_sources_ifdef(CONFIG_DMA_NPCX_GDMA dma_npcx_gdma.c)
59+
zephyr_library_sources_ifdef(CONFIG_DMA_SF32LB dma_sf32lb.c)

drivers/dma/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,6 @@ source "drivers/dma/Kconfig.ti_cc23x0"
101101

102102
source "drivers/dma/Kconfig.npcx"
103103

104+
source "drivers/dma/Kconfig.sf32lb"
105+
104106
endif # DMA

drivers/dma/Kconfig.sf32lb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright 2025 Core Devices LLC
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config DMA_SF32LB
5+
bool "SiFli SF32LB DMA driver"
6+
default y
7+
depends on DT_HAS_SIFLI_SF32LB_DMAC_ENABLED
8+
help
9+
Enable DMA driver for SiFli SF32LB

0 commit comments

Comments
 (0)