xref: /linux/Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/mt6359-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MT6359 Regulator from MediaTek Integrated
8
9maintainers:
10  - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
11
12description: |
13  List of regulators provided by this controller. It is named
14  according to its regulator type, buck_<name> and ldo_<name>.
15  MT6359 regulators node should be sub node of the MT6397 MFD node.
16
17patternProperties:
18  "^buck_v(s1|gpu11|modem|pu|core|s2|pa|proc2|proc1|core_sshub)$":
19    type: object
20    $ref: regulator.yaml#
21    unevaluatedProperties: false
22
23  "^ldo_v(ibr|rf12|usb|camio|efuse|xo22)$":
24    type: object
25    $ref: regulator.yaml#
26    unevaluatedProperties: false
27
28  "^ldo_v(rfck|emc|a12|a09|ufs|bbck)$":
29    type: object
30    $ref: regulator.yaml#
31    unevaluatedProperties: false
32
33  "^ldo_vcn(18|13|33_[12])$":
34    type: object
35    $ref: regulator.yaml#
36    unevaluatedProperties: false
37
38  "^ldo_vsram_(proc2|others|md|proc1|others_sshub)$":
39    type: object
40    $ref: regulator.yaml#
41    unevaluatedProperties: false
42
43  "^ldo_v(fe|bif|io)28$":
44    type: object
45    $ref: regulator.yaml#
46    unevaluatedProperties: false
47
48  "^ldo_v(aud|io|aux|rf|m)18$":
49    type: object
50    $ref: regulator.yaml#
51    unevaluatedProperties: false
52
53  "^ldo_vsim[12]$":
54    type: object
55    $ref: regulator.yaml#
56    unevaluatedProperties: false
57
58  "^ldo_vcn33_[12]_(bt|wifi)$":
59    type: object
60    $ref: regulator.yaml#
61    description:
62      vcn33_[12]_(bt|wifi) are incorrect representations.
63      Use vcn33_[12] instead.
64    deprecated: true
65    unevaluatedProperties: false
66
67additionalProperties: false
68
69examples:
70  - |
71    pmic {
72      regulators {
73        mt6359_vs1_buck_reg: buck_vs1 {
74          regulator-name = "vs1";
75          regulator-min-microvolt = <800000>;
76          regulator-max-microvolt = <2200000>;
77          regulator-enable-ramp-delay = <0>;
78          regulator-always-on;
79        };
80        mt6359_vgpu11_buck_reg: buck_vgpu11 {
81          regulator-name = "vgpu11";
82          regulator-min-microvolt = <400000>;
83          regulator-max-microvolt = <1193750>;
84          regulator-ramp-delay = <5000>;
85          regulator-enable-ramp-delay = <200>;
86          regulator-allowed-modes = <0 1 2>;
87        };
88        mt6359_vmodem_buck_reg: buck_vmodem {
89          regulator-name = "vmodem";
90          regulator-min-microvolt = <400000>;
91          regulator-max-microvolt = <1100000>;
92          regulator-ramp-delay = <10760>;
93          regulator-enable-ramp-delay = <200>;
94        };
95        mt6359_vpu_buck_reg: buck_vpu {
96          regulator-name = "vpu";
97          regulator-min-microvolt = <400000>;
98          regulator-max-microvolt = <1193750>;
99          regulator-ramp-delay = <5000>;
100          regulator-enable-ramp-delay = <200>;
101          regulator-allowed-modes = <0 1 2>;
102        };
103        mt6359_vcore_buck_reg: buck_vcore {
104          regulator-name = "vcore";
105          regulator-min-microvolt = <400000>;
106          regulator-max-microvolt = <1300000>;
107          regulator-ramp-delay = <5000>;
108          regulator-enable-ramp-delay = <200>;
109          regulator-allowed-modes = <0 1 2>;
110        };
111        mt6359_vs2_buck_reg: buck_vs2 {
112          regulator-name = "vs2";
113          regulator-min-microvolt = <800000>;
114          regulator-max-microvolt = <1600000>;
115          regulator-enable-ramp-delay = <0>;
116          regulator-always-on;
117        };
118        mt6359_vpa_buck_reg: buck_vpa {
119          regulator-name = "vpa";
120          regulator-min-microvolt = <500000>;
121          regulator-max-microvolt = <3650000>;
122          regulator-enable-ramp-delay = <300>;
123        };
124        mt6359_vproc2_buck_reg: buck_vproc2 {
125          regulator-name = "vproc2";
126          regulator-min-microvolt = <400000>;
127          regulator-max-microvolt = <1193750>;
128          regulator-ramp-delay = <7500>;
129          regulator-enable-ramp-delay = <200>;
130          regulator-allowed-modes = <0 1 2>;
131        };
132        mt6359_vproc1_buck_reg: buck_vproc1 {
133          regulator-name = "vproc1";
134          regulator-min-microvolt = <400000>;
135          regulator-max-microvolt = <1193750>;
136          regulator-ramp-delay = <7500>;
137          regulator-enable-ramp-delay = <200>;
138          regulator-allowed-modes = <0 1 2>;
139        };
140        mt6359_vcore_sshub_buck_reg: buck_vcore_sshub {
141          regulator-name = "vcore_sshub";
142          regulator-min-microvolt = <400000>;
143          regulator-max-microvolt = <1193750>;
144        };
145        mt6359_vgpu11_sshub_buck_reg: buck_vgpu11_sshub {
146          regulator-name = "vgpu11_sshub";
147          regulator-min-microvolt = <400000>;
148          regulator-max-microvolt = <1193750>;
149        };
150        mt6359_vaud18_ldo_reg: ldo_vaud18 {
151          regulator-name = "vaud18";
152          regulator-min-microvolt = <1800000>;
153          regulator-max-microvolt = <1800000>;
154          regulator-enable-ramp-delay = <240>;
155        };
156        mt6359_vsim1_ldo_reg: ldo_vsim1 {
157          regulator-name = "vsim1";
158          regulator-min-microvolt = <1700000>;
159          regulator-max-microvolt = <3100000>;
160        };
161        mt6359_vibr_ldo_reg: ldo_vibr {
162          regulator-name = "vibr";
163          regulator-min-microvolt = <1200000>;
164          regulator-max-microvolt = <3300000>;
165        };
166        mt6359_vrf12_ldo_reg: ldo_vrf12 {
167          regulator-name = "vrf12";
168          regulator-min-microvolt = <1100000>;
169          regulator-max-microvolt = <1300000>;
170        };
171        mt6359_vusb_ldo_reg: ldo_vusb {
172          regulator-name = "vusb";
173          regulator-min-microvolt = <3000000>;
174          regulator-max-microvolt = <3000000>;
175          regulator-enable-ramp-delay = <960>;
176          regulator-always-on;
177        };
178        mt6359_vsram_proc2_ldo_reg: ldo_vsram_proc2 {
179          regulator-name = "vsram_proc2";
180          regulator-min-microvolt = <500000>;
181          regulator-max-microvolt = <1293750>;
182          regulator-ramp-delay = <7500>;
183          regulator-enable-ramp-delay = <240>;
184          regulator-always-on;
185        };
186        mt6359_vio18_ldo_reg: ldo_vio18 {
187          regulator-name = "vio18";
188          regulator-min-microvolt = <1700000>;
189          regulator-max-microvolt = <1900000>;
190          regulator-enable-ramp-delay = <960>;
191          regulator-always-on;
192        };
193        mt6359_vcamio_ldo_reg: ldo_vcamio {
194          regulator-name = "vcamio";
195          regulator-min-microvolt = <1700000>;
196          regulator-max-microvolt = <1900000>;
197        };
198        mt6359_vcn18_ldo_reg: ldo_vcn18 {
199          regulator-name = "vcn18";
200          regulator-min-microvolt = <1800000>;
201          regulator-max-microvolt = <1800000>;
202          regulator-enable-ramp-delay = <240>;
203        };
204        mt6359_vfe28_ldo_reg: ldo_vfe28 {
205          regulator-name = "vfe28";
206          regulator-min-microvolt = <2800000>;
207          regulator-max-microvolt = <2800000>;
208          regulator-enable-ramp-delay = <120>;
209        };
210        mt6359_vcn13_ldo_reg: ldo_vcn13 {
211          regulator-name = "vcn13";
212          regulator-min-microvolt = <900000>;
213          regulator-max-microvolt = <1300000>;
214        };
215        mt6359_vcn33_1_bt_ldo_reg: ldo_vcn33_1 {
216          regulator-name = "vcn33_1";
217          regulator-min-microvolt = <2800000>;
218          regulator-max-microvolt = <3500000>;
219        };
220        mt6359_vaux18_ldo_reg: ldo_vaux18 {
221          regulator-name = "vaux18";
222          regulator-min-microvolt = <1800000>;
223          regulator-max-microvolt = <1800000>;
224          regulator-enable-ramp-delay = <240>;
225          regulator-always-on;
226        };
227        mt6359_vsram_others_ldo_reg: ldo_vsram_others {
228          regulator-name = "vsram_others";
229          regulator-min-microvolt = <500000>;
230          regulator-max-microvolt = <1293750>;
231          regulator-ramp-delay = <5000>;
232          regulator-enable-ramp-delay = <240>;
233        };
234        mt6359_vefuse_ldo_reg: ldo_vefuse {
235          regulator-name = "vefuse";
236          regulator-min-microvolt = <1700000>;
237          regulator-max-microvolt = <2000000>;
238        };
239        mt6359_vxo22_ldo_reg: ldo_vxo22 {
240          regulator-name = "vxo22";
241          regulator-min-microvolt = <1800000>;
242          regulator-max-microvolt = <2200000>;
243          regulator-always-on;
244        };
245        mt6359_vrfck_ldo_reg: ldo_vrfck {
246          regulator-name = "vrfck";
247          regulator-min-microvolt = <1500000>;
248          regulator-max-microvolt = <1700000>;
249        };
250        mt6359_vrfck_1_ldo_reg: ldo_vrfck_1 {
251          regulator-name = "vrfck_1";
252          regulator-min-microvolt = <1240000>;
253          regulator-max-microvolt = <1600000>;
254        };
255        mt6359_vbif28_ldo_reg: ldo_vbif28 {
256          regulator-name = "vbif28";
257          regulator-min-microvolt = <2800000>;
258          regulator-max-microvolt = <2800000>;
259          regulator-enable-ramp-delay = <240>;
260        };
261        mt6359_vio28_ldo_reg: ldo_vio28 {
262          regulator-name = "vio28";
263          regulator-min-microvolt = <2800000>;
264          regulator-max-microvolt = <3300000>;
265          regulator-always-on;
266        };
267        mt6359_vemc_ldo_reg: ldo_vemc {
268          regulator-name = "vemc";
269          regulator-min-microvolt = <2900000>;
270          regulator-max-microvolt = <3300000>;
271        };
272        mt6359_vemc_1_ldo_reg: ldo_vemc_1 {
273          regulator-name = "vemc_1";
274          regulator-min-microvolt = <2500000>;
275          regulator-max-microvolt = <3300000>;
276        };
277        mt6359_vcn33_2_bt_ldo_reg: ldo_vcn33_2 {
278          regulator-name = "vcn33_2";
279          regulator-min-microvolt = <2800000>;
280          regulator-max-microvolt = <3500000>;
281        };
282        mt6359_va12_ldo_reg: ldo_va12 {
283          regulator-name = "va12";
284          regulator-min-microvolt = <1200000>;
285          regulator-max-microvolt = <1300000>;
286          regulator-always-on;
287        };
288        mt6359_va09_ldo_reg: ldo_va09 {
289          regulator-name = "va09";
290          regulator-min-microvolt = <800000>;
291          regulator-max-microvolt = <1200000>;
292        };
293        mt6359_vrf18_ldo_reg: ldo_vrf18 {
294          regulator-name = "vrf18";
295          regulator-min-microvolt = <1700000>;
296          regulator-max-microvolt = <1810000>;
297        };
298        mt6359_vsram_md_ldo_reg: ldo_vsram_md {
299          regulator-name = "vsram_md";
300          regulator-min-microvolt = <500000>;
301          regulator-max-microvolt = <1293750>;
302          regulator-ramp-delay = <10760>;
303          regulator-enable-ramp-delay = <240>;
304        };
305        mt6359_vufs_ldo_reg: ldo_vufs {
306          regulator-name = "vufs";
307          regulator-min-microvolt = <1700000>;
308          regulator-max-microvolt = <1900000>;
309        };
310        mt6359_vm18_ldo_reg: ldo_vm18 {
311          regulator-name = "vm18";
312          regulator-min-microvolt = <1700000>;
313          regulator-max-microvolt = <1900000>;
314          regulator-always-on;
315        };
316        mt6359_vbbck_ldo_reg: ldo_vbbck {
317          regulator-name = "vbbck";
318          regulator-min-microvolt = <1100000>;
319          regulator-max-microvolt = <1200000>;
320        };
321        mt6359_vsram_proc1_ldo_reg: ldo_vsram_proc1 {
322          regulator-name = "vsram_proc1";
323          regulator-min-microvolt = <500000>;
324          regulator-max-microvolt = <1293750>;
325          regulator-ramp-delay = <7500>;
326          regulator-enable-ramp-delay = <240>;
327          regulator-always-on;
328        };
329        mt6359_vsim2_ldo_reg: ldo_vsim2 {
330          regulator-name = "vsim2";
331          regulator-min-microvolt = <1700000>;
332          regulator-max-microvolt = <3100000>;
333        };
334        mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
335          regulator-name = "vsram_others_sshub";
336          regulator-min-microvolt = <500000>;
337          regulator-max-microvolt = <1293750>;
338        };
339      };
340    };
341...
342