diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-21 20:06:22 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-21 20:06:22 -0500 |
| commit | 97a229f90731894f46b85c20bcc1842f4a63cb78 (patch) | |
| tree | 4c3e123eb1aab97b1d6c2e494b348b935414b84a /include/linux/platform_data | |
| parent | ff58d005cd10fcd372787cceac547e11cf706ff6 (diff) | |
| parent | 1ad651154b0dfccde5a83fafbe81cff19791f359 (diff) | |
Merge tag 'dmaengine-4.11-rc1' of git://git.infradead.org/users/vkoul/slave-dma
Pull dmaengine updates from Vinod Koul:
"This time we fairly boring and bit small update.
- Support for Intel iDMA 32-bit hardware
- deprecate broken support for channel switching in async_tx
- bunch of updates on stm32-dma
- Cyclic support for zx dma and making in generic zx dma driver
- Small updates to bunch of other drivers"
* tag 'dmaengine-4.11-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (29 commits)
async_tx: deprecate broken support for channel switching
dmaengine: rcar-dmac: Widen DMA mask to 40 bits
dmaengine: sun6i: allow build on ARM64 platforms (sun50i)
dmaengine: Provide a wrapper for memcpy operations
dmaengine: zx: fix build warning
dmaengine: dw: we do support Merrifield SoC in PCI mode
dmaengine: dw: add support of iDMA 32-bit hardware
dmaengine: dw: introduce register mappings for iDMA 32-bit
dmaengine: dw: introduce block2bytes() and bytes2block()
dmaengine: dw: extract dwc_chan_pause() for future use
dmaengine: dw: replace convert_burst() with one liner
dmaengine: dw: register IRQ and DMA pool with instance ID
dmaengine: dw: Fix data corruption in large device to memory transfers
dmaengine: ste_dma40: indicate granularity on channels
dmaengine: ste_dma40: indicate directions on channels
dmaengine: stm32-dma: Add error messages if xlate fails
dmaengine: dw: pci: remove LPE Audio DMA ID
dmaengine: stm32-dma: Add max_burst support
dmaengine: stm32-dma: Add synchronization support
dmaengine: stm32-dma: Fix residue computation issue in cyclic mode
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-dw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-dw.h b/include/linux/platform_data/dma-dw.h index e69e415d0d98..896cb71a382c 100644 --- a/include/linux/platform_data/dma-dw.h +++ b/include/linux/platform_data/dma-dw.h | |||
| @@ -41,6 +41,7 @@ struct dw_dma_slave { | |||
| 41 | * @is_private: The device channels should be marked as private and not for | 41 | * @is_private: The device channels should be marked as private and not for |
| 42 | * by the general purpose DMA channel allocator. | 42 | * by the general purpose DMA channel allocator. |
| 43 | * @is_memcpy: The device channels do support memory-to-memory transfers. | 43 | * @is_memcpy: The device channels do support memory-to-memory transfers. |
| 44 | * @is_idma32: The type of the DMA controller is iDMA32 | ||
| 44 | * @chan_allocation_order: Allocate channels starting from 0 or 7 | 45 | * @chan_allocation_order: Allocate channels starting from 0 or 7 |
| 45 | * @chan_priority: Set channel priority increasing from 0 to 7 or 7 to 0. | 46 | * @chan_priority: Set channel priority increasing from 0 to 7 or 7 to 0. |
| 46 | * @block_size: Maximum block size supported by the controller | 47 | * @block_size: Maximum block size supported by the controller |
| @@ -53,6 +54,7 @@ struct dw_dma_platform_data { | |||
| 53 | unsigned int nr_channels; | 54 | unsigned int nr_channels; |
| 54 | bool is_private; | 55 | bool is_private; |
| 55 | bool is_memcpy; | 56 | bool is_memcpy; |
| 57 | bool is_idma32; | ||
| 56 | #define CHAN_ALLOCATION_ASCENDING 0 /* zero to seven */ | 58 | #define CHAN_ALLOCATION_ASCENDING 0 /* zero to seven */ |
| 57 | #define CHAN_ALLOCATION_DESCENDING 1 /* seven to zero */ | 59 | #define CHAN_ALLOCATION_DESCENDING 1 /* seven to zero */ |
| 58 | unsigned char chan_allocation_order; | 60 | unsigned char chan_allocation_order; |
