Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242973
b: refs/heads/master
c: ea05ef3
h: refs/heads/master
i:
  242971: 08c6f82
v: v3
  • Loading branch information
Bengt Jonsson authored and Liam Girdwood committed Mar 26, 2011
1 parent 53bd8bc commit c0315ab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19c98825941cb10b59c9953665fc4495bc82c0ae
refs/heads/master: ea05ef31f2aa98b25d14222300dc9c1d1eb59e41
17 changes: 16 additions & 1 deletion trunk/drivers/regulator/ab8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* AB8500 peripheral regulators
*
* AB8500 supports the following regulators:
* VAUX1/2/3, VINTCORE, VTVOUT, VAUDIO, VAMIC1/2, VDMIC, VANA
* VAUX1/2/3, VINTCORE, VTVOUT, VUSB, VAUDIO, VAMIC1/2, VDMIC, VANA
*/
#include <linux/init.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -432,6 +432,21 @@ static struct ab8500_regulator_info
.update_mask = 0x82,
.update_val_enable = 0x02,
},
[AB8500_LDO_USB] = {
.desc = {
.name = "LDO-USB",
.ops = &ab8500_regulator_fixed_ops,
.type = REGULATOR_VOLTAGE,
.id = AB8500_LDO_USB,
.owner = THIS_MODULE,
.n_voltages = 1,
},
.fixed_uV = 3300000,
.update_bank = 0x03,
.update_reg = 0x82,
.update_mask = 0x03,
.update_val_enable = 0x01,
},
[AB8500_LDO_AUDIO] = {
.desc = {
.name = "LDO-AUDIO",
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/regulator/ab8500.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ enum ab8500_regulator_id {
AB8500_LDO_AUX3,
AB8500_LDO_INTCORE,
AB8500_LDO_TVOUT,
AB8500_LDO_USB,
AB8500_LDO_AUDIO,
AB8500_LDO_ANAMIC1,
AB8500_LDO_ANAMIC2,
Expand Down

0 comments on commit c0315ab

Please sign in to comment.