Skip to content

Commit 01252ad

Browse files
npal-cykartben
authored andcommitted
drivers: dma: initial implementation CAT1 DMA driver
Initial implementation of DMA driver for CAT1 device Signed-off-by: Nazar Palamar <[email protected]>
1 parent bcaa59d commit 01252ad

File tree

14 files changed

+947
-3
lines changed

14 files changed

+947
-3
lines changed

drivers/dma/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ zephyr_library_sources_ifdef(CONFIG_MCUX_PXP dma_mcux_pxp.c)
3737
zephyr_library_sources_ifdef(CONFIG_DMA_MAX32 dma_max32.c)
3838
zephyr_library_sources_ifdef(CONFIG_DMA_MCUX_SMARTDMA dma_mcux_smartdma.c)
3939
zephyr_library_sources_ifdef(CONFIG_DMA_ANDES_ATCDMAC300 dma_andes_atcdmac300.c)
40+
zephyr_library_sources_ifdef(CONFIG_DMA_INFINEON_CAT1 dma_ifx_cat1.c)
4041
zephyr_library_sources_ifdef(CONFIG_DMA_SEDI dma_sedi.c)
4142
zephyr_library_sources_ifdef(CONFIG_DMA_SI32 dma_si32.c)
4243
zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_LDMA dma_silabs_ldma.c)

drivers/dma/Kconfig

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

5959
source "drivers/dma/Kconfig.rpi_pico"
6060

61+
source "drivers/dma/Kconfig.ifx_cat1"
62+
6163
source "drivers/dma/Kconfig.intel_lpss"
6264

6365
source "drivers/dma/Kconfig.mcux_pxp"

drivers/dma/Kconfig.ifx_cat1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Infineon CAT1 DMA configuration options
2+
3+
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
4+
# an affiliate of Cypress Semiconductor Corporation
5+
#
6+
# SPDX-License-Identifier: Apache-2.0
7+
8+
config DMA_INFINEON_CAT1
9+
bool "Infineon CAT1 DMA driver"
10+
default y
11+
depends on DT_HAS_INFINEON_CAT1_DMA_ENABLED
12+
select USE_INFINEON_DMA
13+
help
14+
This option enables the DMA driver for Infineon CAT1 family.

0 commit comments

Comments
 (0)