1TWL BCI (Battery Charger Interface)
2
3The 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
13Required 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};
31