Back to home page

OSCL-LXR

 
 

    


0001 Texas Instruments TWL family (twl4030) reset and power management module
0002 
0003 The power management module inside the TWL family provides several facilities
0004 to control the power resources, including power scripts. For now, the
0005 binding only supports the complete shutdown of the system after poweroff.
0006 
0007 Required properties:
0008 - compatible : must be one of the following
0009         "ti,twl4030-power"
0010         "ti,twl4030-power-reset"
0011         "ti,twl4030-power-idle"
0012         "ti,twl4030-power-idle-osc-off"
0013 
0014 The use of ti,twl4030-power-reset is recommended at least on
0015 3530 that needs a special configuration for warm reset to work.
0016 
0017 When using ti,twl4030-power-idle, the TI recommended configuration
0018 for idle modes is loaded to the tlw4030 PMIC.
0019 
0020 When using ti,twl4030-power-idle-osc-off, the TI recommended
0021 configuration is used with the external oscillator being shut
0022 down during off-idle. Note that this does not work on all boards
0023 depending on how the external oscillator is wired.
0024 
0025 Optional properties:
0026 
0027 - ti,system-power-controller: This indicates that TWL4030 is the
0028   power supply master of the system. With this flag, the chip will
0029   initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the
0030   system poweroffs.
0031 
0032 - ti,use_poweroff: Deprecated name for ti,system-power-controller
0033 
0034 Example:
0035 &i2c1 {
0036         clock-frequency = <2600000>;
0037 
0038         twl: twl@48 {
0039                 reg = <0x48>;
0040                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
0041                 interrupt-parent = <&intc>;
0042 
0043                 twl_power: power {
0044                         compatible = "ti,twl4030-power";
0045                         ti,use_poweroff;
0046                 };
0047         };
0048 };