xref: /openbmc/linux/drivers/dma/ti/Kconfig (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2d88b1397SPeter Ujfalusi#
3d88b1397SPeter Ujfalusi# Texas Instruments DMA drivers
4d88b1397SPeter Ujfalusi#
5d88b1397SPeter Ujfalusi
6d88b1397SPeter Ujfalusiconfig TI_CPPI41
7d88b1397SPeter Ujfalusi	tristate "Texas Instruments CPPI 4.1 DMA support"
8d88b1397SPeter Ujfalusi	depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX)
9d88b1397SPeter Ujfalusi	select DMA_ENGINE
10d88b1397SPeter Ujfalusi	help
11d88b1397SPeter Ujfalusi	  The Communications Port Programming Interface (CPPI) 4.1 DMA engine
12d88b1397SPeter Ujfalusi	  is currently used by the USB driver on AM335x and DA8xx platforms.
13d88b1397SPeter Ujfalusi
14d88b1397SPeter Ujfalusiconfig TI_EDMA
15d88b1397SPeter Ujfalusi	tristate "Texas Instruments EDMA support"
16d88b1397SPeter Ujfalusi	depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE || COMPILE_TEST
17d88b1397SPeter Ujfalusi	select DMA_ENGINE
18d88b1397SPeter Ujfalusi	select DMA_VIRTUAL_CHANNELS
19d88b1397SPeter Ujfalusi	select TI_DMA_CROSSBAR if (ARCH_OMAP || COMPILE_TEST)
20d88b1397SPeter Ujfalusi	default y
21d88b1397SPeter Ujfalusi	help
22d88b1397SPeter Ujfalusi	  Enable support for the TI EDMA (Enhanced DMA) controller. This DMA
23d88b1397SPeter Ujfalusi	  engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2
24d88b1397SPeter Ujfalusi	  parts.
25d88b1397SPeter Ujfalusi
26d88b1397SPeter Ujfalusiconfig DMA_OMAP
27d88b1397SPeter Ujfalusi	tristate "Texas Instruments sDMA (omap-dma) support"
28d88b1397SPeter Ujfalusi	depends on ARCH_OMAP || COMPILE_TEST
29d88b1397SPeter Ujfalusi	select DMA_ENGINE
30d88b1397SPeter Ujfalusi	select DMA_VIRTUAL_CHANNELS
31d88b1397SPeter Ujfalusi	select TI_DMA_CROSSBAR if (SOC_DRA7XX || COMPILE_TEST)
32d88b1397SPeter Ujfalusi	default y
33d88b1397SPeter Ujfalusi	help
34d88b1397SPeter Ujfalusi	  Enable support for the TI sDMA (System DMA or DMA4) controller. This
35d88b1397SPeter Ujfalusi	  DMA engine is found on OMAP and DRA7xx parts.
36d88b1397SPeter Ujfalusi
3725dcb5ddSPeter Ujfalusiconfig TI_K3_UDMA
3856b0a668SKevin Hilman	tristate "Texas Instruments UDMA support"
3902246744SPeter Ujfalusi	depends on ARCH_K3
4025dcb5ddSPeter Ujfalusi	depends on TI_SCI_PROTOCOL
4125dcb5ddSPeter Ujfalusi	depends on TI_SCI_INTA_IRQCHIP
4225dcb5ddSPeter Ujfalusi	select DMA_ENGINE
4325dcb5ddSPeter Ujfalusi	select DMA_VIRTUAL_CHANNELS
4425dcb5ddSPeter Ujfalusi	select TI_K3_RINGACC
4525dcb5ddSPeter Ujfalusi	select TI_K3_PSIL
4625dcb5ddSPeter Ujfalusi        help
4725dcb5ddSPeter Ujfalusi	  Enable support for the TI UDMA (Unified DMA) controller. This
4825dcb5ddSPeter Ujfalusi	  DMA engine is used in AM65x and j721e.
4925dcb5ddSPeter Ujfalusi
50d7024191SGrygorii Strashkoconfig TI_K3_UDMA_GLUE_LAYER
5156b0a668SKevin Hilman	tristate "Texas Instruments UDMA Glue layer for non DMAengine users"
5202246744SPeter Ujfalusi	depends on ARCH_K3
53d7024191SGrygorii Strashko	depends on TI_K3_UDMA
54d7024191SGrygorii Strashko	help
55d7024191SGrygorii Strashko	  Say y here to support the K3 NAVSS DMA glue interface
56d7024191SGrygorii Strashko	  If unsure, say N.
57d7024191SGrygorii Strashko
588c6bb62fSPeter Ujfalusiconfig TI_K3_PSIL
59*d15aae73SKevin Hilman       tristate
60*d15aae73SKevin Hilman       default TI_K3_UDMA
618c6bb62fSPeter Ujfalusi
62d88b1397SPeter Ujfalusiconfig TI_DMA_CROSSBAR
63d88b1397SPeter Ujfalusi	bool
64