^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # DMA engine configuration for sh
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config RENESAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) # DMA Engine Helpers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) config SH_DMAE_BASE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) bool "Renesas SuperH DMA Engine support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) depends on SUPERH || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on !SUPERH || SH_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) depends on !SH_DMA_API
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select RENESAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Enable support for the Renesas SuperH DMA controllers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) # DMA Controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) config SH_DMAE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) tristate "Renesas SuperH DMAC support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) depends on SH_DMAE_BASE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Enable support for the Renesas SuperH DMA controllers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) config RCAR_DMAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) tristate "Renesas R-Car Gen{2,3} and RZ/G{1,2} DMA Controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) depends on ARCH_RENESAS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) select RENESAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) This driver supports the general purpose DMA controller found in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Renesas R-Car Gen{2,3} and RZ/G{1,2} SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) config RENESAS_USB_DMAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) tristate "Renesas USB-DMA Controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) depends on ARCH_RENESAS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select RENESAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) select DMA_VIRTUAL_CHANNELS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) This driver supports the USB-DMA controller found in the Renesas
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) SoCs.