]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/dma/ti-dma-crossbar.c
dmaengine: ti-dma-crossbar: dra7: Support for reserving DMA event ranges
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 30 Oct 2015 08:00:37 +0000 (10:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 30 Nov 2015 09:39:16 +0000 (15:09 +0530)
commit0f73f3e85757091f40019b71077b41a717182b29
tree4f07b7ba263757b20c8daaa3862f7ca8b8eacf1b
parentec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e
dmaengine: ti-dma-crossbar: dra7: Support for reserving DMA event ranges

In eDMA the events are directly mapped to a DMA channel (for example DMA
event 14 can only be handled by DMA channel 14). If the memcpy is enabled
on the eDMA, there is a possibility that the crossbar driver would assign
DMA event number already allocated in eDMA for memcpy. Furthermore the
eDMA can be shared with DSP in which case the crossbar driver should also
avoid mapping xbar events to DSP used event numbers (or channels).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/ti-dma-crossbar.txt
drivers/dma/ti-dma-crossbar.c