blob: 571ddc335bb02d8660db45b57f3f631dea26c386 [file] [log] [blame]
Patrick Daly4deea5b2013-01-31 12:08:13 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
David Collins37ddb972012-10-17 15:00:26 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
David Collins03d33c12013-03-15 15:04:12 -070013/* SPM controlled regulators: */
David Collins37ddb972012-10-17 15:00:26 -070014
David Keitel7184c6e2013-02-11 13:23:04 -080015&spmi_bus {
David Keitel7184c6e2013-02-11 13:23:04 -080016 qcom,pm8226@1 {
David Collins03d33c12013-03-15 15:04:12 -070017 pm8226_s2: spm-regulator@1700 {
18 compatible = "qcom,spm-regulator";
David Keitel7184c6e2013-02-11 13:23:04 -080019 regulator-name = "8226_s2";
David Collins03d33c12013-03-15 15:04:12 -070020 reg = <0x1700 0x100>;
21 regulator-min-microvolt = <900000>;
22 regulator-max-microvolt = <1275000>;
David Keitel376b2682013-03-05 18:40:01 -080023 };
24 };
25};
26
Willie Ruan7143bf62013-03-18 23:35:02 -070027/* CPR controlled regulator */
28
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070029&soc {
Willie Ruan7143bf62013-03-18 23:35:02 -070030 apc_vreg_corner: regulator@f9018000 {
31 status = "okay";
32 compatible = "qcom,cpr-regulator";
Willie Ruan84e58d42013-06-12 13:01:28 -070033 reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b8000 0x1000>;
34 reg-names = "rbcpr", "rbcpr_clk", "efuse_addr";
Willie Ruanb17b7832013-04-08 21:30:27 -070035 interrupts = <0 15 0>;
Willie Ruan7143bf62013-03-18 23:35:02 -070036 regulator-name = "apc_corner";
37 regulator-min-microvolt = <1>;
Willie Ruanb17b7832013-04-08 21:30:27 -070038 regulator-max-microvolt = <3>;
Willie Ruan84e58d42013-06-12 13:01:28 -070039
40 qcom,pvs-fuse-redun-sel = <22 24 3 2>;
41 qcom,pvs-fuse = <22 6 5>;
42 qcom,pvs-fuse-redun = <22 27 5>;
43
Willie Ruanb17b7832013-04-08 21:30:27 -070044 qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2
Willie Ruan7143bf62013-03-18 23:35:02 -070045 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>;
Willie Ruanb17b7832013-04-08 21:30:27 -070046 qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>;
Willie Ruan712956f2013-07-10 09:58:29 -070047 qcom,pvs-corner-ceiling-nom = <1050000 1075000 1200000>;
48 qcom,pvs-corner-ceiling-fast = <1050000 1050000 1140000>;
Willie Ruan7143bf62013-03-18 23:35:02 -070049 vdd-apc-supply = <&pm8226_s2>;
Willie Ruanb17b7832013-04-08 21:30:27 -070050
Willie Ruan839e8dd2013-04-04 09:59:31 -070051 vdd-mx-supply = <&pm8226_l3_ao>;
52 qcom,vdd-mx-vmax = <1350000>;
53 qcom,vdd-mx-vmin-method = <1>;
Willie Ruanb17b7832013-04-08 21:30:27 -070054
55 qcom,cpr-ref-clk = <19200>;
56 qcom,cpr-timer-delay = <5000>;
David Collinse808f902013-06-04 17:18:12 -070057 qcom,cpr-timer-cons-up = <0>;
Willie Ruanb17b7832013-04-08 21:30:27 -070058 qcom,cpr-timer-cons-down = <2>;
59 qcom,cpr-irq-line = <0>;
60 qcom,cpr-step-quotient = <15>;
David Collinse808f902013-06-04 17:18:12 -070061 qcom,cpr-up-threshold = <0>;
62 qcom,cpr-down-threshold = <10>;
63 qcom,cpr-idle-clocks = <0>;
Willie Ruanb17b7832013-04-08 21:30:27 -070064 qcom,cpr-gcnt-time = <1>;
65 qcom,vdd-apc-step-up-limit = <1>;
66 qcom,vdd-apc-step-down-limit = <1>;
67 qcom,cpr-apc-volt-step = <5000>;
David Collins1581afc2013-05-21 14:32:00 -070068
Willie Ruan84e58d42013-06-12 13:01:28 -070069 qcom,cpr-fuse-redun-sel = <138 57 1 1>;
70 qcom,cpr-fuse-row = <138>;
71 qcom,cpr-fuse-bp-cpr-disable = <36>;
72 qcom,cpr-fuse-bp-scheme = <37>;
73 qcom,cpr-fuse-target-quot = <24 12 0>;
74 qcom,cpr-fuse-ro-sel = <54 38 41>;
75 qcom,cpr-fuse-redun-row = <139>;
76 qcom,cpr-fuse-redun-target-quot = <24 12 0>;
77 qcom,cpr-fuse-redun-ro-sel = <46 36 39>;
78
David Collins1581afc2013-05-21 14:32:00 -070079 qcom,cpr-enable;
Willie Ruan7143bf62013-03-18 23:35:02 -070080 };
81};
82
David Keitel376b2682013-03-05 18:40:01 -080083/* RPM controlled regulators: */
84
85&rpm_bus {
86 rpm-regulator-smpa1 {
87 status = "okay";
88 pm8226_s1: regulator-s1 {
89 regulator-min-microvolt = <500000>;
90 regulator-max-microvolt = <1275000>;
91 status = "okay";
92 };
93 pm8226_s1_corner: regulator-s1-corner {
94 compatible = "qcom,rpm-regulator-smd";
95 regulator-name = "8226_s1_corner";
96 qcom,set = <3>;
97 regulator-min-microvolt = <1>;
98 regulator-max-microvolt = <7>;
99 qcom,use-voltage-corner;
Patrick Daly4c4452a2013-04-29 12:25:05 -0700100 qcom,consumer-supplies = "vdd_dig", "";
David Keitel376b2682013-03-05 18:40:01 -0800101 };
102 pm8226_s1_corner_ao: regulator-s1-corner-ao {
103 compatible = "qcom,rpm-regulator-smd";
104 regulator-name = "8226_s1_corner_ao";
105 qcom,set = <1>;
106 regulator-min-microvolt = <1>;
107 regulator-max-microvolt = <7>;
108 qcom,use-voltage-corner;
Patrick Daly4c4452a2013-04-29 12:25:05 -0700109 qcom,consumer-supplies = "vdd_sr2_dig", "";
David Keitel376b2682013-03-05 18:40:01 -0800110 };
Jennifer Liuc022d3a2013-06-26 11:33:58 -0700111 pm8226_s1_floor_corner: regulator-s1-floor-corner {
112 compatible = "qcom,rpm-regulator-smd";
113 regulator-name = "8226_s1_floor_corner";
114 qcom,set = <3>;
115 regulator-min-microvolt = <1>;
116 regulator-max-microvolt = <7>;
117 qcom,use-voltage-floor-corner;
118 qcom,always-send-voltage;
119 };
David Keitel376b2682013-03-05 18:40:01 -0800120 };
121
122 rpm-regulator-smpa3 {
123 status = "okay";
124 pm8226_s3: regulator-s3 {
125 regulator-min-microvolt = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800126 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -0800127 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800128 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800129 };
130 };
131
132 rpm-regulator-smpa4 {
133 status = "okay";
134 pm8226_s4: regulator-s4 {
Bhalchandra Gajaredef08ad2013-06-20 15:25:28 -0700135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <2200000>;
137 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800138 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800139 };
140 };
141
142 rpm-regulator-smpa5 {
143 status = "okay";
144 pm8226_s5: regulator-s5 {
David Keitel7184c6e2013-02-11 13:23:04 -0800145 regulator-min-microvolt = <1150000>;
146 regulator-max-microvolt = <1150000>;
David Keitel376b2682013-03-05 18:40:01 -0800147 qcom,init-voltage = <1150000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800148 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800149 };
150 };
151
152 rpm-regulator-ldoa1 {
153 status = "okay";
154 pm8226_l1: regulator-l1 {
David Keitel7184c6e2013-02-11 13:23:04 -0800155 regulator-name = "8226_l1";
David Keitel7184c6e2013-02-11 13:23:04 -0800156 regulator-min-microvolt = <1225000>;
157 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -0800158 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800159 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800160 };
161 };
162
163 rpm-regulator-ldoa2 {
164 status = "okay";
165 pm8226_l2: regulator-l2 {
David Keitel7184c6e2013-02-11 13:23:04 -0800166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800168 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800169 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800170 };
171 };
172
173 rpm-regulator-ldoa3 {
174 status = "okay";
175 pm8226_l3: regulator-l3 {
David Keitel7184c6e2013-02-11 13:23:04 -0800176 regulator-name = "8226_l3";
David Keitel376b2682013-03-05 18:40:01 -0800177 regulator-min-microvolt = <750000>;
178 regulator-max-microvolt = <1275000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800179 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800180 };
181 pm8226_l3_ao: regulator-3-ao {
182 compatible = "qcom,rpm-regulator-smd";
183 regulator-name = "8226_l3_ao";
184 qcom,set = <1>;
185 regulator-min-microvolt = <750000>;
186 regulator-max-microvolt = <1275000>;
187 status = "okay";
188 };
189 pm8226_l3_so: regulator-l3-so {
190 compatible = "qcom,rpm-regulator-smd";
191 regulator-name = "8226_l3_so";
192 qcom,set = <2>;
193 regulator-min-microvolt = <750000>;
194 regulator-max-microvolt = <1275000>;
195 qcom,init-voltage = <750000>;
196 status = "okay";
197 };
198 };
199
200 rpm-regulator-ldoa4 {
201 status = "okay";
202 pm8226_l4: regulator-l4 {
David Keitel7184c6e2013-02-11 13:23:04 -0800203 regulator-name = "8226_l4";
David Keitel7184c6e2013-02-11 13:23:04 -0800204 regulator-min-microvolt = <1200000>;
205 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800206 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800207 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800208 };
209 };
210
211 rpm-regulator-ldoa5 {
212 status = "okay";
213 pm8226_l5: regulator-l5 {
David Keitel7184c6e2013-02-11 13:23:04 -0800214 regulator-name = "8226_l5";
David Keitel7184c6e2013-02-11 13:23:04 -0800215 regulator-min-microvolt = <1200000>;
216 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800217 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800218 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800219 };
220 };
221
222 rpm-regulator-ldoa6 {
223 status = "okay";
224 pm8226_l6: regulator-l6 {
David Keitel7184c6e2013-02-11 13:23:04 -0800225 regulator-name = "8226_l6";
David Keitel7184c6e2013-02-11 13:23:04 -0800226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800228 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800229 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800230 };
231 };
232
233 rpm-regulator-ldoa7 {
234 status = "okay";
235 pm8226_l7: regulator-l7 {
David Keitel7184c6e2013-02-11 13:23:04 -0800236 regulator-name = "8226_l7";
David Keitel7184c6e2013-02-11 13:23:04 -0800237 regulator-min-microvolt = <1850000>;
238 regulator-max-microvolt = <1850000>;
David Keitel376b2682013-03-05 18:40:01 -0800239 qcom,init-voltage = <1850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800240 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800241 };
242 };
243
244 rpm-regulator-ldoa8 {
245 status = "okay";
246 pm8226_l8: regulator-l8 {
David Keitel7184c6e2013-02-11 13:23:04 -0800247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800249 qcom,init-voltage = <1800000>;
250 status = "okay";
David Keitel3c56f482013-05-20 12:54:21 -0700251 };
252
253 pm8226_l8_ao: regulator-l8-ao {
254 compatible = "qcom,rpm-regulator-smd";
255 regulator-name = "8226_l8_ao";
256 qcom,set = <1>;
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
259 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800260 qcom,consumer-supplies = "vdd_sr2_pll", "";
261 };
David Keitel3c56f482013-05-20 12:54:21 -0700262
263 pm8226_l8_so: regulator-l8-so {
264 compatible = "qcom,rpm-regulator-smd";
265 regulator-name = "8226_l8_so";
266 qcom,set = <2>;
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 qcom,init-voltage = <1800000>;
270 qcom,init-enable = <0>;
271 };
David Keitel376b2682013-03-05 18:40:01 -0800272 };
David Collins37ddb972012-10-17 15:00:26 -0700273
David Keitel376b2682013-03-05 18:40:01 -0800274 rpm-regulator-ldoa9 {
275 status = "okay";
276 pm8226_l9: regulator-l9 {
David Keitel7184c6e2013-02-11 13:23:04 -0800277 regulator-name = "8226_l9";
David Keitel7184c6e2013-02-11 13:23:04 -0800278 regulator-min-microvolt = <2050000>;
279 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800280 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800281 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800282 };
283 };
284
285 rpm-regulator-ldoa10 {
286 status = "okay";
287 pm8226_l10: regulator-l10 {
David Keitel7184c6e2013-02-11 13:23:04 -0800288 regulator-name = "8226_l10";
David Keitel7184c6e2013-02-11 13:23:04 -0800289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800291 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800292 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800293 };
294 };
295
296 rpm-regulator-ldoa12 {
297 status = "okay";
298 pm8226_l12: regulator-l12 {
David Keitel7184c6e2013-02-11 13:23:04 -0800299 regulator-name = "8226_l12";
David Keitel7184c6e2013-02-11 13:23:04 -0800300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800302 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800303 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800304 };
305 };
306
307 rpm-regulator-ldoa14 {
308 status = "okay";
309 pm8226_l14: regulator-l14 {
David Keitel7184c6e2013-02-11 13:23:04 -0800310 regulator-name = "8226_l14";
David Keitel7184c6e2013-02-11 13:23:04 -0800311 regulator-min-microvolt = <2750000>;
312 regulator-max-microvolt = <2750000>;
David Keitel376b2682013-03-05 18:40:01 -0800313 qcom,init-voltage = <2750000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800314 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800315 };
316 };
317
318 rpm-regulator-ldoa15 {
319 status = "okay";
320 pm8226_l15: regulator-l15 {
David Keitel7184c6e2013-02-11 13:23:04 -0800321 regulator-name = "8226_l15";
David Keitel7184c6e2013-02-11 13:23:04 -0800322 regulator-min-microvolt = <2800000>;
323 regulator-max-microvolt = <2800000>;
David Keitel376b2682013-03-05 18:40:01 -0800324 qcom,init-voltage = <2800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800325 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800326 };
327 };
328
329 rpm-regulator-ldoa16 {
330 status = "okay";
331 pm8226_l16: regulator-l16 {
David Keitel7184c6e2013-02-11 13:23:04 -0800332 regulator-name = "8226_l16";
David Keitel7184c6e2013-02-11 13:23:04 -0800333 regulator-min-microvolt = <3000000>;
334 regulator-max-microvolt = <3300000>;
David Keitel376b2682013-03-05 18:40:01 -0800335 qcom,init-voltage = <3300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800336 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800337 };
338 };
339
340 rpm-regulator-ldoa17 {
341 status = "okay";
342 pm8226_l17: regulator-l17 {
David Keitel7184c6e2013-02-11 13:23:04 -0800343 regulator-min-microvolt = <2950000>;
344 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800345 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800346 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800347 };
348 };
349
350 rpm-regulator-ldoa18 {
351 status = "okay";
352 pm8226_l18: regulator-l18 {
David Keitel7184c6e2013-02-11 13:23:04 -0800353 regulator-name = "8226_l18";
David Keitel7184c6e2013-02-11 13:23:04 -0800354 regulator-min-microvolt = <2950000>;
355 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800356 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800357 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800358 };
359 };
360
361 rpm-regulator-ldoa19 {
362 status = "okay";
363 pm8226_l19: regulator-l19 {
David Keitel7184c6e2013-02-11 13:23:04 -0800364 regulator-name = "8226_l19";
David Keitel7184c6e2013-02-11 13:23:04 -0800365 regulator-min-microvolt = <2850000>;
366 regulator-max-microvolt = <2850000>;
David Keitel376b2682013-03-05 18:40:01 -0800367 qcom,init-voltage = <2850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800368 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800369 };
370 };
371
372 rpm-regulator-ldoa20 {
373 status = "okay";
374 pm8226_l20: regulator-l20 {
David Keitel7184c6e2013-02-11 13:23:04 -0800375 regulator-name = "8226_l20";
David Keitel7184c6e2013-02-11 13:23:04 -0800376 regulator-min-microvolt = <3075000>;
377 regulator-max-microvolt = <3075000>;
David Keitel376b2682013-03-05 18:40:01 -0800378 qcom,init-voltage = <3075000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800379 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800380 };
381 };
382
383 rpm-regulator-ldoa21 {
384 status = "okay";
385 pm8226_l21: regulator-l21 {
David Keitel7184c6e2013-02-11 13:23:04 -0800386 regulator-name = "8226_l21";
David Keitel7184c6e2013-02-11 13:23:04 -0800387 regulator-min-microvolt = <1800000>;
388 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800389 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800390 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800391 };
392 };
393
394 rpm-regulator-ldoa22 {
395 status = "okay";
396 pm8226_l22: regulator-l22 {
David Keitel7184c6e2013-02-11 13:23:04 -0800397 regulator-name = "8226_l22";
David Keitel7184c6e2013-02-11 13:23:04 -0800398 regulator-min-microvolt = <1800000>;
399 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800400 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800401 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800402 };
403 };
404
405 rpm-regulator-ldoa23 {
406 status = "okay";
407 pm8226_l23: regulator-l23 {
David Keitel7184c6e2013-02-11 13:23:04 -0800408 regulator-name = "8226_l23";
David Keitel7184c6e2013-02-11 13:23:04 -0800409 regulator-min-microvolt = <1800000>;
410 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800411 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800412 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800413 };
414 };
415
416 rpm-regulator-ldoa24 {
417 status = "okay";
418 pm8226_l24: regulator-l24 {
David Keitel7184c6e2013-02-11 13:23:04 -0800419 regulator-name = "8226_l24";
David Keitel7184c6e2013-02-11 13:23:04 -0800420 regulator-min-microvolt = <1300000>;
421 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -0800422 qcom,init-voltage = <1300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800423 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800424 };
425 };
426
David Keitel69d1d722013-06-07 19:30:32 -0700427 rpm-regulator-ldoa25 {
428 status = "okay";
429 pm8226_l25: regulator-l25 {
430 regulator-name = "8226_l25";
431 regulator-min-microvolt = <1775000>;
432 regulator-max-microvolt = <2125000>;
433 qcom,init-voltage = <1775000>;
434 status = "okay";
435 };
436 };
437
David Keitel376b2682013-03-05 18:40:01 -0800438 rpm-regulator-ldoa26 {
439 status = "okay";
440 pm8226_l26: regulator-l26 {
David Keitel7184c6e2013-02-11 13:23:04 -0800441 regulator-name = "8226_l26";
David Keitel7184c6e2013-02-11 13:23:04 -0800442 regulator-min-microvolt = <1225000>;
443 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -0800444 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800445 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800446 };
447 };
448
449 rpm-regulator-ldoa27 {
450 status = "okay";
451 pm8226_l27: regulator-l27 {
David Keitel7184c6e2013-02-11 13:23:04 -0800452 regulator-name = "8226_l27";
David Keitel7184c6e2013-02-11 13:23:04 -0800453 regulator-min-microvolt = <2050000>;
454 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800455 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800456 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800457 };
458 };
459
460 rpm-regulator-ldoa28 {
461 status = "okay";
462 pm8226_l28: regulator-l28 {
David Keitel7184c6e2013-02-11 13:23:04 -0800463 regulator-name = "8226_l28";
David Keitel7184c6e2013-02-11 13:23:04 -0800464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800466 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800467 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800468 };
469 };
470
471 rpm-regulator-vsa1 {
472 status = "okay";
473 pm8226_lvs1: regulator-lvs1 {
474 status = "okay";
David Keitel7184c6e2013-02-11 13:23:04 -0800475 };
David Collins37ddb972012-10-17 15:00:26 -0700476 };
477};
David Keitel55aa28c2013-05-22 05:24:47 -0700478
479&pm8226_chg_boost {
480 regulator-min-microvolt = <5000000>;
481 regulator-max-microvolt = <5000000>;
482 regulator-name = "8226_smbbp_boost";
483};
484
David Collins091bb242013-05-23 11:08:24 -0700485&soc {
486 usb_otg_sw: regulator-ncp380 {
487 compatible = "regulator-fixed";
488 regulator-name = "usb_otg_sw";
489 gpio = <&msmgpio 67 0>;
490 parent-supply = <&pm8226_chg_boost>;
491 startup-delay-us = <4000>;
492 enable-active-high;
493 status = "disabled";
494 };
495};