Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272412
b: refs/heads/master
c: c3035a2
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Oct 7, 2011
1 parent 9fac8e1 commit 3e078b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 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: 2c1ba398ac9da3305815f6ae8e95ae2b9fd3b5ff
refs/heads/master: c3035a232e87f42b81d8ece1980abd0a2f26d792
11 changes: 9 additions & 2 deletions trunk/Documentation/power/regulator/machine.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ to their supply regulator :-

static struct regulator_init_data regulator1_data = {
.constraints = {
.name = "Regulator-1",
.min_uV = 3300000,
.max_uV = 3300000,
.valid_modes_mask = REGULATOR_MODE_NORMAL,
Expand All @@ -51,13 +52,19 @@ static struct regulator_init_data regulator1_data = {
.consumer_supplies = regulator1_consumers,
};

The name field should be set to something that is usefully descriptive
for the board for configuration of supplies for other regulators and
for use in logging and other diagnostic output. Normally the name
used for the supply rail in the schematic is a good choice. If no
name is provided then the subsystem will choose one.

Regulator-1 supplies power to Regulator-2. This relationship must be registered
with the core so that Regulator-1 is also enabled when Consumer A enables its
supply (Regulator-2). The supply regulator is set by the supply_regulator
field below:-
field below and co:-

static struct regulator_init_data regulator2_data = {
.supply_regulator = "regulator_name",
.supply_regulator = "Regulator-1",
.constraints = {
.min_uV = 1800000,
.max_uV = 2000000,
Expand Down

0 comments on commit 3e078b5

Please sign in to comment.