diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-01-14 10:30:49 -0500 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-01-14 10:30:49 -0500 |
commit | 23c76dc666471dce5ce71b620839d2465723a7c9 (patch) | |
tree | 0d046b0f2103964a8d05048fe8acac4433bd5639 | |
parent | ae845476b2116f839550e49a7af133a2d246e657 (diff) |
ARM: dts: Configure regulators for suspend on exynos Peach boards
The regulator core now has support to choose if a regulator
has to be enabled or disabled during system suspend and also
supports changing the regulator operating mode during runtime
and when the system enters into sleep mode.
To lower power during suspend, configure the regulators state
using the same configuration found in the ChromeOS 3.8 kernel
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/exynos5420-peach-pit.dts | 81 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5800-peach-pi.dts | 81 |
2 files changed, 162 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index a4c5152f6b6e..c47bb70665c1 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <dt-bindings/gpio/gpio.h> | 13 | #include <dt-bindings/gpio/gpio.h> |
14 | #include <dt-bindings/interrupt-controller/irq.h> | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | #include <dt-bindings/clock/maxim,max77802.h> | 15 | #include <dt-bindings/clock/maxim,max77802.h> |
16 | #include <dt-bindings/regulator/maxim,max77802.h> | ||
16 | #include "exynos5420.dtsi" | 17 | #include "exynos5420.dtsi" |
17 | 18 | ||
18 | / { | 19 | / { |
@@ -201,6 +202,9 @@ | |||
201 | regulator-always-on; | 202 | regulator-always-on; |
202 | regulator-boot-on; | 203 | regulator-boot-on; |
203 | regulator-ramp-delay = <12500>; | 204 | regulator-ramp-delay = <12500>; |
205 | regulator-state-mem { | ||
206 | regulator-off-in-suspend; | ||
207 | }; | ||
204 | }; | 208 | }; |
205 | 209 | ||
206 | buck2_reg: BUCK2 { | 210 | buck2_reg: BUCK2 { |
@@ -210,6 +214,9 @@ | |||
210 | regulator-always-on; | 214 | regulator-always-on; |
211 | regulator-boot-on; | 215 | regulator-boot-on; |
212 | regulator-ramp-delay = <12500>; | 216 | regulator-ramp-delay = <12500>; |
217 | regulator-state-mem { | ||
218 | regulator-off-in-suspend; | ||
219 | }; | ||
213 | }; | 220 | }; |
214 | 221 | ||
215 | buck3_reg: BUCK3 { | 222 | buck3_reg: BUCK3 { |
@@ -219,6 +226,9 @@ | |||
219 | regulator-always-on; | 226 | regulator-always-on; |
220 | regulator-boot-on; | 227 | regulator-boot-on; |
221 | regulator-ramp-delay = <12500>; | 228 | regulator-ramp-delay = <12500>; |
229 | regulator-state-mem { | ||
230 | regulator-off-in-suspend; | ||
231 | }; | ||
222 | }; | 232 | }; |
223 | 233 | ||
224 | buck4_reg: BUCK4 { | 234 | buck4_reg: BUCK4 { |
@@ -228,6 +238,9 @@ | |||
228 | regulator-always-on; | 238 | regulator-always-on; |
229 | regulator-boot-on; | 239 | regulator-boot-on; |
230 | regulator-ramp-delay = <12500>; | 240 | regulator-ramp-delay = <12500>; |
241 | regulator-state-mem { | ||
242 | regulator-off-in-suspend; | ||
243 | }; | ||
231 | }; | 244 | }; |
232 | 245 | ||
233 | buck5_reg: BUCK5 { | 246 | buck5_reg: BUCK5 { |
@@ -236,6 +249,9 @@ | |||
236 | regulator-max-microvolt = <1200000>; | 249 | regulator-max-microvolt = <1200000>; |
237 | regulator-always-on; | 250 | regulator-always-on; |
238 | regulator-boot-on; | 251 | regulator-boot-on; |
252 | regulator-state-mem { | ||
253 | regulator-off-in-suspend; | ||
254 | }; | ||
239 | }; | 255 | }; |
240 | 256 | ||
241 | buck6_reg: BUCK6 { | 257 | buck6_reg: BUCK6 { |
@@ -245,6 +261,9 @@ | |||
245 | regulator-always-on; | 261 | regulator-always-on; |
246 | regulator-boot-on; | 262 | regulator-boot-on; |
247 | regulator-ramp-delay = <12500>; | 263 | regulator-ramp-delay = <12500>; |
264 | regulator-state-mem { | ||
265 | regulator-off-in-suspend; | ||
266 | }; | ||
248 | }; | 267 | }; |
249 | 268 | ||
250 | buck7_reg: BUCK7 { | 269 | buck7_reg: BUCK7 { |
@@ -253,6 +272,9 @@ | |||
253 | regulator-max-microvolt = <1350000>; | 272 | regulator-max-microvolt = <1350000>; |
254 | regulator-always-on; | 273 | regulator-always-on; |
255 | regulator-boot-on; | 274 | regulator-boot-on; |
275 | regulator-state-mem { | ||
276 | regulator-on-in-suspend; | ||
277 | }; | ||
256 | }; | 278 | }; |
257 | 279 | ||
258 | buck8_reg: BUCK8 { | 280 | buck8_reg: BUCK8 { |
@@ -261,6 +283,9 @@ | |||
261 | regulator-max-microvolt = <2850000>; | 283 | regulator-max-microvolt = <2850000>; |
262 | regulator-always-on; | 284 | regulator-always-on; |
263 | regulator-boot-on; | 285 | regulator-boot-on; |
286 | regulator-state-mem { | ||
287 | regulator-off-in-suspend; | ||
288 | }; | ||
264 | }; | 289 | }; |
265 | 290 | ||
266 | buck9_reg: BUCK9 { | 291 | buck9_reg: BUCK9 { |
@@ -269,6 +294,9 @@ | |||
269 | regulator-max-microvolt = <2000000>; | 294 | regulator-max-microvolt = <2000000>; |
270 | regulator-always-on; | 295 | regulator-always-on; |
271 | regulator-boot-on; | 296 | regulator-boot-on; |
297 | regulator-state-mem { | ||
298 | regulator-on-in-suspend; | ||
299 | }; | ||
272 | }; | 300 | }; |
273 | 301 | ||
274 | buck10_reg: BUCK10 { | 302 | buck10_reg: BUCK10 { |
@@ -277,6 +305,9 @@ | |||
277 | regulator-max-microvolt = <1800000>; | 305 | regulator-max-microvolt = <1800000>; |
278 | regulator-always-on; | 306 | regulator-always-on; |
279 | regulator-boot-on; | 307 | regulator-boot-on; |
308 | regulator-state-mem { | ||
309 | regulator-on-in-suspend; | ||
310 | }; | ||
280 | }; | 311 | }; |
281 | 312 | ||
282 | ldo1_reg: LDO1 { | 313 | ldo1_reg: LDO1 { |
@@ -284,6 +315,10 @@ | |||
284 | regulator-min-microvolt = <1000000>; | 315 | regulator-min-microvolt = <1000000>; |
285 | regulator-max-microvolt = <1000000>; | 316 | regulator-max-microvolt = <1000000>; |
286 | regulator-always-on; | 317 | regulator-always-on; |
318 | regulator-state-mem { | ||
319 | regulator-on-in-suspend; | ||
320 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
321 | }; | ||
287 | }; | 322 | }; |
288 | 323 | ||
289 | ldo2_reg: LDO2 { | 324 | ldo2_reg: LDO2 { |
@@ -297,6 +332,10 @@ | |||
297 | regulator-min-microvolt = <1800000>; | 332 | regulator-min-microvolt = <1800000>; |
298 | regulator-max-microvolt = <1800000>; | 333 | regulator-max-microvolt = <1800000>; |
299 | regulator-always-on; | 334 | regulator-always-on; |
335 | regulator-state-mem { | ||
336 | regulator-on-in-suspend; | ||
337 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
338 | }; | ||
300 | }; | 339 | }; |
301 | 340 | ||
302 | vqmmc_sdcard: ldo4_reg: LDO4 { | 341 | vqmmc_sdcard: ldo4_reg: LDO4 { |
@@ -304,6 +343,9 @@ | |||
304 | regulator-min-microvolt = <1800000>; | 343 | regulator-min-microvolt = <1800000>; |
305 | regulator-max-microvolt = <2800000>; | 344 | regulator-max-microvolt = <2800000>; |
306 | regulator-always-on; | 345 | regulator-always-on; |
346 | regulator-state-mem { | ||
347 | regulator-off-in-suspend; | ||
348 | }; | ||
307 | }; | 349 | }; |
308 | 350 | ||
309 | ldo5_reg: LDO5 { | 351 | ldo5_reg: LDO5 { |
@@ -311,6 +353,9 @@ | |||
311 | regulator-min-microvolt = <1800000>; | 353 | regulator-min-microvolt = <1800000>; |
312 | regulator-max-microvolt = <1800000>; | 354 | regulator-max-microvolt = <1800000>; |
313 | regulator-always-on; | 355 | regulator-always-on; |
356 | regulator-state-mem { | ||
357 | regulator-off-in-suspend; | ||
358 | }; | ||
314 | }; | 359 | }; |
315 | 360 | ||
316 | ldo6_reg: LDO6 { | 361 | ldo6_reg: LDO6 { |
@@ -318,6 +363,9 @@ | |||
318 | regulator-min-microvolt = <1800000>; | 363 | regulator-min-microvolt = <1800000>; |
319 | regulator-max-microvolt = <1800000>; | 364 | regulator-max-microvolt = <1800000>; |
320 | regulator-always-on; | 365 | regulator-always-on; |
366 | regulator-state-mem { | ||
367 | regulator-off-in-suspend; | ||
368 | }; | ||
321 | }; | 369 | }; |
322 | 370 | ||
323 | ldo7_reg: LDO7 { | 371 | ldo7_reg: LDO7 { |
@@ -331,6 +379,9 @@ | |||
331 | regulator-min-microvolt = <1000000>; | 379 | regulator-min-microvolt = <1000000>; |
332 | regulator-max-microvolt = <1000000>; | 380 | regulator-max-microvolt = <1000000>; |
333 | regulator-always-on; | 381 | regulator-always-on; |
382 | regulator-state-mem { | ||
383 | regulator-off-in-suspend; | ||
384 | }; | ||
334 | }; | 385 | }; |
335 | 386 | ||
336 | ldo9_reg: LDO9 { | 387 | ldo9_reg: LDO9 { |
@@ -338,6 +389,10 @@ | |||
338 | regulator-min-microvolt = <1800000>; | 389 | regulator-min-microvolt = <1800000>; |
339 | regulator-max-microvolt = <1800000>; | 390 | regulator-max-microvolt = <1800000>; |
340 | regulator-always-on; | 391 | regulator-always-on; |
392 | regulator-state-mem { | ||
393 | regulator-on-in-suspend; | ||
394 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
395 | }; | ||
341 | }; | 396 | }; |
342 | 397 | ||
343 | ldo10_reg: LDO10 { | 398 | ldo10_reg: LDO10 { |
@@ -345,6 +400,9 @@ | |||
345 | regulator-min-microvolt = <1800000>; | 400 | regulator-min-microvolt = <1800000>; |
346 | regulator-max-microvolt = <1800000>; | 401 | regulator-max-microvolt = <1800000>; |
347 | regulator-always-on; | 402 | regulator-always-on; |
403 | regulator-state-mem { | ||
404 | regulator-off-in-suspend; | ||
405 | }; | ||
348 | }; | 406 | }; |
349 | 407 | ||
350 | ldo11_reg: LDO11 { | 408 | ldo11_reg: LDO11 { |
@@ -352,6 +410,10 @@ | |||
352 | regulator-min-microvolt = <1800000>; | 410 | regulator-min-microvolt = <1800000>; |
353 | regulator-max-microvolt = <1800000>; | 411 | regulator-max-microvolt = <1800000>; |
354 | regulator-always-on; | 412 | regulator-always-on; |
413 | regulator-state-mem { | ||
414 | regulator-on-in-suspend; | ||
415 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
416 | }; | ||
355 | }; | 417 | }; |
356 | 418 | ||
357 | ldo12_reg: LDO12 { | 419 | ldo12_reg: LDO12 { |
@@ -359,6 +421,9 @@ | |||
359 | regulator-min-microvolt = <3000000>; | 421 | regulator-min-microvolt = <3000000>; |
360 | regulator-max-microvolt = <3000000>; | 422 | regulator-max-microvolt = <3000000>; |
361 | regulator-always-on; | 423 | regulator-always-on; |
424 | regulator-state-mem { | ||
425 | regulator-off-in-suspend; | ||
426 | }; | ||
362 | }; | 427 | }; |
363 | 428 | ||
364 | ldo13_reg: LDO13 { | 429 | ldo13_reg: LDO13 { |
@@ -366,6 +431,10 @@ | |||
366 | regulator-min-microvolt = <1800000>; | 431 | regulator-min-microvolt = <1800000>; |
367 | regulator-max-microvolt = <1800000>; | 432 | regulator-max-microvolt = <1800000>; |
368 | regulator-always-on; | 433 | regulator-always-on; |
434 | regulator-state-mem { | ||
435 | regulator-on-in-suspend; | ||
436 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
437 | }; | ||
369 | }; | 438 | }; |
370 | 439 | ||
371 | ldo14_reg: LDO14 { | 440 | ldo14_reg: LDO14 { |
@@ -373,6 +442,9 @@ | |||
373 | regulator-min-microvolt = <1800000>; | 442 | regulator-min-microvolt = <1800000>; |
374 | regulator-max-microvolt = <1800000>; | 443 | regulator-max-microvolt = <1800000>; |
375 | regulator-always-on; | 444 | regulator-always-on; |
445 | regulator-state-mem { | ||
446 | regulator-off-in-suspend; | ||
447 | }; | ||
376 | }; | 448 | }; |
377 | 449 | ||
378 | ldo15_reg: LDO15 { | 450 | ldo15_reg: LDO15 { |
@@ -380,6 +452,9 @@ | |||
380 | regulator-min-microvolt = <1000000>; | 452 | regulator-min-microvolt = <1000000>; |
381 | regulator-max-microvolt = <1000000>; | 453 | regulator-max-microvolt = <1000000>; |
382 | regulator-always-on; | 454 | regulator-always-on; |
455 | regulator-state-mem { | ||
456 | regulator-off-in-suspend; | ||
457 | }; | ||
383 | }; | 458 | }; |
384 | 459 | ||
385 | ldo17_reg: LDO17 { | 460 | ldo17_reg: LDO17 { |
@@ -387,6 +462,9 @@ | |||
387 | regulator-min-microvolt = <900000>; | 462 | regulator-min-microvolt = <900000>; |
388 | regulator-max-microvolt = <1400000>; | 463 | regulator-max-microvolt = <1400000>; |
389 | regulator-always-on; | 464 | regulator-always-on; |
465 | regulator-state-mem { | ||
466 | regulator-off-in-suspend; | ||
467 | }; | ||
390 | }; | 468 | }; |
391 | 469 | ||
392 | ldo18_reg: LDO18 { | 470 | ldo18_reg: LDO18 { |
@@ -460,6 +538,9 @@ | |||
460 | regulator-min-microvolt = <1000000>; | 538 | regulator-min-microvolt = <1000000>; |
461 | regulator-max-microvolt = <1000000>; | 539 | regulator-max-microvolt = <1000000>; |
462 | regulator-always-on; | 540 | regulator-always-on; |
541 | regulator-state-mem { | ||
542 | regulator-off-in-suspend; | ||
543 | }; | ||
463 | }; | 544 | }; |
464 | 545 | ||
465 | ldo32_reg: LDO32 { | 546 | ldo32_reg: LDO32 { |
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 136727696ebe..06737c60d333 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <dt-bindings/gpio/gpio.h> | 13 | #include <dt-bindings/gpio/gpio.h> |
14 | #include <dt-bindings/interrupt-controller/irq.h> | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | #include <dt-bindings/clock/maxim,max77802.h> | 15 | #include <dt-bindings/clock/maxim,max77802.h> |
16 | #include <dt-bindings/regulator/maxim,max77802.h> | ||
16 | #include "exynos5800.dtsi" | 17 | #include "exynos5800.dtsi" |
17 | 18 | ||
18 | / { | 19 | / { |
@@ -201,6 +202,9 @@ | |||
201 | regulator-always-on; | 202 | regulator-always-on; |
202 | regulator-boot-on; | 203 | regulator-boot-on; |
203 | regulator-ramp-delay = <12500>; | 204 | regulator-ramp-delay = <12500>; |
205 | regulator-state-mem { | ||
206 | regulator-off-in-suspend; | ||
207 | }; | ||
204 | }; | 208 | }; |
205 | 209 | ||
206 | buck2_reg: BUCK2 { | 210 | buck2_reg: BUCK2 { |
@@ -210,6 +214,9 @@ | |||
210 | regulator-always-on; | 214 | regulator-always-on; |
211 | regulator-boot-on; | 215 | regulator-boot-on; |
212 | regulator-ramp-delay = <12500>; | 216 | regulator-ramp-delay = <12500>; |
217 | regulator-state-mem { | ||
218 | regulator-off-in-suspend; | ||
219 | }; | ||
213 | }; | 220 | }; |
214 | 221 | ||
215 | buck3_reg: BUCK3 { | 222 | buck3_reg: BUCK3 { |
@@ -219,6 +226,9 @@ | |||
219 | regulator-always-on; | 226 | regulator-always-on; |
220 | regulator-boot-on; | 227 | regulator-boot-on; |
221 | regulator-ramp-delay = <12500>; | 228 | regulator-ramp-delay = <12500>; |
229 | regulator-state-mem { | ||
230 | regulator-off-in-suspend; | ||
231 | }; | ||
222 | }; | 232 | }; |
223 | 233 | ||
224 | buck4_reg: BUCK4 { | 234 | buck4_reg: BUCK4 { |
@@ -228,6 +238,9 @@ | |||
228 | regulator-always-on; | 238 | regulator-always-on; |
229 | regulator-boot-on; | 239 | regulator-boot-on; |
230 | regulator-ramp-delay = <12500>; | 240 | regulator-ramp-delay = <12500>; |
241 | regulator-state-mem { | ||
242 | regulator-off-in-suspend; | ||
243 | }; | ||
231 | }; | 244 | }; |
232 | 245 | ||
233 | buck5_reg: BUCK5 { | 246 | buck5_reg: BUCK5 { |
@@ -236,6 +249,9 @@ | |||
236 | regulator-max-microvolt = <1200000>; | 249 | regulator-max-microvolt = <1200000>; |
237 | regulator-always-on; | 250 | regulator-always-on; |
238 | regulator-boot-on; | 251 | regulator-boot-on; |
252 | regulator-state-mem { | ||
253 | regulator-off-in-suspend; | ||
254 | }; | ||
239 | }; | 255 | }; |
240 | 256 | ||
241 | buck6_reg: BUCK6 { | 257 | buck6_reg: BUCK6 { |
@@ -245,6 +261,9 @@ | |||
245 | regulator-always-on; | 261 | regulator-always-on; |
246 | regulator-boot-on; | 262 | regulator-boot-on; |
247 | regulator-ramp-delay = <12500>; | 263 | regulator-ramp-delay = <12500>; |
264 | regulator-state-mem { | ||
265 | regulator-off-in-suspend; | ||
266 | }; | ||
248 | }; | 267 | }; |
249 | 268 | ||
250 | buck7_reg: BUCK7 { | 269 | buck7_reg: BUCK7 { |
@@ -253,6 +272,9 @@ | |||
253 | regulator-max-microvolt = <1350000>; | 272 | regulator-max-microvolt = <1350000>; |
254 | regulator-always-on; | 273 | regulator-always-on; |
255 | regulator-boot-on; | 274 | regulator-boot-on; |
275 | regulator-state-mem { | ||
276 | regulator-on-in-suspend; | ||
277 | }; | ||
256 | }; | 278 | }; |
257 | 279 | ||
258 | buck8_reg: BUCK8 { | 280 | buck8_reg: BUCK8 { |
@@ -261,6 +283,9 @@ | |||
261 | regulator-max-microvolt = <2850000>; | 283 | regulator-max-microvolt = <2850000>; |
262 | regulator-always-on; | 284 | regulator-always-on; |
263 | regulator-boot-on; | 285 | regulator-boot-on; |
286 | regulator-state-mem { | ||
287 | regulator-off-in-suspend; | ||
288 | }; | ||
264 | }; | 289 | }; |
265 | 290 | ||
266 | buck9_reg: BUCK9 { | 291 | buck9_reg: BUCK9 { |
@@ -269,6 +294,9 @@ | |||
269 | regulator-max-microvolt = <2000000>; | 294 | regulator-max-microvolt = <2000000>; |
270 | regulator-always-on; | 295 | regulator-always-on; |
271 | regulator-boot-on; | 296 | regulator-boot-on; |
297 | regulator-state-mem { | ||
298 | regulator-on-in-suspend; | ||
299 | }; | ||
272 | }; | 300 | }; |
273 | 301 | ||
274 | buck10_reg: BUCK10 { | 302 | buck10_reg: BUCK10 { |
@@ -277,6 +305,9 @@ | |||
277 | regulator-max-microvolt = <1800000>; | 305 | regulator-max-microvolt = <1800000>; |
278 | regulator-always-on; | 306 | regulator-always-on; |
279 | regulator-boot-on; | 307 | regulator-boot-on; |
308 | regulator-state-mem { | ||
309 | regulator-on-in-suspend; | ||
310 | }; | ||
280 | }; | 311 | }; |
281 | 312 | ||
282 | ldo1_reg: LDO1 { | 313 | ldo1_reg: LDO1 { |
@@ -284,6 +315,10 @@ | |||
284 | regulator-min-microvolt = <1000000>; | 315 | regulator-min-microvolt = <1000000>; |
285 | regulator-max-microvolt = <1000000>; | 316 | regulator-max-microvolt = <1000000>; |
286 | regulator-always-on; | 317 | regulator-always-on; |
318 | regulator-state-mem { | ||
319 | regulator-on-in-suspend; | ||
320 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
321 | }; | ||
287 | }; | 322 | }; |
288 | 323 | ||
289 | ldo2_reg: LDO2 { | 324 | ldo2_reg: LDO2 { |
@@ -297,6 +332,10 @@ | |||
297 | regulator-min-microvolt = <1800000>; | 332 | regulator-min-microvolt = <1800000>; |
298 | regulator-max-microvolt = <1800000>; | 333 | regulator-max-microvolt = <1800000>; |
299 | regulator-always-on; | 334 | regulator-always-on; |
335 | regulator-state-mem { | ||
336 | regulator-on-in-suspend; | ||
337 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
338 | }; | ||
300 | }; | 339 | }; |
301 | 340 | ||
302 | vqmmc_sdcard: ldo4_reg: LDO4 { | 341 | vqmmc_sdcard: ldo4_reg: LDO4 { |
@@ -304,6 +343,9 @@ | |||
304 | regulator-min-microvolt = <1800000>; | 343 | regulator-min-microvolt = <1800000>; |
305 | regulator-max-microvolt = <2800000>; | 344 | regulator-max-microvolt = <2800000>; |
306 | regulator-always-on; | 345 | regulator-always-on; |
346 | regulator-state-mem { | ||
347 | regulator-off-in-suspend; | ||
348 | }; | ||
307 | }; | 349 | }; |
308 | 350 | ||
309 | ldo5_reg: LDO5 { | 351 | ldo5_reg: LDO5 { |
@@ -311,6 +353,9 @@ | |||
311 | regulator-min-microvolt = <1800000>; | 353 | regulator-min-microvolt = <1800000>; |
312 | regulator-max-microvolt = <1800000>; | 354 | regulator-max-microvolt = <1800000>; |
313 | regulator-always-on; | 355 | regulator-always-on; |
356 | regulator-state-mem { | ||
357 | regulator-off-in-suspend; | ||
358 | }; | ||
314 | }; | 359 | }; |
315 | 360 | ||
316 | ldo6_reg: LDO6 { | 361 | ldo6_reg: LDO6 { |
@@ -318,6 +363,9 @@ | |||
318 | regulator-min-microvolt = <1800000>; | 363 | regulator-min-microvolt = <1800000>; |
319 | regulator-max-microvolt = <1800000>; | 364 | regulator-max-microvolt = <1800000>; |
320 | regulator-always-on; | 365 | regulator-always-on; |
366 | regulator-state-mem { | ||
367 | regulator-off-in-suspend; | ||
368 | }; | ||
321 | }; | 369 | }; |
322 | 370 | ||
323 | ldo7_reg: LDO7 { | 371 | ldo7_reg: LDO7 { |
@@ -331,6 +379,9 @@ | |||
331 | regulator-min-microvolt = <1000000>; | 379 | regulator-min-microvolt = <1000000>; |
332 | regulator-max-microvolt = <1000000>; | 380 | regulator-max-microvolt = <1000000>; |
333 | regulator-always-on; | 381 | regulator-always-on; |
382 | regulator-state-mem { | ||
383 | regulator-off-in-suspend; | ||
384 | }; | ||
334 | }; | 385 | }; |
335 | 386 | ||
336 | ldo9_reg: LDO9 { | 387 | ldo9_reg: LDO9 { |
@@ -338,6 +389,10 @@ | |||
338 | regulator-min-microvolt = <1800000>; | 389 | regulator-min-microvolt = <1800000>; |
339 | regulator-max-microvolt = <1800000>; | 390 | regulator-max-microvolt = <1800000>; |
340 | regulator-always-on; | 391 | regulator-always-on; |
392 | regulator-state-mem { | ||
393 | regulator-on-in-suspend; | ||
394 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
395 | }; | ||
341 | }; | 396 | }; |
342 | 397 | ||
343 | ldo10_reg: LDO10 { | 398 | ldo10_reg: LDO10 { |
@@ -345,6 +400,9 @@ | |||
345 | regulator-min-microvolt = <1800000>; | 400 | regulator-min-microvolt = <1800000>; |
346 | regulator-max-microvolt = <1800000>; | 401 | regulator-max-microvolt = <1800000>; |
347 | regulator-always-on; | 402 | regulator-always-on; |
403 | regulator-state-mem { | ||
404 | regulator-off-in-suspend; | ||
405 | }; | ||
348 | }; | 406 | }; |
349 | 407 | ||
350 | ldo11_reg: LDO11 { | 408 | ldo11_reg: LDO11 { |
@@ -352,6 +410,10 @@ | |||
352 | regulator-min-microvolt = <1800000>; | 410 | regulator-min-microvolt = <1800000>; |
353 | regulator-max-microvolt = <1800000>; | 411 | regulator-max-microvolt = <1800000>; |
354 | regulator-always-on; | 412 | regulator-always-on; |
413 | regulator-state-mem { | ||
414 | regulator-on-in-suspend; | ||
415 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
416 | }; | ||
355 | }; | 417 | }; |
356 | 418 | ||
357 | ldo12_reg: LDO12 { | 419 | ldo12_reg: LDO12 { |
@@ -359,6 +421,9 @@ | |||
359 | regulator-min-microvolt = <3000000>; | 421 | regulator-min-microvolt = <3000000>; |
360 | regulator-max-microvolt = <3000000>; | 422 | regulator-max-microvolt = <3000000>; |
361 | regulator-always-on; | 423 | regulator-always-on; |
424 | regulator-state-mem { | ||
425 | regulator-off-in-suspend; | ||
426 | }; | ||
362 | }; | 427 | }; |
363 | 428 | ||
364 | ldo13_reg: LDO13 { | 429 | ldo13_reg: LDO13 { |
@@ -366,6 +431,10 @@ | |||
366 | regulator-min-microvolt = <1800000>; | 431 | regulator-min-microvolt = <1800000>; |
367 | regulator-max-microvolt = <1800000>; | 432 | regulator-max-microvolt = <1800000>; |
368 | regulator-always-on; | 433 | regulator-always-on; |
434 | regulator-state-mem { | ||
435 | regulator-on-in-suspend; | ||
436 | regulator-mode = <MAX77802_OPMODE_LP>; | ||
437 | }; | ||
369 | }; | 438 | }; |
370 | 439 | ||
371 | ldo14_reg: LDO14 { | 440 | ldo14_reg: LDO14 { |
@@ -373,6 +442,9 @@ | |||
373 | regulator-min-microvolt = <1800000>; | 442 | regulator-min-microvolt = <1800000>; |
374 | regulator-max-microvolt = <1800000>; | 443 | regulator-max-microvolt = <1800000>; |
375 | regulator-always-on; | 444 | regulator-always-on; |
445 | regulator-state-mem { | ||
446 | regulator-off-in-suspend; | ||
447 | }; | ||
376 | }; | 448 | }; |
377 | 449 | ||
378 | ldo15_reg: LDO15 { | 450 | ldo15_reg: LDO15 { |
@@ -380,6 +452,9 @@ | |||
380 | regulator-min-microvolt = <1000000>; | 452 | regulator-min-microvolt = <1000000>; |
381 | regulator-max-microvolt = <1000000>; | 453 | regulator-max-microvolt = <1000000>; |
382 | regulator-always-on; | 454 | regulator-always-on; |
455 | regulator-state-mem { | ||
456 | regulator-off-in-suspend; | ||
457 | }; | ||
383 | }; | 458 | }; |
384 | 459 | ||
385 | ldo17_reg: LDO17 { | 460 | ldo17_reg: LDO17 { |
@@ -387,6 +462,9 @@ | |||
387 | regulator-min-microvolt = <900000>; | 462 | regulator-min-microvolt = <900000>; |
388 | regulator-max-microvolt = <1400000>; | 463 | regulator-max-microvolt = <1400000>; |
389 | regulator-always-on; | 464 | regulator-always-on; |
465 | regulator-state-mem { | ||
466 | regulator-off-in-suspend; | ||
467 | }; | ||
390 | }; | 468 | }; |
391 | 469 | ||
392 | ldo18_reg: LDO18 { | 470 | ldo18_reg: LDO18 { |
@@ -460,6 +538,9 @@ | |||
460 | regulator-min-microvolt = <1000000>; | 538 | regulator-min-microvolt = <1000000>; |
461 | regulator-max-microvolt = <1000000>; | 539 | regulator-max-microvolt = <1000000>; |
462 | regulator-always-on; | 540 | regulator-always-on; |
541 | regulator-state-mem { | ||
542 | regulator-off-in-suspend; | ||
543 | }; | ||
463 | }; | 544 | }; |
464 | 545 | ||
465 | ldo32_reg: LDO32 { | 546 | ldo32_reg: LDO32 { |