Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: dma: ti-edma: Document dma-channel-mask for EDMA

Similarly to paRAM slots, channels can be used by other cores.

The common dma-channel-mask property can be used for specifying the
available channels.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20191025073056.25450-3-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Peter Ujfalusi and committed by
Vinod Koul
115b60a9 4868d87c

+8
+8
Documentation/devicetree/bindings/dma/ti-edma.txt
··· 42 42 - ti,edma-reserved-slot-ranges: PaRAM slot ranges which should not be used by 43 43 the driver, they are allocated to be used by for example the 44 44 DSP. See example. 45 + - dma-channel-mask: Mask of usable channels. 46 + Single uint32 for EDMA with 32 channels, array of two uint32 for 47 + EDMA with 64 channels. See example and 48 + Documentation/devicetree/bindings/dma/dma-common.yaml 49 + 45 50 46 51 ------------------------------------------------------------------------------ 47 52 eDMA3 Transfer Controller ··· 96 91 ti,edma-memcpy-channels = <20 21>; 97 92 /* The following PaRAM slots are reserved: 35-44 and 100-109 */ 98 93 ti,edma-reserved-slot-ranges = <35 10>, <100 10>; 94 + /* The following channels are reserved: 35-44 */ 95 + dma-channel-mask = <0xffffffff /* Channel 0-31 */ 96 + 0xffffe007>; /* Channel 32-63 */ 99 97 }; 100 98 101 99 edma_tptc0: tptc@49800000 {