summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Lunn2012-12-28 13:25:11 +0100
committerAnton Vorontsov2013-01-06 23:00:31 +0100
commitffd8f9a727f27270584c7472ca56cce1e4736888 (patch)
treee12dbb3f62ace5eb65251bc646f3da5a47a193ad /Documentation
parentpower/reset: Add a new driver to turn QNAP board power off (diff)
downloadkernel-qcow2-linux-ffd8f9a727f27270584c7472ca56cce1e4736888.tar.gz
kernel-qcow2-linux-ffd8f9a727f27270584c7472ca56cce1e4736888.tar.xz
kernel-qcow2-linux-ffd8f9a727f27270584c7472ca56cce1e4736888.zip
power/reset: Add a new driver implementing 'power off by restarting'
Some devices, Buffalo Linkstation LS-XHL and LS-CHLv2 for example, power-off by restarting to letting u-boot hold the SoC until the user presses a key. Add a generic driver to implement this. It binds a function to pm_power_off, which calls arm_pm_restart. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Michael Walle <michael@walle.cc> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power_supply/restart-poweroff.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/restart-poweroff.txt b/Documentation/devicetree/bindings/power_supply/restart-poweroff.txt
new file mode 100644
index 000000000000..5776e684afda
--- /dev/null
+++ b/Documentation/devicetree/bindings/power_supply/restart-poweroff.txt
@@ -0,0 +1,8 @@
+* Restart Power Off
+
+Buffalo Linkstation LS-XHL and LS-CHLv2, and other devices power off
+by restarting and letting u-boot keep hold of the machine until the
+user presses a button.
+
+Required Properties:
+- compatible: Should be "restart-poweroff"