aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/twl4030-core.c26
1 files changed, 24 insertions, 2 deletions
diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
index 334c86fccede..e4a5d489b8e7 100644
--- a/drivers/mfd/twl4030-core.c
+++ b/drivers/mfd/twl4030-core.c
@@ -625,11 +625,21 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features)
625 } 625 }
626 626
627 if (twl_has_regulator()) { 627 if (twl_has_regulator()) {
628 /*
629 child = add_regulator(TWL4030_REG_VPLL1, pdata->vpll1); 628 child = add_regulator(TWL4030_REG_VPLL1, pdata->vpll1);
630 if (IS_ERR(child)) 629 if (IS_ERR(child))
631 return PTR_ERR(child); 630 return PTR_ERR(child);
632 */ 631
632 child = add_regulator(TWL4030_REG_VIO, pdata->vio);
633 if (IS_ERR(child))
634 return PTR_ERR(child);
635
636 child = add_regulator(TWL4030_REG_VDD1, pdata->vdd1);
637 if (IS_ERR(child))
638 return PTR_ERR(child);
639
640 child = add_regulator(TWL4030_REG_VDD2, pdata->vdd2);
641 if (IS_ERR(child))
642 return PTR_ERR(child);
633 643
634 child = add_regulator(TWL4030_REG_VMMC1, pdata->vmmc1); 644 child = add_regulator(TWL4030_REG_VMMC1, pdata->vmmc1);
635 if (IS_ERR(child)) 645 if (IS_ERR(child))
@@ -645,6 +655,18 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features)
645 pdata->vaux2); 655 pdata->vaux2);
646 if (IS_ERR(child)) 656 if (IS_ERR(child))
647 return PTR_ERR(child); 657 return PTR_ERR(child);
658
659 child = add_regulator(TWL4030_REG_VINTANA1, pdata->vintana1);
660 if (IS_ERR(child))
661 return PTR_ERR(child);
662
663 child = add_regulator(TWL4030_REG_VINTANA2, pdata->vintana2);
664 if (IS_ERR(child))
665 return PTR_ERR(child);
666
667 child = add_regulator(TWL4030_REG_VINTDIG, pdata->vintdig);
668 if (IS_ERR(child))
669 return PTR_ERR(child);
648 } 670 }
649 671
650 /* maybe add LDOs that are omitted on cost-reduced parts */ 672 /* maybe add LDOs that are omitted on cost-reduced parts */