18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciconfig MTK_HSDMA
48c2ecf20Sopenharmony_ci	tristate "MediaTek High-Speed DMA controller support"
58c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
68c2ecf20Sopenharmony_ci	select DMA_ENGINE
78c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  Enable support for High-Speed DMA controller on MediaTek
108c2ecf20Sopenharmony_ci	  SoCs.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  This controller provides the channels which is dedicated to
138c2ecf20Sopenharmony_ci	  memory-to-memory transfer to offload from CPU through ring-
148c2ecf20Sopenharmony_ci	  based descriptor management.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig MTK_CQDMA
178c2ecf20Sopenharmony_ci	tristate "MediaTek Command-Queue DMA controller support"
188c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
198c2ecf20Sopenharmony_ci	select DMA_ENGINE
208c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
218c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
228c2ecf20Sopenharmony_ci	help
238c2ecf20Sopenharmony_ci	  Enable support for Command-Queue DMA controller on MediaTek
248c2ecf20Sopenharmony_ci	  SoCs.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	  This controller provides the channels which is dedicated to
278c2ecf20Sopenharmony_ci	  memory-to-memory transfer to offload from CPU.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig MTK_UART_APDMA
308c2ecf20Sopenharmony_ci	tristate "MediaTek SoCs APDMA support for UART"
318c2ecf20Sopenharmony_ci	depends on OF && SERIAL_8250_MT6577
328c2ecf20Sopenharmony_ci	select DMA_ENGINE
338c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  Support for the UART DMA engine found on MediaTek MTK SoCs.
368c2ecf20Sopenharmony_ci	  When SERIAL_8250_MT6577 is enabled, and if you want to use DMA,
378c2ecf20Sopenharmony_ci	  you can enable the config. The DMA engine can only be used
388c2ecf20Sopenharmony_ci	  with MediaTek SoCs.
39