treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / dma / dma-controller.yaml
blobc39f6de76670d32db8e25c653d71700adb7cf219
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/dma-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: DMA Controller Generic Binding
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
12 allOf:
13   - $ref: "dma-common.yaml#"
15 # Everything else is described in the common file
16 properties:
17   $nodename:
18     pattern: "^dma-controller(@.*)?$"
20 examples:
21   - |
22     dma: dma-controller@48000000 {
23         compatible = "ti,omap-sdma";
24         reg = <0x48000000 0x1000>;
25         interrupts = <0 12 0x4
26                       0 13 0x4
27                       0 14 0x4
28                       0 15 0x4>;
29         #dma-cells = <1>;
30         dma-channels = <32>;
31         dma-requests = <127>;
32         dma-channel-mask = <0xfffe>;
33     };
35 ...