xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/twl-family.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTexas Instruments TWL family
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe TWLs are Integrated Power Management Chips.
4*4882a593SmuzhiyunSome version might contain much more analog function like
5*4882a593SmuzhiyunUSB transceiver or Audio amplifier.
6*4882a593SmuzhiyunThese chips are connected to an i2c bus.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunRequired properties:
10*4882a593Smuzhiyun- compatible : Must be "ti,twl4030";
11*4882a593Smuzhiyun  For Integrated power-management/audio CODEC device used in OMAP3
12*4882a593Smuzhiyun  based boards
13*4882a593Smuzhiyun- compatible : Must be "ti,twl6030";
14*4882a593Smuzhiyun  For Integrated power-management used in OMAP4 based boards
15*4882a593Smuzhiyun- interrupts : This i2c device has an IRQ line connected to the main SoC
16*4882a593Smuzhiyun- interrupt-controller : Since the twl support several interrupts internally,
17*4882a593Smuzhiyun  it is considered as an interrupt controller cascaded to the SoC one.
18*4882a593Smuzhiyun- #interrupt-cells = <1>;
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional node:
21*4882a593Smuzhiyun- Child nodes contain in the twl. The twl family is made of several variants
22*4882a593Smuzhiyun  that support a different number of features.
23*4882a593Smuzhiyun  The children nodes will thus depend of the capability of the variant.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunExample:
27*4882a593Smuzhiyun/*
28*4882a593Smuzhiyun * Integrated Power Management Chip
29*4882a593Smuzhiyun * https://www.ti.com/lit/ds/symlink/twl6030.pdf
30*4882a593Smuzhiyun */
31*4882a593Smuzhiyuntwl@48 {
32*4882a593Smuzhiyun    compatible = "ti,twl6030";
33*4882a593Smuzhiyun    reg = <0x48>;
34*4882a593Smuzhiyun    interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
35*4882a593Smuzhiyun    interrupt-controller;
36*4882a593Smuzhiyun    #interrupt-cells = <1>;
37*4882a593Smuzhiyun    interrupt-parent = <&gic>;
38*4882a593Smuzhiyun    #address-cells = <1>;
39*4882a593Smuzhiyun    #size-cells = <0>;
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun    twl_rtc {
42*4882a593Smuzhiyun        compatible = "ti,twl_rtc";
43*4882a593Smuzhiyun        interrupts = <11>;
44*4882a593Smuzhiyun        reg = <0>;
45*4882a593Smuzhiyun    };
46*4882a593Smuzhiyun};
47