treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / dma / dma-router.yaml
blob5b5f07393135d18f0b993b6c400b9433c801cae5
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/dma-router.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: DMA Router Generic Binding
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
12 allOf:
13   - $ref: "dma-common.yaml#"
15 description:
16   DMA routers are transparent IP blocks used to route DMA request
17   lines from devices to the DMA controller. Some SoCs (like TI DRA7x)
18   have more peripherals integrated with DMA requests than what the DMA
19   controller can handle directly.
21 properties:
22   $nodename:
23     pattern: "^dma-router(@.*)?$"
25   dma-masters:
26     $ref: /schemas/types.yaml#definitions/phandle-array
27     description:
28       Array of phandles to the DMA controllers the router can direct
29       the signal to.
31   dma-requests:
32     description:
33       Number of incoming request lines the router can handle.
35 required:
36   - "#dma-cells"
37   - dma-masters
39 examples:
40   - |
41     sdma_xbar: dma-router@4a002b78 {
42         compatible = "ti,dra7-dma-crossbar";
43         reg = <0x4a002b78 0xfc>;
44         #dma-cells = <1>;
45         dma-requests = <205>;
46         ti,dma-safe-map = <0>;
47         dma-masters = <&sdma>;
48     };
50 ...