diff options
author | John Stultz <[email protected]> | 2019-01-24 12:24:17 -0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-02-04 14:30:28 +0530 |
commit | e2d896c08ca3136f1f4c0cd225cdf09f87fa528b (patch) | |
tree | 84a4c1b0069a968d5ddc3a7c919bb9a26e2d1b2f | |
parent | 50fdb52a7cda63828441cc1e7c05f1d0b77e833a (diff) |
Documentation: bindings: dma: Add binding for dma-channel-mask
Some dma channels can be reserved for secure mode or other
hardware on the SoC, so provide a binding for a bitmask
listing the available channels for the kernel to use.
This follows the pre-existing bcm,dma-channel-mask binding.
Cc: Vinod Koul <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Tanglei Han <[email protected]>
Cc: Zhuangluan Su <[email protected]>
Cc: Ryan Grachek <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/dma/dma.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/dma/dma.txt b/Documentation/devicetree/bindings/dma/dma.txt index 6312fb00ce8d..eeb4e4d1771e 100644 --- a/Documentation/devicetree/bindings/dma/dma.txt +++ b/Documentation/devicetree/bindings/dma/dma.txt @@ -16,6 +16,9 @@ Optional properties: - dma-channels: Number of DMA channels supported by the controller. - dma-requests: Number of DMA request signals supported by the controller. +- dma-channel-mask: Bitmask of available DMA channels in ascending order + that are not reserved by firmware and are available to + the kernel. i.e. first channel corresponds to LSB. Example: @@ -29,6 +32,7 @@ Example: #dma-cells = <1>; dma-channels = <32>; dma-requests = <127>; + dma-channel-mask = <0xfffe> }; * DMA router |