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" |
| 11 | |
| 12 | The use of ti,twl4030-power-reset is recommended at least on |
| 13 | 3530 that needs a special configuration for warm reset to work. |
Florian Vaussard | b0fc1da | 2013-06-18 15:17:58 +0200 | [diff] [blame] | 14 | |
| 15 | Optional properties: |
| 16 | - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or |
| 17 | SLEEP-to-OFF transition when the system poweroffs. |
| 18 | |
| 19 | Example: |
| 20 | &i2c1 { |
| 21 | clock-frequency = <2600000>; |
| 22 | |
| 23 | twl: twl@48 { |
| 24 | reg = <0x48>; |
| 25 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 26 | interrupt-parent = <&intc>; |
| 27 | |
| 28 | twl_power: power { |
| 29 | compatible = "ti,twl4030-power"; |
| 30 | ti,use_poweroff; |
| 31 | }; |
| 32 | }; |
| 33 | }; |