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