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

dt-bindings: dma: adi,axi-dmac: deprecate adi,channels node

Deprecate the adi,channels node in the adi,axi-dmac binding. Prior to
IP version 4.3.a, this information was required. Since then, there are
memory-mapped registers that can be read to get the same information.

Acked-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20241216-axi-dma-dt-yaml-v3-2-7b994710c43f@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

David Lechner and committed by
Vinod Koul
06d53632 788726fc

+5 -15
+5 -15
Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml
··· 33 33 const: 1 34 34 35 35 adi,channels: 36 + deprecated: true 36 37 type: object 37 - description: This sub-node must contain a sub-node for each DMA channel. 38 + description: 39 + This sub-node must contain a sub-node for each DMA channel. This node is 40 + only required for IP versions older than 4.3.a and should otherwise be 41 + omitted. 38 42 additionalProperties: false 39 43 40 44 properties: ··· 117 113 - interrupts 118 114 - clocks 119 115 - "#dma-cells" 120 - - adi,channels 121 116 122 117 examples: 123 118 - | ··· 126 123 interrupts = <0 57 0>; 127 124 clocks = <&clkc 16>; 128 125 #dma-cells = <1>; 129 - 130 - adi,channels { 131 - #size-cells = <0>; 132 - #address-cells = <1>; 133 - 134 - dma-channel@0 { 135 - reg = <0>; 136 - adi,source-bus-width = <32>; 137 - adi,source-bus-type = <0>; /* Memory mapped */ 138 - adi,destination-bus-width = <64>; 139 - adi,destination-bus-type = <2>; /* FIFO */ 140 - }; 141 - }; 142 126 };