Adds an initial driver for HDA streams on cAVS. A common code base is provided for all HDA streams while the drivers are identified differently as they have small behavior differences. Uses dma_status to describe the positions for read/write. Uses dma_reload to inform when to move the read/write positions. This closely follows how HDA is being used in SoF Simple test case is provided for both drivers. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
52 lines
986 B
Plaintext
52 lines
986 B
Plaintext
# 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_64BIT
|
|
bool "DMA 64 bit address support"
|
|
help
|
|
When this option is true, 64 bit source and dest
|
|
DMA addresses are supported.
|
|
|
|
config DMA_INIT_PRIORITY
|
|
int "DMA init priority"
|
|
default KERNEL_INIT_PRIORITY_DEFAULT
|
|
help
|
|
DMA driver device initialization priority.
|
|
|
|
module = DMA
|
|
module-str = dma
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/dma/Kconfig.stm32"
|
|
|
|
source "drivers/dma/Kconfig.sam_xdmac"
|
|
|
|
source "drivers/dma/Kconfig.dw"
|
|
|
|
source "drivers/dma/Kconfig.nios2_msgdma"
|
|
|
|
source "drivers/dma/Kconfig.sam0"
|
|
|
|
source "drivers/dma/Kconfig.mcux_edma"
|
|
|
|
source "drivers/dma/Kconfig.mcux_lpc"
|
|
|
|
source "drivers/dma/Kconfig.dma_pl330"
|
|
|
|
source "drivers/dma/Kconfig.iproc_pax"
|
|
|
|
source "drivers/dma/Kconfig.cavs_gpdma"
|
|
|
|
source "drivers/dma/Kconfig.cavs_hda"
|
|
|
|
endif # DMA
|