^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Texas Instruments DMA drivers
^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 TI_CPPI41
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "Texas Instruments CPPI 4.1 DMA support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) The Communications Port Programming Interface (CPPI) 4.1 DMA engine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) is currently used by the USB driver on AM335x and DA8xx platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) config TI_EDMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) tristate "Texas Instruments EDMA support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select DMA_VIRTUAL_CHANNELS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select TI_DMA_CROSSBAR if (ARCH_OMAP || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) default y
^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 TI EDMA (Enhanced DMA) controller. This DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) parts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config DMA_OMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) tristate "Texas Instruments sDMA (omap-dma) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) depends on ARCH_OMAP || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select DMA_VIRTUAL_CHANNELS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) select TI_DMA_CROSSBAR if (SOC_DRA7XX || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Enable support for the TI sDMA (System DMA or DMA4) controller. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) DMA engine is found on OMAP and DRA7xx parts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) config TI_K3_UDMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) bool "Texas Instruments UDMA support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) depends on ARCH_K3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) depends on TI_SCI_PROTOCOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on TI_SCI_INTA_IRQCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) select DMA_VIRTUAL_CHANNELS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) select TI_K3_RINGACC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select TI_K3_PSIL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Enable support for the TI UDMA (Unified DMA) controller. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) DMA engine is used in AM65x and j721e.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) config TI_K3_UDMA_GLUE_LAYER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) bool "Texas Instruments UDMA Glue layer for non DMAengine users"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) depends on ARCH_K3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) depends on TI_K3_UDMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Say y here to support the K3 NAVSS DMA glue interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config TI_K3_PSIL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) config TI_DMA_CROSSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) bool