zephyr/drivers/dma/Kconfig
Michael Hope ba21de582b drivers: dma: Add SAM0 DMAC driver
This adds support for the SAM0 DMA Controller (DMAC).  Chained
transfer are not currently implemented.

Tested with tests/drivers/dma/loop_transfer and custom modifications
to that test using three parallel reloading channels.  Also tested
with a trivial program that did memory->serial.

Signed-off-by: Michael Hope <mlhx@google.com>

[hageman@inthat.cloud: Rebased and updated commit message]
Signed-off-by: Derek Hageman <hageman@inthat.cloud>
2019-05-02 19:20:12 -05:00

69 lines
1.2 KiB
Plaintext

# Kconfig - DMA configuration options
#
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#
# DMA options
#
menuconfig DMA
bool "DMA driver Configuration"
if DMA
config DMA_0_NAME
string "Device name for DMA Controller 0"
default "DMA_0"
help
Device name for DMA Controller 0.
config DMA_0_IRQ_PRI
int "IRQ Priority for DMA Controller 0"
default 3
help
IRQ Priority for the DMA Controller.
config DMA_1_NAME
string "Device name for DMA Controller 1"
default "DMA_1"
help
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.
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.
module = DMA
module-str = dma
source "subsys/logging/Kconfig.template.log_config"
source "drivers/dma/Kconfig.qmsi"
source "drivers/dma/Kconfig.stm32f4x"
source "drivers/dma/Kconfig.sam_xdmac"
source "drivers/dma/Kconfig.cavs"
source "drivers/dma/Kconfig.nios2_msgdma"
source "drivers/dma/Kconfig.sam0"
endif # DMA