kernel: update kernel 4.4 to version 4.4.7
[openwrt.git] / target / linux / mediatek / patches-4.4 / 0007-dt-bindings-ARM-Mediatek-Document-bindings-for-MT270.patch
1 From d7e96f87f66c571e9f4171ecd89c656fbd2de89b Mon Sep 17 00:00:00 2001
2 From: James Liao <jamesjj.liao@mediatek.com>
3 Date: Tue, 5 Jan 2016 14:30:18 +0800
4 Subject: [PATCH 07/81] dt-bindings: ARM: Mediatek: Document bindings for
5  MT2701
6
7 This patch adds the binding documentation for apmixedsys, bdpsys,
8 ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
9 vdecsys for Mediatek MT2701.
10
11 Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
12 ---
13  .../bindings/arm/mediatek/mediatek,apmixedsys.txt  |    1 +
14  .../bindings/arm/mediatek/mediatek,bdpsys.txt      |   22 ++++++++++++++++++++
15  .../bindings/arm/mediatek/mediatek,ethsys.txt      |   22 ++++++++++++++++++++
16  .../bindings/arm/mediatek/mediatek,hifsys.txt      |   22 ++++++++++++++++++++
17  .../bindings/arm/mediatek/mediatek,imgsys.txt      |    1 +
18  .../bindings/arm/mediatek/mediatek,infracfg.txt    |    1 +
19  .../bindings/arm/mediatek/mediatek,mmsys.txt       |    1 +
20  .../bindings/arm/mediatek/mediatek,pericfg.txt     |    1 +
21  .../bindings/arm/mediatek/mediatek,topckgen.txt    |    1 +
22  .../bindings/arm/mediatek/mediatek,vdecsys.txt     |    1 +
23  10 files changed, 73 insertions(+)
24  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
25  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
26  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
27
28 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
29 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
30 @@ -6,6 +6,7 @@ The Mediatek apmixedsys controller provi
31  Required Properties:
32  
33  - compatible: Should be:
34 +       - "mediatek,mt2701-apmixedsys"
35         - "mediatek,mt8135-apmixedsys"
36         - "mediatek,mt8173-apmixedsys"
37  - #clock-cells: Must be 1
38 --- /dev/null
39 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
40 @@ -0,0 +1,22 @@
41 +Mediatek bdpsys controller
42 +============================
43 +
44 +The Mediatek bdpsys controller provides various clocks to the system.
45 +
46 +Required Properties:
47 +
48 +- compatible: Should be:
49 +       - "mediatek,mt2701-bdpsys", "syscon"
50 +- #clock-cells: Must be 1
51 +
52 +The bdpsys controller uses the common clk binding from
53 +Documentation/devicetree/bindings/clock/clock-bindings.txt
54 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
55 +
56 +Example:
57 +
58 +bdpsys: clock-controller@1c000000 {
59 +       compatible = "mediatek,mt2701-bdpsys", "syscon";
60 +       reg = <0 0x1c000000 0 0x1000>;
61 +       #clock-cells = <1>;
62 +};
63 --- /dev/null
64 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
65 @@ -0,0 +1,22 @@
66 +Mediatek ethsys controller
67 +============================
68 +
69 +The Mediatek ethsys controller provides various clocks to the system.
70 +
71 +Required Properties:
72 +
73 +- compatible: Should be:
74 +       - "mediatek,mt2701-ethsys", "syscon"
75 +- #clock-cells: Must be 1
76 +
77 +The ethsys controller uses the common clk binding from
78 +Documentation/devicetree/bindings/clock/clock-bindings.txt
79 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
80 +
81 +Example:
82 +
83 +ethsys: clock-controller@1b000000 {
84 +       compatible = "mediatek,mt2701-ethsys", "syscon";
85 +       reg = <0 0x1b000000 0 0x1000>;
86 +       #clock-cells = <1>;
87 +};
88 --- /dev/null
89 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
90 @@ -0,0 +1,22 @@
91 +Mediatek hifsys controller
92 +============================
93 +
94 +The Mediatek hifsys controller provides various clocks to the system.
95 +
96 +Required Properties:
97 +
98 +- compatible: Should be:
99 +       - "mediatek,mt2701-hifsys", "syscon"
100 +- #clock-cells: Must be 1
101 +
102 +The hifsys controller uses the common clk binding from
103 +Documentation/devicetree/bindings/clock/clock-bindings.txt
104 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
105 +
106 +Example:
107 +
108 +hifsys: clock-controller@1a000000 {
109 +       compatible = "mediatek,mt2701-hifsys", "syscon";
110 +       reg = <0 0x1a000000 0 0x1000>;
111 +       #clock-cells = <1>;
112 +};
113 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
114 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
115 @@ -6,6 +6,7 @@ The Mediatek imgsys controller provides
116  Required Properties:
117  
118  - compatible: Should be:
119 +       - "mediatek,mt2701-imgsys", "syscon"
120         - "mediatek,mt8173-imgsys", "syscon"
121  - #clock-cells: Must be 1
122  
123 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
124 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
125 @@ -7,6 +7,7 @@ outputs to the system.
126  Required Properties:
127  
128  - compatible: Should be:
129 +       - "mediatek,mt2701-infracfg", "syscon"
130         - "mediatek,mt8135-infracfg", "syscon"
131         - "mediatek,mt8173-infracfg", "syscon"
132  - #clock-cells: Must be 1
133 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
134 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
135 @@ -6,6 +6,7 @@ The Mediatek mmsys controller provides v
136  Required Properties:
137  
138  - compatible: Should be:
139 +       - "mediatek,mt2701-mmsys", "syscon"
140         - "mediatek,mt8173-mmsys", "syscon"
141  - #clock-cells: Must be 1
142  
143 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
144 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
145 @@ -7,6 +7,7 @@ outputs to the system.
146  Required Properties:
147  
148  - compatible: Should be:
149 +       - "mediatek,mt2701-pericfg", "syscon"
150         - "mediatek,mt8135-pericfg", "syscon"
151         - "mediatek,mt8173-pericfg", "syscon"
152  - #clock-cells: Must be 1
153 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
154 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
155 @@ -6,6 +6,7 @@ The Mediatek topckgen controller provide
156  Required Properties:
157  
158  - compatible: Should be:
159 +       - "mediatek,mt2701-topckgen"
160         - "mediatek,mt8135-topckgen"
161         - "mediatek,mt8173-topckgen"
162  - #clock-cells: Must be 1
163 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
164 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
165 @@ -6,6 +6,7 @@ The Mediatek vdecsys controller provides
166  Required Properties:
167  
168  - compatible: Should be:
169 +       - "mediatek,mt2701-vdecsys", "syscon"
170         - "mediatek,mt8173-vdecsys", "syscon"
171  - #clock-cells: Must be 1
172