usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver
[platform/kernel/u-boot.git] / drivers / dma / Kconfig
1 menu "DMA Support"
2
3 config DMA
4         bool "Enable Driver Model for DMA drivers"
5         depends on DM
6         help
7           Enable driver model for DMA. DMA engines can do
8           asynchronous data transfers without involving the host
9           CPU. Currently, this framework can be used to offload
10           memory copies to and from devices like qspi, ethernet
11           etc Drivers provide methods to access the DMA devices
12           buses that is used to transfer data to and from memory.
13           The uclass interface is defined in include/dma.h.
14
15 config DMA_CHANNELS
16         bool "Enable DMA channels support"
17         depends on DMA
18         help
19           Enable channels support for DMA. Some DMA controllers have multiple
20           channels which can either transfer data to/from different devices.
21
22 config SANDBOX_DMA
23         bool "Enable the sandbox DMA test driver"
24         depends on DMA && DMA_CHANNELS && SANDBOX
25         help
26           Enable support for a test DMA uclass implementation. It stimulates
27           DMA transfer by simple copying data between channels.
28
29 config BCM6348_IUDMA
30         bool "BCM6348 IUDMA driver"
31         depends on ARCH_BMIPS
32         select DMA_CHANNELS
33         help
34           Enable the BCM6348 IUDMA driver.
35           This driver support data transfer from devices to
36           memory and from memory to devices.
37
38 config DMA_LPC32XX
39         bool "LPC32XX DMA driver"
40         select DMA_LEGACY
41         help
42           Enable some legacy DMA code for lpc32xx. It provides some direct
43           functions likes lpc32xx_dma_wait_status() which can be called from
44           other code.
45
46           This should be converted to use driver model and UCLASS_DMA.
47
48 config TI_EDMA3
49         bool "TI EDMA3 driver"
50         select DMA_LEGACY
51         help
52           Enable the TI EDMA3 driver for DRA7xx and AM43xx evms.
53           This driver support data transfer between memory
54           regions.
55
56 config TI_KSNAV
57         bool "TI Keystone Navigator DMA driver"
58         depends on ARCH_KEYSTONE
59         default y
60         select DMA_LEGACY
61         help
62           Enable the Keystone Navigator driver for Keystone 2 platforms.
63
64 config APBH_DMA
65         bool "Support APBH DMA"
66         depends on MX23 || MX28 || MX6 || MX7 || IMX8 || IMX8M
67         select DMA_LEGACY
68         help
69           Enable APBH DMA driver.
70
71 config XILINX_DPDMA
72         bool "Enable ZynqMP Display Port DMA driver"
73         depends on DMA && ZYNQMP_POWER_DOMAIN
74         help
75           Enable support for Xilinx ZynqMP Display DMA driver. Currently
76           this file is used as placeholder for driver. The main reason is
77           to record compatible string and calling power domain driver.
78
79 if APBH_DMA
80 config APBH_DMA_BURST
81         bool "Enable DMA BURST"
82
83 config APBH_DMA_BURST8
84         bool "Enable DMA BURST8"
85
86 endif
87
88 config DMA_LEGACY
89         bool "Legacy DMA support"
90         default y if FSLDMAFEC
91         help
92           Enable legacy DMA support. This does not use driver model and should
93           be migrated to the new API.
94
95           It is required for some PowerPC boards.
96
97 source "drivers/dma/ti/Kconfig"
98
99 endmenu # menu "DMA Support"