Mugunthan V N | 8c3c918 | 2016-02-15 15:31:37 +0530 | [diff] [blame] | 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 | |
Álvaro Fernández Rojas | d8cedab | 2018-11-28 19:17:50 +0100 | [diff] [blame] | 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 | |
Grygorii Strashko | 19ebf0b | 2018-11-28 19:17:51 +0100 | [diff] [blame] | 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 | |
Álvaro Fernández Rojas | 1b412c5 | 2018-12-01 19:00:15 +0100 | [diff] [blame] | 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 | |
Simon Glass | 4000e1b | 2021-08-08 12:20:21 -0600 | [diff] [blame] | 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 | |
Mugunthan V N | 7e435fb | 2016-02-15 15:31:38 +0530 | [diff] [blame] | 48 | config TI_EDMA3 |
| 49 | bool "TI EDMA3 driver" |
Simon Glass | 9cf0079 | 2021-08-08 12:20:19 -0600 | [diff] [blame] | 50 | select DMA_LEGACY |
Mugunthan V N | 7e435fb | 2016-02-15 15:31:38 +0530 | [diff] [blame] | 51 | help |
| 52 | Enable the TI EDMA3 driver for DRA7xx and AM43xx evms. |
| 53 | This driver support data transfer between memory |
| 54 | regions. |
| 55 | |
Adam Ford | a456d56 | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 56 | config APBH_DMA |
| 57 | bool "Support APBH DMA" |
Peng Fan | 128abf4 | 2020-05-04 22:09:00 +0800 | [diff] [blame] | 58 | depends on MX23 || MX28 || MX6 || MX7 || IMX8 || IMX8M |
Simon Glass | 2710f9f | 2021-08-08 12:20:22 -0600 | [diff] [blame] | 59 | select DMA_LEGACY |
Adam Ford | a456d56 | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 60 | help |
| 61 | Enable APBH DMA driver. |
| 62 | |
Simon Glass | 4000e1b | 2021-08-08 12:20:21 -0600 | [diff] [blame] | 63 | |
Adam Ford | a456d56 | 2018-02-06 08:34:45 -0600 | [diff] [blame] | 64 | if APBH_DMA |
| 65 | config APBH_DMA_BURST |
| 66 | bool "Enable DMA BURST" |
| 67 | |
| 68 | config APBH_DMA_BURST8 |
| 69 | bool "Enable DMA BURST8" |
| 70 | |
| 71 | endif |
| 72 | |
Simon Glass | 9cf0079 | 2021-08-08 12:20:19 -0600 | [diff] [blame] | 73 | config DMA_LEGACY |
| 74 | bool "Legacy DMA support" |
| 75 | default y if FSLDMAFEC |
| 76 | help |
| 77 | Enable legacy DMA support. This does not use driver model and should |
| 78 | be migrated to the new API. |
| 79 | |
| 80 | It is required for some PowerPC boards. |
| 81 | |
Vignesh R | 3a9dbf3 | 2019-02-05 17:31:24 +0530 | [diff] [blame] | 82 | source "drivers/dma/ti/Kconfig" |
| 83 | |
Mugunthan V N | 8c3c918 | 2016-02-15 15:31:37 +0530 | [diff] [blame] | 84 | endmenu # menu "DMA Support" |