dt-bindings: stm32-dma: add a property to handle STM32 DMAMUX
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Fri, 22 Sep 2017 07:31:31 +0000 (09:31 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 27 Sep 2017 10:31:35 +0000 (16:01 +0530)
STM32 DMA controller has to exposed its number of request line to be
addressed via STM32 DMAMUX.

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/stm32-dma.txt

index 4408af693d0cc75298e66c3c56af8f7521d3eb23..77542e1c7bde62d4b287aee7a7ddfe18fe4a0e16 100644 (file)
@@ -13,6 +13,7 @@ Required properties:
 - #dma-cells : Must be <4>. See DMA client paragraph for more details.
 
 Optional properties:
+- dma-requests : Number of DMA requests supported.
 - resets: Reference to a reset controller asserting the DMA controller
 - st,mem2mem: boolean; if defined, it indicates that the controller supports
   memory-to-memory transfer
@@ -34,12 +35,13 @@ Example:
                #dma-cells = <4>;
                st,mem2mem;
                resets = <&rcc 150>;
+               dma-requests = <8>;
        };
 
 * DMA client
 
 DMA clients connected to the STM32 DMA controller must use the format
-described in the dma.txt file, using a five-cell specifier for each
+described in the dma.txt file, using a four-cell specifier for each
 channel: a phandle to the DMA controller plus the following four integer cells:
 
 1. The channel id