summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mediatek/Kconfig
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-03-15 15:40:36 +0800
committerVinod Koul <vinod.koul@intel.com>2018-03-27 15:18:15 +0530
commit548c4597e984b79aad8190235d664f1c3a433f94 (patch)
tree94d5a3faf9fea79c55cae410d342f6346b1512a3 /drivers/dma/mediatek/Kconfig
parent33f32c0e1eb710fb9bca647e0e9b439d88961ea9 (diff)
downloadlinux-548c4597e984b79aad8190235d664f1c3a433f94.tar.gz
linux-548c4597e984b79aad8190235d664f1c3a433f94.tar.bz2
linux-548c4597e984b79aad8190235d664f1c3a433f94.zip
dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC
MediaTek High-Speed DMA controller (HSDMA) on MT7622 and MT7623 SoC has a single ring is dedicated to memory-to-memory transfer through ring based descriptor management. Even though there is only one physical ring available inside HSDMA, the driver can be easily extended to the support of multiple virtual channels processing simultaneously by means of DMA_VIRTUAL_CHANNELS effort. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Fengguang Wu <fengguang.wu@intel.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mediatek/Kconfig')
-rw-r--r--drivers/dma/mediatek/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig
new file mode 100644
index 000000000000..27bac0bba09e
--- /dev/null
+++ b/drivers/dma/mediatek/Kconfig
@@ -0,0 +1,13 @@
+
+config MTK_HSDMA
+ tristate "MediaTek High-Speed DMA controller support"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ select DMA_ENGINE
+ select DMA_VIRTUAL_CHANNELS
+ ---help---
+ Enable support for High-Speed DMA controller on MediaTek
+ SoCs.
+
+ This controller provides the channels which is dedicated to
+ memory-to-memory transfer to offload from CPU through ring-
+ based descriptor management.