blob: 7517b7c9255707eb70c239f775c989b803503ddf [file] [edit]
# Infineon CAT1 DMA configuration options
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
# an affiliate of Cypress Semiconductor Corporation
#
# SPDX-License-Identifier: Apache-2.0
config DMA_INFINEON_CAT1_HAL
bool "Infineon CAT1 DMA Legacy HAL-based driver"
default y
depends on DT_HAS_INFINEON_DMA_ENABLED
depends on USE_INFINEON_LEGACY_HAL
select USE_INFINEON_DMA
help
This option enables the legacy HAL-based DMA driver for Infineon CAT1 family.
config DMA_INFINEON_CAT1_PDL
bool "Infineon CAT1 DMA PDL-based driver"
default y
depends on DT_HAS_INFINEON_DMA_ENABLED
depends on !USE_INFINEON_LEGACY_HAL
select USE_INFINEON_DMA
help
This option enables the PDL-based DMA driver for Infineon CAT1 family.
config DMA_INFINEON_DESCRIPTOR_COUNT
int "Number of available descriptors per channel"
default 2
depends on DMA_INFINEON_CAT1_PDL
help
This option determines the number of descriptors that are allocated for each DMA
channel. This must be set to a value of 1 or greater.
config DMA_INFINEON
bool "Infineon DMAC PDL-based driver"
default y
depends on DT_HAS_INFINEON_DMAC_ENABLED
depends on !USE_INFINEON_LEGACY_HAL
select USE_INFINEON_DMA
help
This option enables the PDL-based DMAC driver for Infineon family.
config INFINEON_DESCRIPTOR_POOL_SIZE
int
default 10
depends on DMA_INFINEON_CAT1_PDL
help
This option provides the descritor pool size used for the DMA PDL driver
config INFINEON_DMA_MAX_XFERS
int "Maximum blocks to transfer"
default 4
depends on DT_HAS_INFINEON_DMAC_ENABLED
help
This option provides the maximum blocks allocated for the DMAC