dmaengine: Add support for rockchip dma

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib37e0188b26b9212b1f48aebb903709c0e20843d
This commit is contained in:
Sugar Zhang
2024-06-12 15:04:21 +08:00
committed by Tao Huang
parent 15d421f84d
commit 3f8d95174b
3 changed files with 1337 additions and 0 deletions

View File

@@ -558,6 +558,14 @@ config PLX_DMA
These are exposed via extra functions on the switch's
upstream port. Each function exposes one DMA channel.
config ROCKCHIP_DMA
tristate "Rockchip DMA support"
depends on ARCH_ROCKCHIP || COMPILE_TEST
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
Support the DMA engine for Rockchip family platform devices.
config STE_DMA40
bool "ST-Ericsson DMA40 support"
depends on ARCH_U8500

View File

@@ -65,6 +65,7 @@ obj-$(CONFIG_PLX_DMA) += plx_dma.o
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
obj-$(CONFIG_PXA_DMA) += pxa_dma.o
obj-$(CONFIG_RENESAS_DMA) += sh/
obj-$(CONFIG_ROCKCHIP_DMA) += rockchip-dma.o
obj-$(CONFIG_SF_PDMA) += sf-pdma/
obj-$(CONFIG_STE_DMA40) += ste_dma40.o ste_dma40_ll.o
obj-$(CONFIG_STM32_DMA) += stm32-dma.o

1328
drivers/dma/rockchip-dma.c Normal file

File diff suppressed because it is too large Load Diff