Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / power / supply / twl-charger.txt
1 TWL BCI (Battery Charger Interface)
2
3 The battery charger needs to interact with the USB phy in order
4 to know when charging is permissible, and when there is a connection
5 or disconnection.
6
7 The choice of phy cannot be configured at a hardware level, so there
8 is no value in explicit configuration in device-tree.  Rather
9 if 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
11 use USB power for charging.
12
13 Required 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
19 Optional properties:
20 - ti,bb-uvolt: microvolts for charging the backup battery.
21 - ti,bb-uamp: microamps for charging the backup battery.
22
23 Examples:
24
25 bci {
26    compatible = "ti,twl4030-bci";
27    interrupts = <9>, <2>;
28    ti,bb-uvolt = <3200000>;
29    ti,bb-uamp = <150>;
30 };