blob: 3b4ea1b73b38293619c11c5483ef583229317611 [file] [log] [blame]
NeilBrownec0b3802013-10-31 17:05:50 +11001TWL BCI (Battery Charger Interface)
2
NeilBrownf5e4edb2015-03-23 09:52:48 +11003The battery charger needs to interact with the USB phy in order
4to know when charging is permissible, and when there is a connection
5or disconnection.
6
7The choice of phy cannot be configured at a hardware level, so there
8is no value in explicit configuration in device-tree. Rather
9if there is a sibling of the BCI node which is compatible with
10"ti,twl4030-usb", then that is used to determine when and how
11use USB power for charging.
12
NeilBrownec0b3802013-10-31 17:05:50 +110013Required properties:
14- compatible:
15 - "ti,twl4030-bci"
16- interrupts: two interrupt lines from the TWL SIH (secondary
17 interrupt handler) - interrupts 9 and 2.
18
19Optional properties:
20- ti,bb-uvolt: microvolts for charging the backup battery.
21- ti,bb-uamp: microamps for charging the backup battery.
22
23Examples:
24
25bci {
26 compatible = "ti,twl4030-bci";
27 interrupts = <9>, <2>;
28 ti,bb-uvolt = <3200000>;
29 ti,bb-uamp = <150>;
30};