Merge tag 'for-linus' of git://github.com/openrisc/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / twl-familly.txt
1 Texas Instruments TWL family
2
3 The TWLs are Integrated Power Management Chips.
4 Some version might contain much more analog function like
5 USB transceiver or Audio amplifier.
6 These chips are connected to an i2c bus.
7
8
9 Required properties:
10 - compatible : Must be "ti,twl4030";
11   For Integrated power-management/audio CODEC device used in OMAP3
12   based boards
13 - compatible : Must be "ti,twl6030";
14   For Integrated power-management used in OMAP4 based boards
15 - interrupts : This i2c device has an IRQ line connected to the main SoC
16 - interrupt-controller : Since the twl support several interrupts internally,
17   it is considered as an interrupt controller cascaded to the SoC one.
18 - #interrupt-cells = <1>;
19
20 Optional node:
21 - Child nodes contain in the twl. The twl family is made of several variants
22   that support a different number of features.
23   The children nodes will thus depend of the capability of the variant.
24
25
26 Example:
27 /*
28  * Integrated Power Management Chip
29  * http://www.ti.com/lit/ds/symlink/twl6030.pdf
30  */
31 twl@48 {
32     compatible = "ti,twl6030";
33     reg = <0x48>;
34     interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
35     interrupt-controller;
36     #interrupt-cells = <1>;
37     interrupt-parent = <&gic>;
38     #address-cells = <1>;
39     #size-cells = <0>;
40
41     twl_rtc {
42         compatible = "ti,twl_rtc";
43         interrupts = <11>;
44         reg = <0>;
45     };
46 };