Skip to content

Commit

Permalink
drivers: dma: siwx917: DMA driver Support
Browse files Browse the repository at this point in the history
Following Zephyr APIs are supported by siwg91x DMA
1. dma_api_config
2. dma_api_reload
3. dma_api_start
4. dma_api_stop
5. dma_api_get_status

Signed-off-by: Sai Santhosh Malae <[email protected]>
  • Loading branch information
smalae committed Nov 18, 2024
1 parent 16d7dd2 commit 756f377
Show file tree
Hide file tree
Showing 21 changed files with 1,213 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@
};
};

&udma0 {
status = "disabled";
};

&udma1 {
status = "disabled";
};

&pinctrl0 {
ulpuart0_default: ulpuart0_default {
out {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ toolchain:
supported:
- gpio
- i2c
- dma
- wifi
- bluetooth
vendor: silabs
1 change: 1 addition & 0 deletions drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ add_subdirectory(bluetooth)
add_subdirectory(entropy)
add_subdirectory(gpio)
add_subdirectory(pinctrl)
add_subdirectory(dma)
add_subdirectory(wifi)
4 changes: 4 additions & 0 deletions drivers/dma/CMakeLists.txt
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

zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_SIWX917 dma_silabs_siwx917.c)
8 changes: 8 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2024 Silicon Laboratories Inc.
# SPDX-License-Identifier: Apache-2.0

if DMA

rsource "Kconfig.siwx917"

endif
14 changes: 14 additions & 0 deletions drivers/dma/Kconfig.siwx917
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2024 Silicon Laboratories Inc.
# SPDX-License-Identifier: Apache-2.0

menuconfig DMA_SILABS_SIWX917
bool "Silabs SiWx917 DMA driver"
default y
depends on DT_HAS_SILABS_SIWX917_DMA_ENABLED
help
Enable the HP/ULP DMA driver for the Silabs SiWx917 SoC series.

config DMA_SILABS_SIWX917_COMMON_INIT_PRIORITY
int "Common initialization priority"
depends on DMA_SILABS_SIWX917
default 42
Loading

0 comments on commit 756f377

Please sign in to comment.