summaryrefslogtreecommitdiff
path: root/Bindings/power_supply/power_supply.txt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-02-27 19:39:44 +0000
committerWarner Losh <imp@FreeBSD.org>2014-02-27 19:39:44 +0000
commit0d4a4b13019e01c1eab30b74c983040450010b81 (patch)
treeff6e99cffa59c3e85a311d8dd06e6f6dab4988b2 /Bindings/power_supply/power_supply.txt
downloadsrc-test2-0d4a4b13019e01c1eab30b74c983040450010b81.tar.gz
src-test2-0d4a4b13019e01c1eab30b74c983040450010b81.zip
Notes
Diffstat (limited to 'Bindings/power_supply/power_supply.txt')
-rw-r--r--Bindings/power_supply/power_supply.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Bindings/power_supply/power_supply.txt b/Bindings/power_supply/power_supply.txt
new file mode 100644
index 000000000000..8391bfa0edac
--- /dev/null
+++ b/Bindings/power_supply/power_supply.txt
@@ -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>;
+ };