Skip to content

Commit 17fbdc5

Browse files
LucasTamborcarlescufi
authored andcommitted
drivers: dma: esp32c3: add gdma driver
Add GDMA driver for esp32c3. Signed-off-by: Lucas Tamborrino <[email protected]>
1 parent 9421785 commit 17fbdc5

File tree

5 files changed

+627
-0
lines changed

5 files changed

+627
-0
lines changed

drivers/dma/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ zephyr_library_sources_ifdef(CONFIG_DMA_INTEL_ADSP_HDA_LINK_IN dma_intel_adsp_hd
2424
zephyr_library_sources_ifdef(CONFIG_DMA_INTEL_ADSP_HDA_LINK_OUT dma_intel_adsp_hda_link_out.c)
2525
zephyr_library_sources_ifdef(CONFIG_DMA_INTEL_ADSP_GPDMA dma_intel_adsp_gpdma.c dma_dw_common.c)
2626
zephyr_library_sources_ifdef(CONFIG_DMA_GD32 dma_gd32.c)
27+
zephyr_library_sources_ifdef(CONFIG_DMA_ESP32 dma_esp32_gdma.c)

drivers/dma/Kconfig

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

5151
source "drivers/dma/Kconfig.gd32"
5252

53+
source "drivers/dma/Kconfig.esp32"
54+
5355
endif # DMA

drivers/dma/Kconfig.esp32

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config DMA_ESP32
5+
bool "ESP32 General Purpose DMA driver"
6+
depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
7+
default y
8+
help
9+
General Purpose DMA for ESP32 series.

0 commit comments

Comments
 (0)