Florian Vaussard | b0fc1da | 2013-06-18 15:17:58 +0200 | [diff] [blame] | 1 | Texas Instruments TWL family (twl4030) reset and power management module |
| 2 | |
| 3 | The power management module inside the TWL family provides several facilities |
| 4 | to control the power resources, including power scripts. For now, the |
| 5 | binding only supports the complete shutdown of the system after poweroff. |
| 6 | |
| 7 | Required properties: |
Tony Lindgren | e7cd1d1 | 2014-05-20 11:17:54 -0700 | [diff] [blame] | 8 | - compatible : must be one of the following |
| 9 | "ti,twl4030-power" |
| 10 | "ti,twl4030-power-reset" |
Tony Lindgren | 76714d2 | 2014-05-20 11:17:54 -0700 | [diff] [blame] | 11 | "ti,twl4030-power-idle" |
Tony Lindgren | 43fef47 | 2014-05-13 18:34:09 -0700 | [diff] [blame] | 12 | "ti,twl4030-power-idle-osc-off" |
Tony Lindgren | e7cd1d1 | 2014-05-20 11:17:54 -0700 | [diff] [blame] | 13 | |
| 14 | The use of ti,twl4030-power-reset is recommended at least on |
| 15 | 3530 that needs a special configuration for warm reset to work. |
Florian Vaussard | b0fc1da | 2013-06-18 15:17:58 +0200 | [diff] [blame] | 16 | |
Tony Lindgren | 76714d2 | 2014-05-20 11:17:54 -0700 | [diff] [blame] | 17 | When using ti,twl4030-power-idle, the TI recommended configuration |
| 18 | for idle modes is loaded to the tlw4030 PMIC. |
| 19 | |
Tony Lindgren | 43fef47 | 2014-05-13 18:34:09 -0700 | [diff] [blame] | 20 | When using ti,twl4030-power-idle-osc-off, the TI recommended |
| 21 | configuration is used with the external oscillator being shut |
| 22 | down during off-idle. Note that this does not work on all boards |
| 23 | depending on how the external oscillator is wired. |
| 24 | |
Florian Vaussard | b0fc1da | 2013-06-18 15:17:58 +0200 | [diff] [blame] | 25 | Optional properties: |
Nishanth Menon | b64c688 | 2014-09-17 07:34:11 -0500 | [diff] [blame] | 26 | |
| 27 | - ti,system-power-controller: This indicates that TWL4030 is the |
| 28 | power supply master of the system. With this flag, the chip will |
| 29 | initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the |
| 30 | system poweroffs. |
| 31 | |
| 32 | - ti,use_poweroff: Deprecated name for ti,system-power-controller |
Florian Vaussard | b0fc1da | 2013-06-18 15:17:58 +0200 | [diff] [blame] | 33 | |
| 34 | Example: |
| 35 | &i2c1 { |
| 36 | clock-frequency = <2600000>; |
| 37 | |
| 38 | twl: twl@48 { |
| 39 | reg = <0x48>; |
| 40 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 41 | interrupt-parent = <&intc>; |
| 42 | |
| 43 | twl_power: power { |
| 44 | compatible = "ti,twl4030-power"; |
| 45 | ti,use_poweroff; |
| 46 | }; |
| 47 | }; |
| 48 | }; |