diff options
author | Long Cheng <long.cheng@mediatek.com> | 2019-04-27 11:36:30 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-06-07 15:36:45 +0530 |
commit | 9135408c3ace4f7201407b1ef79079c30340743e (patch) | |
tree | 3248ed792e01369c94f45ade5996abfff27d9d26 /drivers/dma/mediatek/Kconfig | |
parent | 2fe5575f36cacaab860ed9822eb6b2ea7b6a52ba (diff) |
dmaengine: mediatek: Add MediaTek UART APDMA support
Add 8250 UART APDMA to support MediaTek UART. If MediaTek UART is
enabled by SERIAL_8250_MT6577, and we can enable this driver to offload
the UART device moving bytes.
Signed-off-by: Long Cheng <long.cheng@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/mediatek/Kconfig')
-rw-r--r-- | drivers/dma/mediatek/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig index 680fc0572d87..ac49eb6c235e 100644 --- a/drivers/dma/mediatek/Kconfig +++ b/drivers/dma/mediatek/Kconfig @@ -24,3 +24,14 @@ config MTK_CQDMA This controller provides the channels which is dedicated to memory-to-memory transfer to offload from CPU. + +config MTK_UART_APDMA + tristate "MediaTek SoCs APDMA support for UART" + depends on OF && SERIAL_8250_MT6577 + select DMA_ENGINE + select DMA_VIRTUAL_CHANNELS + help + Support for the UART DMA engine found on MediaTek MTK SoCs. + When SERIAL_8250_MT6577 is enabled, and if you want to use DMA, + you can enable the config. The DMA engine can only be used + with MediaTek SoCs. |