-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 367532 b: refs/heads/master c: da12333 h: refs/heads/master v: v3
- Loading branch information
Rhyland Klein
authored and
Anton Vorontsov
committed
Apr 17, 2013
1 parent
9a0c40e
commit 674f258
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 59584857be1a4b85574a595156985eba55882a7e | ||
refs/heads/master: da1233364d51947d8c84a33e200fcfb177ee9f20 |
23 changes: 23 additions & 0 deletions
23
trunk/Documentation/devicetree/bindings/power_supply/power_supply.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Power Supply Core Support | ||
|
||
Optional Properties: | ||
- power-supplies : This property is added to a supply in order to list the | ||
devices which supply it power, referenced by their phandles. | ||
|
||
Example: | ||
|
||
usb-charger: power@e { | ||
compatible = "some,usb-charger"; | ||
... | ||
}; | ||
|
||
ac-charger: power@c { | ||
compatible = "some,ac-charger"; | ||
... | ||
}; | ||
|
||
battery@b { | ||
compatible = "some,battery"; | ||
... | ||
power-supplies = <&usb-charger>, <&ac-charger>; | ||
}; |