firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_drivers-dma-Kconfig.patch

23 lines
971 B
Diff

--- linux-4.9.37/drivers/dma/Kconfig 2017-07-12 16:42:41.000000000 +0300
+++ linux-4.9.y/drivers/dma/Kconfig 2021-06-07 13:01:33.000000000 +0300
@@ -564,6 +564,19 @@
help
Support the DMA engine for ZTE ZX296702 platform devices.
+config EDMAC
+ tristate "Goke EDMAC Controller support"
+ depends on (ARCH_GK7205V300 || ARCH_GK7205V200 || ARCH_GK7202V300 || ARCH_GK7605V100)
+ 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.
+ Goke 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.
# driver files
source "drivers/dma/bestcomm/Kconfig"