-
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.
twl4030_charger: Add devicetree support
This allows the charger to be enabled with devicetree, and allows the parameters for charging the backup battery to be set. Signed-off-by: NeilBrown <neilb@suse.de> Acked-by: Kumar Gala <galak@codeaurora.org> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
- Loading branch information
NeilBrown
authored and
Anton Vorontsov
committed
Nov 13, 2013
1 parent
588bd59
commit ec0b380
Showing
3 changed files
with
70 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
TWL BCI (Battery Charger Interface) | ||
|
||
Required properties: | ||
- compatible: | ||
- "ti,twl4030-bci" | ||
- interrupts: two interrupt lines from the TWL SIH (secondary | ||
interrupt handler) - interrupts 9 and 2. | ||
|
||
Optional properties: | ||
- ti,bb-uvolt: microvolts for charging the backup battery. | ||
- ti,bb-uamp: microamps for charging the backup battery. | ||
|
||
Examples: | ||
|
||
bci { | ||
compatible = "ti,twl4030-bci"; | ||
interrupts = <9>, <2>; | ||
ti,bb-uvolt = <3200000>; | ||
ti,bb-uamp = <150>; | ||
}; |
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