diff options
-rw-r--r-- | drivers/mfd/ab8500-debugfs.c | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index f32ac976577f..226d751d7e51 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c | |||
@@ -144,7 +144,7 @@ static struct hwreg_cfg hwreg_cfg = { | |||
144 | 144 | ||
145 | #define AB8500_NAME_STRING "ab8500" | 145 | #define AB8500_NAME_STRING "ab8500" |
146 | #define AB8500_ADC_NAME_STRING "gpadc" | 146 | #define AB8500_ADC_NAME_STRING "gpadc" |
147 | #define AB8500_NUM_BANKS 22 | 147 | #define AB8500_NUM_BANKS 24 |
148 | 148 | ||
149 | #define AB8500_REV_REG 0x80 | 149 | #define AB8500_REV_REG 0x80 |
150 | 150 | ||
@@ -316,7 +316,7 @@ static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
316 | }, | 316 | }, |
317 | }, | 317 | }, |
318 | [AB8500_CHARGER] = { | 318 | [AB8500_CHARGER] = { |
319 | .num_ranges = 8, | 319 | .num_ranges = 9, |
320 | .range = (struct ab8500_reg_range[]) { | 320 | .range = (struct ab8500_reg_range[]) { |
321 | { | 321 | { |
322 | .first = 0x00, | 322 | .first = 0x00, |
@@ -350,6 +350,10 @@ static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
350 | .first = 0xC0, | 350 | .first = 0xC0, |
351 | .last = 0xC2, | 351 | .last = 0xC2, |
352 | }, | 352 | }, |
353 | { | ||
354 | .first = 0xf5, | ||
355 | .last = 0xf6, | ||
356 | }, | ||
353 | }, | 357 | }, |
354 | }, | 358 | }, |
355 | [AB8500_GAS_GAUGE] = { | 359 | [AB8500_GAS_GAUGE] = { |
@@ -369,6 +373,24 @@ static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
369 | }, | 373 | }, |
370 | }, | 374 | }, |
371 | }, | 375 | }, |
376 | [AB8500_DEVELOPMENT] = { | ||
377 | .num_ranges = 1, | ||
378 | .range = (struct ab8500_reg_range[]) { | ||
379 | { | ||
380 | .first = 0x00, | ||
381 | .last = 0x00, | ||
382 | }, | ||
383 | }, | ||
384 | }, | ||
385 | [AB8500_DEBUG] = { | ||
386 | .num_ranges = 1, | ||
387 | .range = (struct ab8500_reg_range[]) { | ||
388 | { | ||
389 | .first = 0x05, | ||
390 | .last = 0x07, | ||
391 | }, | ||
392 | }, | ||
393 | }, | ||
372 | [AB8500_AUDIO] = { | 394 | [AB8500_AUDIO] = { |
373 | .num_ranges = 1, | 395 | .num_ranges = 1, |
374 | .range = (struct ab8500_reg_range[]) { | 396 | .range = (struct ab8500_reg_range[]) { |