1 From 7c98b20fa68a2a64bca69822eb7be4fa9b668fab 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 007/102] dt-bindings: ARM: Mediatek: Document bindings for
7 This patch adds the binding documentation for apmixedsys, bdpsys,
8 ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
9 vdecsys for Mediatek MT2701.
11 Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
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
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.
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
42 index 0000000..4137196
44 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
46 +Mediatek bdpsys controller
47 +============================
49 +The Mediatek bdpsys controller provides various clocks to the system.
53 +- compatible: Should be:
54 + - "mediatek,mt2701-bdpsys", "syscon"
55 +- #clock-cells: Must be 1
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.
63 +bdpsys: clock-controller@1c000000 {
64 + compatible = "mediatek,mt2701-bdpsys", "syscon";
65 + reg = <0 0x1c000000 0 0x1000>;
68 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
70 index 0000000..768f3a5
72 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
74 +Mediatek ethsys controller
75 +============================
77 +The Mediatek ethsys controller provides various clocks to the system.
81 +- compatible: Should be:
82 + - "mediatek,mt2701-ethsys", "syscon"
83 +- #clock-cells: Must be 1
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.
91 +ethsys: clock-controller@1b000000 {
92 + compatible = "mediatek,mt2701-ethsys", "syscon";
93 + reg = <0 0x1b000000 0 0x1000>;
96 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
98 index 0000000..b7a39b6
100 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
102 +Mediatek hifsys controller
103 +============================
105 +The Mediatek hifsys controller provides various clocks to the system.
107 +Required Properties:
109 +- compatible: Should be:
110 + - "mediatek,mt2701-hifsys", "syscon"
111 +- #clock-cells: Must be 1
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.
119 +hifsys: clock-controller@1a000000 {
120 + compatible = "mediatek,mt2701-hifsys", "syscon";
121 + reg = <0 0x1a000000 0 0x1000>;
122 + #clock-cells = <1>;
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.
131 - compatible: Should be:
132 + - "mediatek,mt2701-imgsys", "syscon"
133 - "mediatek,mt8173-imgsys", "syscon"
134 - #clock-cells: Must be 1
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.
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.
155 - compatible: Should be:
156 + - "mediatek,mt2701-mmsys", "syscon"
157 - "mediatek,mt8173-mmsys", "syscon"
158 - #clock-cells: Must be 1
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.
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.
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.
191 - compatible: Should be:
192 + - "mediatek,mt2701-vdecsys", "syscon"
193 - "mediatek,mt8173-vdecsys", "syscon"
194 - #clock-cells: Must be 1