-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Rajanikanth H.V
authored and
Anton Vorontsov
committed
Nov 19, 2012
1 parent
bd9e8ab
commit 4aef72d
Showing
5 changed files
with
95 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/power_supply/ab8500/charger.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters