File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Documentation/devicetree/bindings/dma Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ properties:
28
28
- description : DMA Error interrupt
29
29
minItems : 1
30
30
31
+ clocks :
32
+ maxItems : 2
33
+
34
+ clock-names :
35
+ items :
36
+ - const : ipg
37
+ - const : ahb
38
+
31
39
" #dma-cells " :
32
40
const : 1
33
41
@@ -42,15 +50,21 @@ required:
42
50
- reg
43
51
- interrupts
44
52
- " #dma-cells"
53
+ - clocks
54
+ - clock-names
45
55
46
56
additionalProperties : false
47
57
48
58
examples :
49
59
- |
60
+ #include <dt-bindings/clock/imx27-clock.h>
61
+
50
62
dma-controller@10001000 {
51
63
compatible = "fsl,imx27-dma";
52
64
reg = <0x10001000 0x1000>;
53
65
interrupts = <32 33>;
54
66
#dma-cells = <1>;
55
67
dma-channels = <16>;
68
+ clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>;
69
+ clock-names = "ipg", "ahb";
56
70
};
You can’t perform that action at this time.
0 commit comments