Merge tag 'asoc-fix-v5.4-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / dma / allwinner,sun4i-a10-dma.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/allwinner,sun4i-a10-dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A10 DMA Controller Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <maxime.ripard@bootlin.com>
12
13 allOf:
14   - $ref: "dma-controller.yaml#"
15
16 properties:
17   "#dma-cells":
18     const: 2
19     description:
20       The first cell is either 0 or 1, the former to use the normal
21       DMA, 1 for dedicated DMA. The second cell is the request line
22       number.
23
24   compatible:
25     const: allwinner,sun4i-a10-dma
26
27   reg:
28     maxItems: 1
29
30   interrupts:
31     maxItems: 1
32
33   clocks:
34     maxItems: 1
35
36 required:
37   - "#dma-cells"
38   - compatible
39   - reg
40   - interrupts
41   - clocks
42
43 additionalProperties: false
44
45 examples:
46   - |
47     dma: dma-controller@1c02000 {
48         compatible = "allwinner,sun4i-a10-dma";
49         reg = <0x01c02000 0x1000>;
50         interrupts = <27>;
51         clocks = <&ahb_gates 6>;
52         #dma-cells = <2>;
53     };
54
55 ...