39 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2 3config MTK_HSDMA4 tristate "MediaTek High-Speed DMA controller support"5 depends on ARCH_MEDIATEK || COMPILE_TEST6 select DMA_ENGINE7 select DMA_VIRTUAL_CHANNELS8 help9 Enable support for High-Speed DMA controller on MediaTek10 SoCs.11 12 This controller provides the channels which is dedicated to13 memory-to-memory transfer to offload from CPU through ring-14 based descriptor management.15 16config MTK_CQDMA17 tristate "MediaTek Command-Queue DMA controller support"18 depends on ARCH_MEDIATEK || COMPILE_TEST19 select DMA_ENGINE20 select DMA_VIRTUAL_CHANNELS21 select ASYNC_TX_ENABLE_CHANNEL_SWITCH22 help23 Enable support for Command-Queue DMA controller on MediaTek24 SoCs.25 26 This controller provides the channels which is dedicated to27 memory-to-memory transfer to offload from CPU.28 29config MTK_UART_APDMA30 tristate "MediaTek SoCs APDMA support for UART"31 depends on OF && SERIAL_8250_MT657732 select DMA_ENGINE33 select DMA_VIRTUAL_CHANNELS34 help35 Support for the UART DMA engine found on MediaTek MTK SoCs.36 When SERIAL_8250_MT6577 is enabled, and if you want to use DMA,37 you can enable the config. The DMA engine can only be used38 with MediaTek SoCs.39