2016-06-14 13:16:13 -07:00
|
|
|
# Kconfig - DMA configuration options
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-06-14 13:16:13 -07:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# DMA options
|
|
|
|
#
|
|
|
|
menuconfig DMA
|
|
|
|
bool
|
|
|
|
prompt "DMA driver Configuration"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if DMA
|
|
|
|
menuconfig DMA_QMSI
|
|
|
|
bool "Enable QMSI DMA driver"
|
|
|
|
default n
|
|
|
|
depends on QMSI
|
|
|
|
help
|
|
|
|
QMSI DMA driver.
|
|
|
|
|
2017-02-13 11:58:43 +00:00
|
|
|
menuconfig DMA_STM32F4X
|
|
|
|
bool "Enable STM32F4x DMA driver"
|
|
|
|
default n
|
|
|
|
depends on SOC_SERIES_STM32F4X
|
|
|
|
help
|
|
|
|
DMA driver for STM32F4x series SoCs.
|
|
|
|
|
2016-06-14 13:16:13 -07:00
|
|
|
config DMA_0_NAME
|
2017-02-13 12:10:22 +00:00
|
|
|
string "Device name for DMA Controller 0"
|
2016-06-14 13:16:13 -07:00
|
|
|
default "DMA_0"
|
|
|
|
help
|
2017-02-13 12:10:22 +00:00
|
|
|
Device name for DMA Controller 0.
|
2016-06-14 13:16:13 -07:00
|
|
|
|
|
|
|
config DMA_0_IRQ_PRI
|
2017-02-13 12:10:22 +00:00
|
|
|
int "IRQ Priority for DMA Controller 0"
|
2016-06-14 13:16:13 -07:00
|
|
|
default 3
|
|
|
|
help
|
|
|
|
IRQ Priority for the DMA Controller.
|
|
|
|
|
2017-02-17 12:08:06 +00:00
|
|
|
config DMA_0_RX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Rx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication from a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
|
|
|
config DMA_0_TX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Tx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication to a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
2017-02-13 12:10:22 +00:00
|
|
|
config DMA_1_NAME
|
|
|
|
string "Device name for DMA Controller 1"
|
|
|
|
default "DMA_1"
|
2016-10-13 11:39:09 +01:00
|
|
|
help
|
2017-02-13 12:10:22 +00:00
|
|
|
Device name for DMA Controller 1.
|
|
|
|
|
|
|
|
config DMA_1_IRQ_PRI
|
|
|
|
int "IRQ Priority for DMA Controller 1"
|
|
|
|
default 3
|
|
|
|
help
|
|
|
|
IRQ Priority for DMA Controller 1.
|
|
|
|
|
2017-02-17 12:08:06 +00:00
|
|
|
config DMA_1_RX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Rx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication from a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
|
|
|
config DMA_1_TX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Tx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication to a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
2017-02-13 12:10:22 +00:00
|
|
|
config DMA_2_NAME
|
|
|
|
string "Device name for DMA Controller 2"
|
|
|
|
default "DMA_2"
|
|
|
|
help
|
|
|
|
Device name for DMA Controller 2.
|
|
|
|
|
|
|
|
config DMA_2_IRQ_PRI
|
|
|
|
int "IRQ Priority for DMA Controller 2"
|
|
|
|
default 3
|
|
|
|
help
|
|
|
|
IRQ Priority for DMA Controller 2.
|
|
|
|
|
2017-02-17 12:08:06 +00:00
|
|
|
config DMA_2_RX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Rx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication from a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
|
|
|
config DMA_2_TX_SUB_CHANNEL_ID
|
|
|
|
int "Requested Tx sub-channel ID"
|
|
|
|
default 0
|
|
|
|
depends on DMA_STM32F4X
|
|
|
|
help
|
|
|
|
This configuartion is required to choose a valid sub-channel
|
|
|
|
for communication to a peripheral/device. Not required
|
|
|
|
for memory to memory comms.
|
|
|
|
|
2016-06-14 13:16:13 -07:00
|
|
|
endif # DMA
|