dt-bindings: dmaengine: mmp: deprecate '#dma-channels' and '#dma-requests'
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 3 May 2022 06:54:04 +0000 (08:54 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 17:23:46 +0000 (22:53 +0530)
The generic properties, used in most of the drivers and defined in
generic dma-common DT bindings, are 'dma-channels' and 'dma-requests'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220503065407.52188-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/mmp-dma.txt

index 8f7364a..ec18bf0 100644 (file)
@@ -10,10 +10,12 @@ Required properties:
                or one irq for pdma device
 
 Optional properties:
-- #dma-channels: Number of DMA channels supported by the controller (defaults
+- dma-channels: Number of DMA channels supported by the controller (defaults
   to 32 when not specified)
-- #dma-requests: Number of DMA requestor lines supported by the controller
+- #dma-channels: deprecated
+- dma-requests: Number of DMA requestor lines supported by the controller
   (defaults to 32 when not specified)
+- #dma-requests: deprecated
 
 "marvell,pdma-1.0"
 Used platforms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688.
@@ -33,7 +35,7 @@ pdma: dma-controller@d4000000 {
              reg = <0xd4000000 0x10000>;
              interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>;
              interrupt-parent = <&intcmux32>;
-             #dma-channels = <16>;
+             dma-channels = <16>;
       };
 
 /*
@@ -45,7 +47,7 @@ pdma: dma-controller@d4000000 {
              compatible = "marvell,pdma-1.0";
              reg = <0xd4000000 0x10000>;
              interrupts = <47>;
-             #dma-channels = <16>;
+             dma-channels = <16>;
       };