Skip to content

Commit 06d5363

Browse files
dlechvinodkoul
authored andcommitted
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>
1 parent 788726f commit 06d5363

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ properties:
3333
const: 1
3434

3535
adi,channels:
36+
deprecated: true
3637
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.
3842
additionalProperties: false
3943

4044
properties:
@@ -113,7 +117,6 @@ required:
113117
- interrupts
114118
- clocks
115119
- "#dma-cells"
116-
- adi,channels
117120

118121
examples:
119122
- |
@@ -123,17 +126,4 @@ examples:
123126
interrupts = <0 57 0>;
124127
clocks = <&clkc 16>;
125128
#dma-cells = <1>;
126-
127-
adi,channels {
128-
#size-cells = <0>;
129-
#address-cells = <1>;
130-
131-
dma-channel@0 {
132-
reg = <0>;
133-
adi,source-bus-width = <32>;
134-
adi,source-bus-type = <0>; /* Memory mapped */
135-
adi,destination-bus-width = <64>;
136-
adi,destination-bus-type = <2>; /* FIFO */
137-
};
138-
};
139129
};

0 commit comments

Comments
 (0)