diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-05-05 02:24:42 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-05-05 02:27:03 -0400 |
commit | f99e44a7f3352d7131c7526207f153f13ec5acd4 (patch) | |
tree | 0f448b21128c478053ee7f7765b865954c4eebe8 /Documentation/devicetree/bindings/power_supply/power_supply.txt | |
parent | fd29f424d458118f02e89596505c68a63dcb3007 (diff) | |
parent | ce857229e0c3adc211944a13a5579ef84fd7b4af (diff) |
Merge branch 'linus' into core/urgent
Update with Linus tree so fixes for the same can be applied.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/power_supply/power_supply.txt')
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/power_supply.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/power_supply.txt b/Documentation/devicetree/bindings/power_supply/power_supply.txt new file mode 100644 index 000000000000..8391bfa0edac --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/power_supply.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | Power Supply Core Support | ||
2 | |||
3 | Optional Properties: | ||
4 | - power-supplies : This property is added to a supply in order to list the | ||
5 | devices which supply it power, referenced by their phandles. | ||
6 | |||
7 | Example: | ||
8 | |||
9 | usb-charger: power@e { | ||
10 | compatible = "some,usb-charger"; | ||
11 | ... | ||
12 | }; | ||
13 | |||
14 | ac-charger: power@c { | ||
15 | compatible = "some,ac-charger"; | ||
16 | ... | ||
17 | }; | ||
18 | |||
19 | battery@b { | ||
20 | compatible = "some,battery"; | ||
21 | ... | ||
22 | power-supplies = <&usb-charger>, <&ac-charger>; | ||
23 | }; | ||