Skip to content

Commit

Permalink
dmaengine: dma: Add Hiedma Controller v310 Device Driver
Browse files Browse the repository at this point in the history
Hisilicon EDMA Controller(EDMAC) directly transfers data
between a memory and a peripheral, between peripherals, or
between memories. This avoids the CPU intervention and reduces
the interrupt handling overhead of the CPU, this driver enables
this controller.

Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
  • Loading branch information
gengdongjiu1 authored and intel-lab-lkp committed Nov 13, 2020
1 parent d8d98a4 commit bafd07a
Show file tree
Hide file tree
Showing 4 changed files with 1,603 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,20 @@ config K3_DMA
Support the DMA engine for Hisilicon K3 platform
devices.

config HIEDMACV310
tristate "Hisilicon EDMAC Controller support"
depends on ARCH_HISI
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
The Direction Memory Access(EDMA) is a high-speed data transfer
operation. It supports data read/write between peripherals and
memories without using the CPU.
Hisilicon EDMA Controller(EDMAC) directly transfers data between
a memory and a peripheral, between peripherals, or between memories.
This avoids the CPU intervention and reduces the interrupt handling
overhead of the CPU.

config LPC18XX_DMAMUX
bool "NXP LPC18xx/43xx DMA MUX for PL080"
depends on ARCH_LPC18XX || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ obj-$(CONFIG_XGENE_DMA) += xgene-dma.o
obj-$(CONFIG_ZX_DMA) += zx_dma.o
obj-$(CONFIG_ST_FDMA) += st_fdma.o
obj-$(CONFIG_FSL_DPAA2_QDMA) += fsl-dpaa2-qdma/
obj-$(CONFIG_HIEDMACV310) += hiedmacv310.o

obj-y += mediatek/
obj-y += qcom/
Expand Down
Loading

0 comments on commit bafd07a

Please sign in to comment.