summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power_supply
diff options
context:
space:
mode:
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>2012-10-31 16:40:33 +0100
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-19 04:37:18 +0100
commita12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be (patch)
tree9d691b2cfae398b454854a0c34c0308a7af74adb /Documentation/devicetree/bindings/power_supply
parentab8500: Add devicetree support for charger (diff)
downloadlinux-a12810ab9fcf0c9fd5e50b5e350a3ffbeaa571be.tar.xz
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/devicetree/bindings/power_supply')
-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