forked from Minki/linux
ec0b380245
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>
21 lines
468 B
Plaintext
21 lines
468 B
Plaintext
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>;
|
|
};
|