aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab8500.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-03-27 05:47:22 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-27 19:17:05 -0400
commit530158b6d2feeb227e0079c8826b4d2a42333e80 (patch)
tree46187a4dc8a87fa09067e125bc1989c0d9a5ceef /drivers/regulator/ab8500.c
parentf71bf52808e7089a5a6df9b32ffa13e93e51f1ca (diff)
regulator: ab8500: Add missing enable_time settings
Base on the data provide by Bengt Jönsson, add below enable_time settings: Worst case enable time from data sheet: Vana: enable time = 140 us Vaux1/2: enable time = 200 us Vaux3: enable time = 450 us Vintcore: enable time = 750 us Vamic1/2: enable time = 500 us Vdmic: enable time = 420 us VTVout: enable time = 500 us Vaudio: enable time = 140 us Vusb: enable time = 150 us This discussion thread is available at: https://lkml.org/lkml/2013/3/26/795 Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
-rw-r--r--drivers/regulator/ab8500.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index 4a70323377d3..d9443b9b384a 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -395,6 +395,7 @@ static struct ab8500_regulator_info
395 .owner = THIS_MODULE, 395 .owner = THIS_MODULE,
396 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages), 396 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
397 .volt_table = ldo_vauxn_voltages, 397 .volt_table = ldo_vauxn_voltages,
398 .enable_time = 200,
398 }, 399 },
399 .load_lp_uA = 5000, 400 .load_lp_uA = 5000,
400 .update_bank = 0x04, 401 .update_bank = 0x04,
@@ -416,6 +417,7 @@ static struct ab8500_regulator_info
416 .owner = THIS_MODULE, 417 .owner = THIS_MODULE,
417 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages), 418 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
418 .volt_table = ldo_vauxn_voltages, 419 .volt_table = ldo_vauxn_voltages,
420 .enable_time = 200,
419 }, 421 },
420 .load_lp_uA = 5000, 422 .load_lp_uA = 5000,
421 .update_bank = 0x04, 423 .update_bank = 0x04,
@@ -437,6 +439,7 @@ static struct ab8500_regulator_info
437 .owner = THIS_MODULE, 439 .owner = THIS_MODULE,
438 .n_voltages = ARRAY_SIZE(ldo_vaux3_voltages), 440 .n_voltages = ARRAY_SIZE(ldo_vaux3_voltages),
439 .volt_table = ldo_vaux3_voltages, 441 .volt_table = ldo_vaux3_voltages,
442 .enable_time = 450,
440 }, 443 },
441 .load_lp_uA = 5000, 444 .load_lp_uA = 5000,
442 .update_bank = 0x04, 445 .update_bank = 0x04,
@@ -458,6 +461,7 @@ static struct ab8500_regulator_info
458 .owner = THIS_MODULE, 461 .owner = THIS_MODULE,
459 .n_voltages = ARRAY_SIZE(ldo_vintcore_voltages), 462 .n_voltages = ARRAY_SIZE(ldo_vintcore_voltages),
460 .volt_table = ldo_vintcore_voltages, 463 .volt_table = ldo_vintcore_voltages,
464 .enable_time = 750,
461 }, 465 },
462 .load_lp_uA = 5000, 466 .load_lp_uA = 5000,
463 .update_bank = 0x03, 467 .update_bank = 0x03,
@@ -510,6 +514,7 @@ static struct ab8500_regulator_info
510 .owner = THIS_MODULE, 514 .owner = THIS_MODULE,
511 .n_voltages = 1, 515 .n_voltages = 1,
512 .min_uV = 3300000, 516 .min_uV = 3300000,
517 .enable_time = 150,
513 }, 518 },
514 .update_bank = 0x03, 519 .update_bank = 0x03,
515 .update_reg = 0x82, 520 .update_reg = 0x82,
@@ -524,6 +529,7 @@ static struct ab8500_regulator_info
524 .owner = THIS_MODULE, 529 .owner = THIS_MODULE,
525 .n_voltages = 1, 530 .n_voltages = 1,
526 .min_uV = 2000000, 531 .min_uV = 2000000,
532 .enable_time = 140,
527 }, 533 },
528 .update_bank = 0x03, 534 .update_bank = 0x03,
529 .update_reg = 0x83, 535 .update_reg = 0x83,
@@ -539,6 +545,7 @@ static struct ab8500_regulator_info
539 .owner = THIS_MODULE, 545 .owner = THIS_MODULE,
540 .n_voltages = 1, 546 .n_voltages = 1,
541 .min_uV = 2050000, 547 .min_uV = 2050000,
548 .enable_time = 500,
542 }, 549 },
543 .update_bank = 0x03, 550 .update_bank = 0x03,
544 .update_reg = 0x83, 551 .update_reg = 0x83,
@@ -554,6 +561,7 @@ static struct ab8500_regulator_info
554 .owner = THIS_MODULE, 561 .owner = THIS_MODULE,
555 .n_voltages = 1, 562 .n_voltages = 1,
556 .min_uV = 2050000, 563 .min_uV = 2050000,
564 .enable_time = 500,
557 }, 565 },
558 .update_bank = 0x03, 566 .update_bank = 0x03,
559 .update_reg = 0x83, 567 .update_reg = 0x83,
@@ -569,6 +577,7 @@ static struct ab8500_regulator_info
569 .owner = THIS_MODULE, 577 .owner = THIS_MODULE,
570 .n_voltages = 1, 578 .n_voltages = 1,
571 .min_uV = 1800000, 579 .min_uV = 1800000,
580 .enable_time = 420,
572 }, 581 },
573 .update_bank = 0x03, 582 .update_bank = 0x03,
574 .update_reg = 0x83, 583 .update_reg = 0x83,
@@ -588,6 +597,7 @@ static struct ab8500_regulator_info
588 .owner = THIS_MODULE, 597 .owner = THIS_MODULE,
589 .n_voltages = 1, 598 .n_voltages = 1,
590 .min_uV = 1200000, 599 .min_uV = 1200000,
600 .enable_time = 140,
591 }, 601 },
592 .load_lp_uA = 1000, 602 .load_lp_uA = 1000,
593 .update_bank = 0x04, 603 .update_bank = 0x04,