summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-01-18 16:17:16 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 13:11:06 +0100
commit51ced5e288b4381705df173fb05f561dea35bfac (patch)
treebc8bbb7b57a82848b05a5741c98b551d716ae477
parentregulator: tps65910: Add regulator info for RTC rail (diff)
downloadlinux-51ced5e288b4381705df173fb05f561dea35bfac.tar.xz
linux-51ced5e288b4381705df173fb05f561dea35bfac.zip
regulator: tps65910: Initialize n_voltages for rails.
Initializing the number of voltages supported by different rails of pmic device tps65911. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/tps65910-regulator.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c
index 67424185b365..3ac5f91a4f7d 100644
--- a/drivers/regulator/tps65910-regulator.c
+++ b/drivers/regulator/tps65910-regulator.c
@@ -188,56 +188,67 @@ static struct tps_info tps65911_regs[] = {
.name = "VDD1",
.min_uV = 600000,
.max_uV = 4500000,
+ .table_len = 73,
},
{
.name = "VDD2",
.min_uV = 600000,
.max_uV = 4500000,
+ .table_len = 73,
},
{
.name = "VDDCTRL",
.min_uV = 600000,
.max_uV = 1400000,
+ .table_len = 65,
},
{
.name = "LDO1",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 47,
},
{
.name = "LDO2",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 47,
},
{
.name = "LDO3",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 24,
},
{
.name = "LDO4",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 47,
},
{
.name = "LDO5",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 24,
},
{
.name = "LDO6",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 24,
},
{
.name = "LDO7",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 24,
},
{
.name = "LDO8",
.min_uV = 1000000,
.max_uV = 3300000,
+ .table_len = 24,
},
};