mediatek: update patches
[openwrt/svn-archive/archive.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/91] 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 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
29 index 936166f..a701e19 100644
30 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
31 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
32 @@ -6,6 +6,7 @@ The Mediatek apmixedsys controller provides the PLLs to the system.
33 Required Properties:
34
35 - compatible: Should be:
36 + - "mediatek,mt2701-apmixedsys"
37 - "mediatek,mt8135-apmixedsys"
38 - "mediatek,mt8173-apmixedsys"
39 - #clock-cells: Must be 1
40 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
41 new file mode 100644
42 index 0000000..4137196
43 --- /dev/null
44 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
45 @@ -0,0 +1,22 @@
46 +Mediatek bdpsys controller
47 +============================
48 +
49 +The Mediatek bdpsys controller provides various clocks to the system.
50 +
51 +Required Properties:
52 +
53 +- compatible: Should be:
54 + - "mediatek,mt2701-bdpsys", "syscon"
55 +- #clock-cells: Must be 1
56 +
57 +The bdpsys controller uses the common clk binding from
58 +Documentation/devicetree/bindings/clock/clock-bindings.txt
59 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
60 +
61 +Example:
62 +
63 +bdpsys: clock-controller@1c000000 {
64 + compatible = "mediatek,mt2701-bdpsys", "syscon";
65 + reg = <0 0x1c000000 0 0x1000>;
66 + #clock-cells = <1>;
67 +};
68 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
69 new file mode 100644
70 index 0000000..768f3a5
71 --- /dev/null
72 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
73 @@ -0,0 +1,22 @@
74 +Mediatek ethsys controller
75 +============================
76 +
77 +The Mediatek ethsys controller provides various clocks to the system.
78 +
79 +Required Properties:
80 +
81 +- compatible: Should be:
82 + - "mediatek,mt2701-ethsys", "syscon"
83 +- #clock-cells: Must be 1
84 +
85 +The ethsys controller uses the common clk binding from
86 +Documentation/devicetree/bindings/clock/clock-bindings.txt
87 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
88 +
89 +Example:
90 +
91 +ethsys: clock-controller@1b000000 {
92 + compatible = "mediatek,mt2701-ethsys", "syscon";
93 + reg = <0 0x1b000000 0 0x1000>;
94 + #clock-cells = <1>;
95 +};
96 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
97 new file mode 100644
98 index 0000000..b7a39b6
99 --- /dev/null
100 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
101 @@ -0,0 +1,22 @@
102 +Mediatek hifsys controller
103 +============================
104 +
105 +The Mediatek hifsys controller provides various clocks to the system.
106 +
107 +Required Properties:
108 +
109 +- compatible: Should be:
110 + - "mediatek,mt2701-hifsys", "syscon"
111 +- #clock-cells: Must be 1
112 +
113 +The hifsys controller uses the common clk binding from
114 +Documentation/devicetree/bindings/clock/clock-bindings.txt
115 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
116 +
117 +Example:
118 +
119 +hifsys: clock-controller@1a000000 {
120 + compatible = "mediatek,mt2701-hifsys", "syscon";
121 + reg = <0 0x1a000000 0 0x1000>;
122 + #clock-cells = <1>;
123 +};
124 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
125 index b1f2ce1..9bda7f7 100644
126 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
127 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
128 @@ -6,6 +6,7 @@ The Mediatek imgsys controller provides various clocks to the system.
129 Required Properties:
130
131 - compatible: Should be:
132 + - "mediatek,mt2701-imgsys", "syscon"
133 - "mediatek,mt8173-imgsys", "syscon"
134 - #clock-cells: Must be 1
135
136 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
137 index f6cd3e4..2f11a69 100644
138 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
139 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
140 @@ -7,6 +7,7 @@ outputs to the system.
141 Required Properties:
142
143 - compatible: Should be:
144 + - "mediatek,mt2701-infracfg", "syscon"
145 - "mediatek,mt8135-infracfg", "syscon"
146 - "mediatek,mt8173-infracfg", "syscon"
147 - #clock-cells: Must be 1
148 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
149 index 4385946..c9d9d43 100644
150 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
151 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
152 @@ -6,6 +6,7 @@ The Mediatek mmsys controller provides various clocks to the system.
153 Required Properties:
154
155 - compatible: Should be:
156 + - "mediatek,mt2701-mmsys", "syscon"
157 - "mediatek,mt8173-mmsys", "syscon"
158 - #clock-cells: Must be 1
159
160 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
161 index f25b854..d3454cd 100644
162 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
163 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
164 @@ -7,6 +7,7 @@ outputs to the system.
165 Required Properties:
166
167 - compatible: Should be:
168 + - "mediatek,mt2701-pericfg", "syscon"
169 - "mediatek,mt8135-pericfg", "syscon"
170 - "mediatek,mt8173-pericfg", "syscon"
171 - #clock-cells: Must be 1
172 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
173 index f9e9179..602e5bc 100644
174 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
175 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
176 @@ -6,6 +6,7 @@ The Mediatek topckgen controller provides various clocks to the system.
177 Required Properties:
178
179 - compatible: Should be:
180 + - "mediatek,mt2701-topckgen"
181 - "mediatek,mt8135-topckgen"
182 - "mediatek,mt8173-topckgen"
183 - #clock-cells: Must be 1
184 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
185 index 1faacf1..f5b1e7d 100644
186 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
187 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
188 @@ -6,6 +6,7 @@ The Mediatek vdecsys controller provides various clocks to the system.
189 Required Properties:
190
191 - compatible: Should be:
192 + - "mediatek,mt2701-vdecsys", "syscon"
193 - "mediatek,mt8173-vdecsys", "syscon"
194 - #clock-cells: Must be 1
195
196 --
197 1.7.10.4
198