1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config DMA_NXP_EDMA
5	bool "NXP enhanced Direct Memory Access (eDMA) driver"
6	default y
7	depends on DT_HAS_NXP_EDMA_ENABLED
8	help
9		Enable driver for NXP's eDMA IP.
10
11if DMA_NXP_EDMA
12
13config DMA_NXP_EDMA_ALIGN
14	int "Alignment (in bytes) required for the transfers"
15	default 8
16	help
17		Use this to set the alignment (in bytes)
18		used by entities employing this driver to
19		adjust the addresses and sizes of the memory
20		regions involved in the transfer process.
21		This value needs to match one of the possible
22		values for SSIZE and DSIZE, otherwise the
23		driver will return an error upon configuration.
24
25config DMA_NXP_EDMA_ENABLE_HALFMAJOR_IRQ
26	bool "Set if CPU should be interrupted when CITER = BITER / 2"
27	default n
28	help
29		Enable this configuration if the CPU should be
30		interrupted when CITER = BITER / 2. Using this,
31		the CPU will be interrupted when CITER = BITER and
32		when CITER = BITER / 2.
33
34endif # DMA_NXP_EDMA
35