kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)
[oweals/openwrt.git] / target / linux / mediatek / patches-4.14 / 0144-dt-bindings-ARM-Mediatek-Document-bindings-for-MT271.patch
1 From 815d90faddd22e05f05623086a9c42187fbfb1d8 Mon Sep 17 00:00:00 2001
2 From: "weiyi.lu@mediatek.com" <weiyi.lu@mediatek.com>
3 Date: Mon, 23 Oct 2017 12:10:32 +0800
4 Subject: [PATCH 144/224] dt-bindings: ARM: Mediatek: Document bindings for
5  MT2712
6
7 This patch adds the binding documentation for apmixedsys, bdpsys,
8 imgsys, imgsys, infracfg, mcucfg, mfgcfg, mmsys, pericfg, topckgen,
9 vdecsys and vencsys for Mediatek MT2712.
10
11 Acked-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
13 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
14 ---
15  .../bindings/arm/mediatek/mediatek,apmixedsys.txt  |  1 +
16  .../bindings/arm/mediatek/mediatek,bdpsys.txt      |  1 +
17  .../bindings/arm/mediatek/mediatek,imgsys.txt      |  1 +
18  .../bindings/arm/mediatek/mediatek,infracfg.txt    |  1 +
19  .../bindings/arm/mediatek/mediatek,jpgdecsys.txt   | 22 ++++++++++++++++++++++
20  .../bindings/arm/mediatek/mediatek,mcucfg.txt      | 22 ++++++++++++++++++++++
21  .../bindings/arm/mediatek/mediatek,mfgcfg.txt      | 22 ++++++++++++++++++++++
22  .../bindings/arm/mediatek/mediatek,mmsys.txt       |  1 +
23  .../bindings/arm/mediatek/mediatek,pericfg.txt     |  1 +
24  .../bindings/arm/mediatek/mediatek,topckgen.txt    |  1 +
25  .../bindings/arm/mediatek/mediatek,vdecsys.txt     |  1 +
26  .../bindings/arm/mediatek/mediatek,vencsys.txt     |  1 +
27  12 files changed, 75 insertions(+)
28  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,jpgdecsys.txt
29  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mcucfg.txt
30  create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mfgcfg.txt
31
32 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
33 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
34 @@ -7,6 +7,7 @@ Required Properties:
35  
36  - compatible: Should be one of:
37         - "mediatek,mt2701-apmixedsys"
38 +       - "mediatek,mt2712-apmixedsys", "syscon"
39         - "mediatek,mt6797-apmixedsys"
40         - "mediatek,mt8135-apmixedsys"
41         - "mediatek,mt8173-apmixedsys"
42 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
43 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
44 @@ -7,6 +7,7 @@ Required Properties:
45  
46  - compatible: Should be:
47         - "mediatek,mt2701-bdpsys", "syscon"
48 +       - "mediatek,mt2712-bdpsys", "syscon"
49  - #clock-cells: Must be 1
50  
51  The bdpsys controller uses the common clk binding from
52 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
53 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
54 @@ -7,6 +7,7 @@ Required Properties:
55  
56  - compatible: Should be one of:
57         - "mediatek,mt2701-imgsys", "syscon"
58 +       - "mediatek,mt2712-imgsys", "syscon"
59         - "mediatek,mt6797-imgsys", "syscon"
60         - "mediatek,mt8173-imgsys", "syscon"
61  - #clock-cells: Must be 1
62 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
63 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
64 @@ -8,6 +8,7 @@ Required Properties:
65  
66  - compatible: Should be one of:
67         - "mediatek,mt2701-infracfg", "syscon"
68 +       - "mediatek,mt2712-infracfg", "syscon"
69         - "mediatek,mt6797-infracfg", "syscon"
70         - "mediatek,mt8135-infracfg", "syscon"
71         - "mediatek,mt8173-infracfg", "syscon"
72 --- /dev/null
73 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,jpgdecsys.txt
74 @@ -0,0 +1,22 @@
75 +Mediatek jpgdecsys controller
76 +============================
77 +
78 +The Mediatek jpgdecsys controller provides various clocks to the system.
79 +
80 +Required Properties:
81 +
82 +- compatible: Should be:
83 +       - "mediatek,mt2712-jpgdecsys", "syscon"
84 +- #clock-cells: Must be 1
85 +
86 +The jpgdecsys controller uses the common clk binding from
87 +Documentation/devicetree/bindings/clock/clock-bindings.txt
88 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
89 +
90 +Example:
91 +
92 +jpgdecsys: syscon@19000000 {
93 +       compatible = "mediatek,mt2712-jpgdecsys", "syscon";
94 +       reg = <0 0x19000000 0 0x1000>;
95 +       #clock-cells = <1>;
96 +};
97 --- /dev/null
98 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mcucfg.txt
99 @@ -0,0 +1,22 @@
100 +Mediatek mcucfg controller
101 +============================
102 +
103 +The Mediatek mcucfg controller provides various clocks to the system.
104 +
105 +Required Properties:
106 +
107 +- compatible: Should be one of:
108 +       - "mediatek,mt2712-mcucfg", "syscon"
109 +- #clock-cells: Must be 1
110 +
111 +The mcucfg controller uses the common clk binding from
112 +Documentation/devicetree/bindings/clock/clock-bindings.txt
113 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
114 +
115 +Example:
116 +
117 +mcucfg: syscon@10220000 {
118 +       compatible = "mediatek,mt2712-mcucfg", "syscon";
119 +       reg = <0 0x10220000 0 0x1000>;
120 +       #clock-cells = <1>;
121 +};
122 --- /dev/null
123 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mfgcfg.txt
124 @@ -0,0 +1,22 @@
125 +Mediatek mfgcfg controller
126 +============================
127 +
128 +The Mediatek mfgcfg controller provides various clocks to the system.
129 +
130 +Required Properties:
131 +
132 +- compatible: Should be one of:
133 +       - "mediatek,mt2712-mfgcfg", "syscon"
134 +- #clock-cells: Must be 1
135 +
136 +The mfgcfg controller uses the common clk binding from
137 +Documentation/devicetree/bindings/clock/clock-bindings.txt
138 +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
139 +
140 +Example:
141 +
142 +mfgcfg: syscon@13000000 {
143 +       compatible = "mediatek,mt2712-mfgcfg", "syscon";
144 +       reg = <0 0x13000000 0 0x1000>;
145 +       #clock-cells = <1>;
146 +};
147 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
148 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
149 @@ -7,6 +7,7 @@ Required Properties:
150  
151  - compatible: Should be one of:
152         - "mediatek,mt2701-mmsys", "syscon"
153 +       - "mediatek,mt2712-mmsys", "syscon"
154         - "mediatek,mt6797-mmsys", "syscon"
155         - "mediatek,mt8173-mmsys", "syscon"
156  - #clock-cells: Must be 1
157 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
158 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
159 @@ -8,6 +8,7 @@ Required Properties:
160  
161  - compatible: Should be one of:
162         - "mediatek,mt2701-pericfg", "syscon"
163 +       - "mediatek,mt2712-pericfg", "syscon"
164         - "mediatek,mt8135-pericfg", "syscon"
165         - "mediatek,mt8173-pericfg", "syscon"
166  - #clock-cells: Must be 1
167 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
168 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
169 @@ -7,6 +7,7 @@ Required Properties:
170  
171  - compatible: Should be one of:
172         - "mediatek,mt2701-topckgen"
173 +       - "mediatek,mt2712-topckgen", "syscon"
174         - "mediatek,mt6797-topckgen"
175         - "mediatek,mt8135-topckgen"
176         - "mediatek,mt8173-topckgen"
177 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
178 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
179 @@ -7,6 +7,7 @@ Required Properties:
180  
181  - compatible: Should be one of:
182         - "mediatek,mt2701-vdecsys", "syscon"
183 +       - "mediatek,mt2712-vdecsys", "syscon"
184         - "mediatek,mt6797-vdecsys", "syscon"
185         - "mediatek,mt8173-vdecsys", "syscon"
186  - #clock-cells: Must be 1
187 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
188 +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
189 @@ -6,6 +6,7 @@ The Mediatek vencsys controller provides
190  Required Properties:
191  
192  - compatible: Should be one of:
193 +       - "mediatek,mt2712-vencsys", "syscon"
194         - "mediatek,mt6797-vencsys", "syscon"
195         - "mediatek,mt8173-vencsys", "syscon"
196  - #clock-cells: Must be 1