summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power_supply
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-08-10 22:45:36 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 19:03:24 +0200
commitc3503fd02558245ebbb0b48f3ae1d62416e3fd2a (patch)
tree4349bcdaaff892a3aa5b9b56631295c3a4fd798b /Documentation/devicetree/bindings/power_supply
parentwm831x_power: Only register WM831x battery charger if enabled (diff)
downloadlinux-c3503fd02558245ebbb0b48f3ae1d62416e3fd2a.tar.xz
linux-c3503fd02558245ebbb0b48f3ae1d62416e3fd2a.zip
olpc_battery: Bind to device tree
This is cleaner, and allows suspend/resume (wakeup) handlers to be added in an upcoming patch. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power_supply')
-rw-r--r--Documentation/devicetree/bindings/power_supply/olpc_battery.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/olpc_battery.txt b/Documentation/devicetree/bindings/power_supply/olpc_battery.txt
new file mode 100644
index 000000000000..c8901b3992d9
--- /dev/null
+++ b/Documentation/devicetree/bindings/power_supply/olpc_battery.txt
@@ -0,0 +1,5 @@
+OLPC battery
+~~~~~~~~~~~~
+
+Required properties:
+ - compatible : "olpc,xo1-battery"