Loading drivers/dma/mediatek/Kconfig +13 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,16 @@ config MTK_HSDMA This controller provides the channels which is dedicated to memory-to-memory transfer to offload from CPU through ring- based descriptor management. config MTK_CQDMA tristate "MediaTek Command-Queue DMA controller support" depends on ARCH_MEDIATEK || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS select ASYNC_TX_ENABLE_CHANNEL_SWITCH help Enable support for Command-Queue DMA controller on MediaTek SoCs. This controller provides the channels which is dedicated to memory-to-memory transfer to offload from CPU. drivers/dma/mediatek/Makefile +1 −0 Original line number Diff line number Diff line obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o obj-$(CONFIG_MTK_CQDMA) += mtk-cqdma.o drivers/dma/mediatek/mtk-cqdma.c 0 → 100644 +951 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
drivers/dma/mediatek/Kconfig +13 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,16 @@ config MTK_HSDMA This controller provides the channels which is dedicated to memory-to-memory transfer to offload from CPU through ring- based descriptor management. config MTK_CQDMA tristate "MediaTek Command-Queue DMA controller support" depends on ARCH_MEDIATEK || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS select ASYNC_TX_ENABLE_CHANNEL_SWITCH help Enable support for Command-Queue DMA controller on MediaTek SoCs. This controller provides the channels which is dedicated to memory-to-memory transfer to offload from CPU.
drivers/dma/mediatek/Makefile +1 −0 Original line number Diff line number Diff line obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o obj-$(CONFIG_MTK_CQDMA) += mtk-cqdma.o
drivers/dma/mediatek/mtk-cqdma.c 0 → 100644 +951 −0 File added.Preview size limit exceeded, changes collapsed. Show changes