Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config 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. This controller provides the channels which is dedicated to
  11. memory-to-memory transfer to offload from CPU through ring-
  12. based descriptor management.
  13. config MTK_CQDMA
  14. tristate "MediaTek Command-Queue DMA controller support"
  15. depends on ARCH_MEDIATEK || COMPILE_TEST
  16. select DMA_ENGINE
  17. select DMA_VIRTUAL_CHANNELS
  18. select ASYNC_TX_ENABLE_CHANNEL_SWITCH
  19. help
  20. Enable support for Command-Queue DMA controller on MediaTek
  21. SoCs.
  22. This controller provides the channels which is dedicated to
  23. memory-to-memory transfer to offload from CPU.
  24. config MTK_UART_APDMA
  25. tristate "MediaTek SoCs APDMA support for UART"
  26. depends on OF && SERIAL_8250_MT6577
  27. select DMA_ENGINE
  28. select DMA_VIRTUAL_CHANNELS
  29. help
  30. Support for the UART DMA engine found on MediaTek MTK SoCs.
  31. When SERIAL_8250_MT6577 is enabled, and if you want to use DMA,
  32. you can enable the config. The DMA engine can only be used
  33. with MediaTek SoCs.