Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: dma: Add Andestech atcdmac300 driver. #59041

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions boards/riscv/adp_xc7k_ae350/adp_xc7k_ae350.dts
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,7 @@
&wdt {
status = "okay";
};

&dma0 {
status = "okay";
};
1 change: 1 addition & 0 deletions boards/riscv/adp_xc7k_ae350/adp_xc7k_ae350.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ supported:
- watchdog
- mbox
- flash
- dma
testing:
ignore_tags:
- bluetooth
Expand Down
1 change: 1 addition & 0 deletions drivers/dma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ zephyr_library_sources_ifdef(CONFIG_DMA_XMC4XXX dma_xmc4xxx.c)
zephyr_library_sources_ifdef(CONFIG_DMA_RPI_PICO dma_rpi_pico.c)
zephyr_library_sources_ifdef(CONFIG_MCUX_PXP dma_mcux_pxp.c)
zephyr_library_sources_ifdef(CONFIG_DMA_MCUX_SMARTDMA dma_mcux_smartdma.c)
zephyr_library_sources_ifdef(CONFIG_DMA_ANDES_ATCDMAC300 dma_andes_atcdmac300.c)
2 changes: 2 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ source "drivers/dma/Kconfig.mcux_pxp"

source "drivers/dma/Kconfig.mcux_smartdma"

source "drivers/dma/Kconfig.andes_atcdmac300"

endif # DMA
12 changes: 12 additions & 0 deletions drivers/dma/Kconfig.andes_atcdmac300
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Andestech ATCDMAC300 configuration options
# Copyright (c) 2023 Andes Technology Corporation.

# SPDX-License-Identifier: Apache-2.0


config DMA_ANDES_ATCDMAC300
bool "Using Andes ATCDMAC300 DMA driver"
default y
depends on DT_HAS_ANDESTECH_ATCDMAC300_ENABLED
help
Andes ATCDMAC300 DMA driver.
Loading
Loading