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

dt-bindings: dmaengine: sprd: deprecate '#dma-channels'

The generic property, used in most of the drivers and defined in generic
dma-common DT bindings, is 'dma-channels'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220503065147.51728-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
54326f37 d0ad4238

+5 -2
+5 -2
Documentation/devicetree/bindings/dma/sprd-dma.txt
··· 8 8 - interrupts: Should contain one interrupt shared by all channel. 9 9 - #dma-cells: must be <1>. Used to represent the number of integer 10 10 cells in the dmas property of client device. 11 - - #dma-channels : Number of DMA channels supported. Should be 32. 11 + - dma-channels : Number of DMA channels supported. Should be 32. 12 12 - clock-names: Should contain the clock of the DMA controller. 13 13 - clocks: Should contain a clock specifier for each entry in clock-names. 14 + 15 + Deprecated properties: 16 + - #dma-channels : Number of DMA channels supported. Should be 32. 14 17 15 18 Example: 16 19 ··· 23 20 reg = <0x20100000 0x4000>; 24 21 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 25 22 #dma-cells = <1>; 26 - #dma-channels = <32>; 23 + dma-channels = <32>; 27 24 clock-names = "enable"; 28 25 clocks = <&clk_ap_ahb_gates 5>; 29 26 };