aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65910-regulator.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-01-18 10:17:16 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 07:11:06 -0500
commit51ced5e288b4381705df173fb05f561dea35bfac (patch)
treebc8bbb7b57a82848b05a5741c98b551d716ae477 /drivers/regulator/tps65910-regulator.c
parentc2f8efd7641b1b10b73ffa6f216a45209a5705dd (diff)
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>
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
-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[] = {
188 .name = "VDD1", 188 .name = "VDD1",
189 .min_uV = 600000, 189 .min_uV = 600000,
190 .max_uV = 4500000, 190 .max_uV = 4500000,
191 .table_len = 73,
191 }, 192 },
192 { 193 {
193 .name = "VDD2", 194 .name = "VDD2",
194 .min_uV = 600000, 195 .min_uV = 600000,
195 .max_uV = 4500000, 196 .max_uV = 4500000,
197 .table_len = 73,
196 }, 198 },
197 { 199 {
198 .name = "VDDCTRL", 200 .name = "VDDCTRL",
199 .min_uV = 600000, 201 .min_uV = 600000,
200 .max_uV = 1400000, 202 .max_uV = 1400000,
203 .table_len = 65,
201 }, 204 },
202 { 205 {
203 .name = "LDO1", 206 .name = "LDO1",
204 .min_uV = 1000000, 207 .min_uV = 1000000,
205 .max_uV = 3300000, 208 .max_uV = 3300000,
209 .table_len = 47,
206 }, 210 },
207 { 211 {
208 .name = "LDO2", 212 .name = "LDO2",
209 .min_uV = 1000000, 213 .min_uV = 1000000,
210 .max_uV = 3300000, 214 .max_uV = 3300000,
215 .table_len = 47,
211 }, 216 },
212 { 217 {
213 .name = "LDO3", 218 .name = "LDO3",
214 .min_uV = 1000000, 219 .min_uV = 1000000,
215 .max_uV = 3300000, 220 .max_uV = 3300000,
221 .table_len = 24,
216 }, 222 },
217 { 223 {
218 .name = "LDO4", 224 .name = "LDO4",
219 .min_uV = 1000000, 225 .min_uV = 1000000,
220 .max_uV = 3300000, 226 .max_uV = 3300000,
227 .table_len = 47,
221 }, 228 },
222 { 229 {
223 .name = "LDO5", 230 .name = "LDO5",
224 .min_uV = 1000000, 231 .min_uV = 1000000,
225 .max_uV = 3300000, 232 .max_uV = 3300000,
233 .table_len = 24,
226 }, 234 },
227 { 235 {
228 .name = "LDO6", 236 .name = "LDO6",
229 .min_uV = 1000000, 237 .min_uV = 1000000,
230 .max_uV = 3300000, 238 .max_uV = 3300000,
239 .table_len = 24,
231 }, 240 },
232 { 241 {
233 .name = "LDO7", 242 .name = "LDO7",
234 .min_uV = 1000000, 243 .min_uV = 1000000,
235 .max_uV = 3300000, 244 .max_uV = 3300000,
245 .table_len = 24,
236 }, 246 },
237 { 247 {
238 .name = "LDO8", 248 .name = "LDO8",
239 .min_uV = 1000000, 249 .min_uV = 1000000,
240 .max_uV = 3300000, 250 .max_uV = 3300000,
251 .table_len = 24,
241 }, 252 },
242}; 253};
243 254