xref: /openbmc/linux/drivers/dma/mediatek/Kconfig (revision 9135408c)
1
2config MTK_HSDMA
3	tristate "MediaTek High-Speed DMA controller support"
4	depends on ARCH_MEDIATEK || COMPILE_TEST
5	select DMA_ENGINE
6	select DMA_VIRTUAL_CHANNELS
7	---help---
8	  Enable support for High-Speed DMA controller on MediaTek
9	  SoCs.
10
11	  This controller provides the channels which is dedicated to
12	  memory-to-memory transfer to offload from CPU through ring-
13	  based descriptor management.
14
15config MTK_CQDMA
16	tristate "MediaTek Command-Queue DMA controller support"
17	depends on ARCH_MEDIATEK || COMPILE_TEST
18	select DMA_ENGINE
19	select DMA_VIRTUAL_CHANNELS
20	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
21	help
22	  Enable support for Command-Queue DMA controller on MediaTek
23	  SoCs.
24
25	  This controller provides the channels which is dedicated to
26	  memory-to-memory transfer to offload from CPU.
27
28config MTK_UART_APDMA
29	tristate "MediaTek SoCs APDMA support for UART"
30	depends on OF && SERIAL_8250_MT6577
31	select DMA_ENGINE
32	select DMA_VIRTUAL_CHANNELS
33	help
34	  Support for the UART DMA engine found on MediaTek MTK SoCs.
35	  When SERIAL_8250_MT6577 is enabled, and if you want to use DMA,
36	  you can enable the config. The DMA engine can only be used
37	  with MediaTek SoCs.
38