Back to home page

OSCL-LXR

 
 

    


0001 Texas Instruments TWL family
0002 
0003 The TWLs are Integrated Power Management Chips.
0004 Some version might contain much more analog function like
0005 USB transceiver or Audio amplifier.
0006 These chips are connected to an i2c bus.
0007 
0008 
0009 Required properties:
0010 - compatible : Must be "ti,twl4030";
0011   For Integrated power-management/audio CODEC device used in OMAP3
0012   based boards
0013 - compatible : Must be "ti,twl6030";
0014   For Integrated power-management used in OMAP4 based boards
0015 - interrupts : This i2c device has an IRQ line connected to the main SoC
0016 - interrupt-controller : Since the twl support several interrupts internally,
0017   it is considered as an interrupt controller cascaded to the SoC one.
0018 - #interrupt-cells = <1>;
0019 
0020 Optional node:
0021 - Child nodes contain in the twl. The twl family is made of several variants
0022   that support a different number of features.
0023   The children nodes will thus depend of the capability of the variant.
0024 
0025 
0026 Example:
0027 /*
0028  * Integrated Power Management Chip
0029  * https://www.ti.com/lit/ds/symlink/twl6030.pdf
0030  */
0031 twl@48 {
0032     compatible = "ti,twl6030";
0033     reg = <0x48>;
0034     interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
0035     interrupt-controller;
0036     #interrupt-cells = <1>;
0037     interrupt-parent = <&gic>;
0038     #address-cells = <1>;
0039     #size-cells = <0>;
0040 
0041     twl_rtc {
0042         compatible = "ti,twl_rtc";
0043         interrupts = <11>;
0044         reg = <0>;
0045     };
0046 };