summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>2012-10-31 15:40:33 +0000
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-18 19:37:18 -0800
commita12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be (patch)
tree9d691b2cfae398b454854a0c34c0308a7af74adb /Documentation
parent4aef72dbb2e8997e627dd94ae2b9109dc09fffaa (diff)
downloadlinux-a12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be.tar.gz
linux-a12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be.tar.bz2
linux-a12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be.zip
ab8500: Add devicetree support for chargalg
This patch adds device tree support for charging algorithm driver Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power_supply/ab8500/chargalg.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/ab8500/chargalg.txt b/Documentation/devicetree/bindings/power_supply/ab8500/chargalg.txt
new file mode 100644
index 000000000000..ef5328371122
--- /dev/null
+++ b/Documentation/devicetree/bindings/power_supply/ab8500/chargalg.txt
@@ -0,0 +1,16 @@
+=== AB8500 Charging Algorithm Driver ===
+
+The properties below describes the node for chargalg driver.
+
+Required Properties:
+- compatible = Shall be: "stericsson,ab8500-chargalg"
+- battery = Shall be battery specific information
+
+Example:
+ab8500_chargalg {
+ compatible = "stericsson,ab8500-chargalg";
+ battery = <&ab8500_battery>;
+};
+
+For information on battery specific node, Ref:
+Documentation/devicetree/bindings/power_supply/ab8500/fg.txt