GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / regulator / pfuze100.txt
1 PFUZE100 family of regulators
2
3 Required properties:
4 - compatible: "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000"
5 - reg: I2C slave address
6
7 Required child node:
8 - regulators: This is the list of child nodes that specify the regulator
9   initialization data for defined regulators. Please refer to below doc
10   Documentation/devicetree/bindings/regulator/regulator.txt.
11
12   The valid names for regulators are:
13   --PFUZE100
14   sw1ab,sw1c,sw2,sw3a,sw3b,sw4,swbst,vsnvs,vrefddr,vgen1~vgen6
15   --PFUZE200
16   sw1ab,sw2,sw3a,sw3b,swbst,vsnvs,vrefddr,vgen1~vgen6,coin
17   --PFUZE3000
18   sw1a,sw1b,sw2,sw3,swbst,vsnvs,vrefddr,vldo1,vldo2,vccsd,v33,vldo3,vldo4
19
20 Each regulator is defined using the standard binding for regulators.
21
22 Example 1: PFUZE100
23
24         pmic: pfuze100@08 {
25                 compatible = "fsl,pfuze100";
26                 reg = <0x08>;
27
28                 regulators {
29                         sw1a_reg: sw1ab {
30                                 regulator-min-microvolt = <300000>;
31                                 regulator-max-microvolt = <1875000>;
32                                 regulator-boot-on;
33                                 regulator-always-on;
34                                 regulator-ramp-delay = <6250>;
35                         };
36
37                         sw1c_reg: sw1c {
38                                 regulator-min-microvolt = <300000>;
39                                 regulator-max-microvolt = <1875000>;
40                                 regulator-boot-on;
41                                 regulator-always-on;
42                         };
43
44                         sw2_reg: sw2 {
45                                 regulator-min-microvolt = <800000>;
46                                 regulator-max-microvolt = <3300000>;
47                                 regulator-boot-on;
48                                 regulator-always-on;
49                         };
50
51                         sw3a_reg: sw3a {
52                                 regulator-min-microvolt = <400000>;
53                                 regulator-max-microvolt = <1975000>;
54                                 regulator-boot-on;
55                                 regulator-always-on;
56                         };
57
58                         sw3b_reg: sw3b {
59                                 regulator-min-microvolt = <400000>;
60                                 regulator-max-microvolt = <1975000>;
61                                 regulator-boot-on;
62                                 regulator-always-on;
63                         };
64
65                         sw4_reg: sw4 {
66                                 regulator-min-microvolt = <800000>;
67                                 regulator-max-microvolt = <3300000>;
68                         };
69
70                         swbst_reg: swbst {
71                                 regulator-min-microvolt = <5000000>;
72                                 regulator-max-microvolt = <5150000>;
73                         };
74
75                         snvs_reg: vsnvs {
76                                 regulator-min-microvolt = <1000000>;
77                                 regulator-max-microvolt = <3000000>;
78                                 regulator-boot-on;
79                                 regulator-always-on;
80                         };
81
82                         vref_reg: vrefddr {
83                                 regulator-boot-on;
84                                 regulator-always-on;
85                         };
86
87                         vgen1_reg: vgen1 {
88                                 regulator-min-microvolt = <800000>;
89                                 regulator-max-microvolt = <1550000>;
90                         };
91
92                         vgen2_reg: vgen2 {
93                                 regulator-min-microvolt = <800000>;
94                                 regulator-max-microvolt = <1550000>;
95                         };
96
97                         vgen3_reg: vgen3 {
98                                 regulator-min-microvolt = <1800000>;
99                                 regulator-max-microvolt = <3300000>;
100                         };
101
102                         vgen4_reg: vgen4 {
103                                 regulator-min-microvolt = <1800000>;
104                                 regulator-max-microvolt = <3300000>;
105                                 regulator-always-on;
106                         };
107
108                         vgen5_reg: vgen5 {
109                                 regulator-min-microvolt = <1800000>;
110                                 regulator-max-microvolt = <3300000>;
111                                 regulator-always-on;
112                         };
113
114                         vgen6_reg: vgen6 {
115                                 regulator-min-microvolt = <1800000>;
116                                 regulator-max-microvolt = <3300000>;
117                                 regulator-always-on;
118                         };
119                 };
120         };
121
122
123 Example 2: PFUZE200
124
125         pmic: pfuze200@08 {
126                 compatible = "fsl,pfuze200";
127                 reg = <0x08>;
128
129                 regulators {
130                         sw1a_reg: sw1ab {
131                                 regulator-min-microvolt = <300000>;
132                                 regulator-max-microvolt = <1875000>;
133                                 regulator-boot-on;
134                                 regulator-always-on;
135                                 regulator-ramp-delay = <6250>;
136                         };
137
138                         sw2_reg: sw2 {
139                                 regulator-min-microvolt = <800000>;
140                                 regulator-max-microvolt = <3300000>;
141                                 regulator-boot-on;
142                                 regulator-always-on;
143                         };
144
145                         sw3a_reg: sw3a {
146                                 regulator-min-microvolt = <400000>;
147                                 regulator-max-microvolt = <1975000>;
148                                 regulator-boot-on;
149                                 regulator-always-on;
150                         };
151
152                         sw3b_reg: sw3b {
153                                 regulator-min-microvolt = <400000>;
154                                 regulator-max-microvolt = <1975000>;
155                                 regulator-boot-on;
156                                 regulator-always-on;
157                         };
158
159                         swbst_reg: swbst {
160                                 regulator-min-microvolt = <5000000>;
161                                 regulator-max-microvolt = <5150000>;
162                         };
163
164                         snvs_reg: vsnvs {
165                                 regulator-min-microvolt = <1000000>;
166                                 regulator-max-microvolt = <3000000>;
167                                 regulator-boot-on;
168                                 regulator-always-on;
169                         };
170
171                         vref_reg: vrefddr {
172                                 regulator-boot-on;
173                                 regulator-always-on;
174                         };
175
176                         vgen1_reg: vgen1 {
177                                 regulator-min-microvolt = <800000>;
178                                 regulator-max-microvolt = <1550000>;
179                         };
180
181                         vgen2_reg: vgen2 {
182                                 regulator-min-microvolt = <800000>;
183                                 regulator-max-microvolt = <1550000>;
184                         };
185
186                         vgen3_reg: vgen3 {
187                                 regulator-min-microvolt = <1800000>;
188                                 regulator-max-microvolt = <3300000>;
189                         };
190
191                         vgen4_reg: vgen4 {
192                                 regulator-min-microvolt = <1800000>;
193                                 regulator-max-microvolt = <3300000>;
194                                 regulator-always-on;
195                         };
196
197                         vgen5_reg: vgen5 {
198                                 regulator-min-microvolt = <1800000>;
199                                 regulator-max-microvolt = <3300000>;
200                                 regulator-always-on;
201                         };
202
203                         vgen6_reg: vgen6 {
204                                 regulator-min-microvolt = <1800000>;
205                                 regulator-max-microvolt = <3300000>;
206                                 regulator-always-on;
207                         };
208
209                         coin_reg: coin {
210                                 regulator-min-microvolt = <2500000>;
211                                 regulator-max-microvolt = <3300000>;
212                                 regulator-always-on;
213                         };
214                 };
215         };
216
217 Example 3: PFUZE3000
218
219         pmic: pfuze3000@08 {
220                 compatible = "fsl,pfuze3000";
221                 reg = <0x08>;
222
223                 regulators {
224                         sw1a_reg: sw1a {
225                                 regulator-min-microvolt = <700000>;
226                                 regulator-max-microvolt = <1475000>;
227                                 regulator-boot-on;
228                                 regulator-always-on;
229                                 regulator-ramp-delay = <6250>;
230                         };
231                         /* use sw1c_reg to align with pfuze100/pfuze200 */
232                         sw1c_reg: sw1b {
233                                 regulator-min-microvolt = <700000>;
234                                 regulator-max-microvolt = <1475000>;
235                                 regulator-boot-on;
236                                 regulator-always-on;
237                                 regulator-ramp-delay = <6250>;
238                         };
239
240                         sw2_reg: sw2 {
241                                 regulator-min-microvolt = <2500000>;
242                                 regulator-max-microvolt = <3300000>;
243                                 regulator-boot-on;
244                                 regulator-always-on;
245                         };
246
247                         sw3a_reg: sw3 {
248                                 regulator-min-microvolt = <900000>;
249                                 regulator-max-microvolt = <1650000>;
250                                 regulator-boot-on;
251                                 regulator-always-on;
252                         };
253
254                         swbst_reg: swbst {
255                                 regulator-min-microvolt = <5000000>;
256                                 regulator-max-microvolt = <5150000>;
257                         };
258
259                         snvs_reg: vsnvs {
260                                 regulator-min-microvolt = <1000000>;
261                                 regulator-max-microvolt = <3000000>;
262                                 regulator-boot-on;
263                                 regulator-always-on;
264                         };
265
266                         vref_reg: vrefddr {
267                                 regulator-boot-on;
268                                 regulator-always-on;
269                         };
270
271                         vgen1_reg: vldo1 {
272                                 regulator-min-microvolt = <1800000>;
273                                 regulator-max-microvolt = <3300000>;
274                                 regulator-always-on;
275                         };
276
277                         vgen2_reg: vldo2 {
278                                 regulator-min-microvolt = <800000>;
279                                 regulator-max-microvolt = <1550000>;
280                         };
281
282                         vgen3_reg: vccsd {
283                                 regulator-min-microvolt = <2850000>;
284                                 regulator-max-microvolt = <3300000>;
285                                 regulator-always-on;
286                         };
287
288                         vgen4_reg: v33 {
289                                 regulator-min-microvolt = <2850000>;
290                                 regulator-max-microvolt = <3300000>;
291                         };
292
293                         vgen5_reg: vldo3 {
294                                 regulator-min-microvolt = <1800000>;
295                                 regulator-max-microvolt = <3300000>;
296                                 regulator-always-on;
297                         };
298
299                         vgen6_reg: vldo4 {
300                                 regulator-min-microvolt = <1800000>;
301                                 regulator-max-microvolt = <3300000>;
302                                 regulator-always-on;
303                         };
304                 };
305         };