diff options
author | Rajanikanth H.V <rajanikanth.hv@stericsson.com> | 2012-11-19 07:17:47 +0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-19 07:37:16 +0400 |
commit | 4aef72dbb2e8997e627dd94ae2b9109dc09fffaa (patch) | |
tree | a42fc76452996e6c73e1cac12144d0f61c9a3872 /Documentation/devicetree/bindings/power_supply | |
parent | bd9e8ab2d58d2183aa723bf0eb8e07d4362b4975 (diff) | |
download | linux-4aef72dbb2e8997e627dd94ae2b9109dc09fffaa.tar.xz |
ab8500: Add devicetree support for charger
This patch adds device tree support for ab8500-charger 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/charger.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/ab8500/charger.txt b/Documentation/devicetree/bindings/power_supply/ab8500/charger.txt new file mode 100644 index 000000000000..6bdbb08ea9e0 --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/ab8500/charger.txt @@ -0,0 +1,25 @@ +=== AB8500 Charger Driver === + +Required Properties: +- compatible = Shall be "stericsson,ab8500-charger" +- battery = Shall be battery specific information + Example: + ab8500_charger { + compatible = "stericsson,ab8500-charger"; + battery = <&ab8500_battery>; + }; + +- vddadc-supply: Supply for USB and Main charger + Example: + ab8500-charger { + vddadc-supply = <&ab8500_ldo_tvout_reg>; + } +- autopower_cfg: + Boolean value depicting the presence of 'automatic poweron after powerloss' + Example: + ab8500-charger { + autopower_cfg; + }; + +For information on battery specific node, Ref: +Documentation/devicetree/bindings/power_supply/ab8500/fg.txt |