diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-03-28 12:11:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-29 13:50:07 -0400 |
commit | 41a06aa738ad889cf96f56024ddf84ecf4a18a6f (patch) | |
tree | b495cb35d9c4dbba72efd6ba5edd4e8929ec1561 | |
parent | 18bc2b39307b45527efc6c84836953c7a8f2181e (diff) |
regulator: ab8500: Remove USB regulator
The USB regulator is controlled by hardware. The software support
was only needed for early hardware (ED) which is no longer supported.
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/regulator/ab8500.c | 20 | ||||
-rw-r--r-- | include/linux/regulator/ab8500.h | 1 |
2 files changed, 0 insertions, 21 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 49746884923d..4d88a604efd1 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -488,25 +488,6 @@ static struct ab8500_regulator_info | |||
488 | .update_val_idle = 0x82, | 488 | .update_val_idle = 0x82, |
489 | .update_val_normal = 0x02, | 489 | .update_val_normal = 0x02, |
490 | }, | 490 | }, |
491 | |||
492 | /* | ||
493 | * Regulators with fixed voltage and normal mode | ||
494 | */ | ||
495 | [AB8500_LDO_USB] = { | ||
496 | .desc = { | ||
497 | .name = "LDO-USB", | ||
498 | .ops = &ab8500_regulator_ops, | ||
499 | .type = REGULATOR_VOLTAGE, | ||
500 | .id = AB8500_LDO_USB, | ||
501 | .owner = THIS_MODULE, | ||
502 | .n_voltages = 1, | ||
503 | .min_uV = 3300000, | ||
504 | .enable_time = 150, | ||
505 | }, | ||
506 | .update_bank = 0x03, | ||
507 | .update_reg = 0x82, | ||
508 | .update_mask = 0x03, | ||
509 | }, | ||
510 | [AB8500_LDO_AUDIO] = { | 491 | [AB8500_LDO_AUDIO] = { |
511 | .desc = { | 492 | .desc = { |
512 | .name = "LDO-AUDIO", | 493 | .name = "LDO-AUDIO", |
@@ -862,7 +843,6 @@ static struct of_regulator_match ab8500_regulator_matches[] = { | |||
862 | { .name = "ab8500_ldo_aux3", .driver_data = (void *) AB8500_LDO_AUX3, }, | 843 | { .name = "ab8500_ldo_aux3", .driver_data = (void *) AB8500_LDO_AUX3, }, |
863 | { .name = "ab8500_ldo_intcore", .driver_data = (void *) AB8500_LDO_INTCORE, }, | 844 | { .name = "ab8500_ldo_intcore", .driver_data = (void *) AB8500_LDO_INTCORE, }, |
864 | { .name = "ab8500_ldo_tvout", .driver_data = (void *) AB8500_LDO_TVOUT, }, | 845 | { .name = "ab8500_ldo_tvout", .driver_data = (void *) AB8500_LDO_TVOUT, }, |
865 | { .name = "ab8500_ldo_usb", .driver_data = (void *) AB8500_LDO_USB, }, | ||
866 | { .name = "ab8500_ldo_audio", .driver_data = (void *) AB8500_LDO_AUDIO, }, | 846 | { .name = "ab8500_ldo_audio", .driver_data = (void *) AB8500_LDO_AUDIO, }, |
867 | { .name = "ab8500_ldo_anamic1", .driver_data = (void *) AB8500_LDO_ANAMIC1, }, | 847 | { .name = "ab8500_ldo_anamic1", .driver_data = (void *) AB8500_LDO_ANAMIC1, }, |
868 | { .name = "ab8500_ldo_amamic2", .driver_data = (void *) AB8500_LDO_ANAMIC2, }, | 848 | { .name = "ab8500_ldo_amamic2", .driver_data = (void *) AB8500_LDO_ANAMIC2, }, |
diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h index cf496e93c0cf..b86e089195ea 100644 --- a/include/linux/regulator/ab8500.h +++ b/include/linux/regulator/ab8500.h | |||
@@ -19,7 +19,6 @@ enum ab8500_regulator_id { | |||
19 | AB8500_LDO_AUX3, | 19 | AB8500_LDO_AUX3, |
20 | AB8500_LDO_INTCORE, | 20 | AB8500_LDO_INTCORE, |
21 | AB8500_LDO_TVOUT, | 21 | AB8500_LDO_TVOUT, |
22 | AB8500_LDO_USB, | ||
23 | AB8500_LDO_AUDIO, | 22 | AB8500_LDO_AUDIO, |
24 | AB8500_LDO_ANAMIC1, | 23 | AB8500_LDO_ANAMIC1, |
25 | AB8500_LDO_ANAMIC2, | 24 | AB8500_LDO_ANAMIC2, |