diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-06-18 09:17:58 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-19 04:19:40 -0400 |
commit | b0fc1da4d0359d3cce8f12e0f014aed0704ae202 (patch) | |
tree | 321bd393b7f3d685d43fbef87c8a381a13514113 /Documentation/devicetree | |
parent | f58cb407632ecf0ec01627b8a61852d5585b573d (diff) |
mfd: twl4030-power: Start transition to DT
Support for loading twl4030-power module via devicetree.
For now, when booting with a DT, only the poweroff callback
feature is supported through the ti,use_poweroff property.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/twl4030-power.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/twl4030-power.txt b/Documentation/devicetree/bindings/mfd/twl4030-power.txt new file mode 100644 index 000000000000..8e15ec35ac99 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/twl4030-power.txt | |||
@@ -0,0 +1,28 @@ | |||
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: | ||
8 | - compatible : must be "ti,twl4030-power" | ||
9 | |||
10 | Optional properties: | ||
11 | - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or | ||
12 | SLEEP-to-OFF transition when the system poweroffs. | ||
13 | |||
14 | Example: | ||
15 | &i2c1 { | ||
16 | clock-frequency = <2600000>; | ||
17 | |||
18 | twl: twl@48 { | ||
19 | reg = <0x48>; | ||
20 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | ||
21 | interrupt-parent = <&intc>; | ||
22 | |||
23 | twl_power: power { | ||
24 | compatible = "ti,twl4030-power"; | ||
25 | ti,use_poweroff; | ||
26 | }; | ||
27 | }; | ||
28 | }; | ||