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

dt-bindings: dmaengine: mmp: deprecate '#dma-channels' and '#dma-requests'

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>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
bd1eca7b 2cdd3ca6

+6 -4
+6 -4
Documentation/devicetree/bindings/dma/mmp-dma.txt
··· 10 10 or one irq for pdma device 11 11 12 12 Optional properties: 13 - - #dma-channels: Number of DMA channels supported by the controller (defaults 13 + - dma-channels: Number of DMA channels supported by the controller (defaults 14 14 to 32 when not specified) 15 - - #dma-requests: Number of DMA requestor lines supported by the controller 15 + - #dma-channels: deprecated 16 + - dma-requests: Number of DMA requestor lines supported by the controller 16 17 (defaults to 32 when not specified) 18 + - #dma-requests: deprecated 17 19 18 20 "marvell,pdma-1.0" 19 21 Used platforms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688. ··· 35 33 reg = <0xd4000000 0x10000>; 36 34 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>; 37 35 interrupt-parent = <&intcmux32>; 38 - #dma-channels = <16>; 36 + dma-channels = <16>; 39 37 }; 40 38 41 39 /* ··· 47 45 compatible = "marvell,pdma-1.0"; 48 46 reg = <0xd4000000 0x10000>; 49 47 interrupts = <47>; 50 - #dma-channels = <16>; 48 + dma-channels = <16>; 51 49 }; 52 50 53 51