summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/Kconfig
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-12-28 13:25:11 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-01-06 14:00:31 -0800
commitffd8f9a727f27270584c7472ca56cce1e4736888 (patch)
treee12dbb3f62ace5eb65251bc646f3da5a47a193ad /drivers/power/reset/Kconfig
parente8fc721a9ab8dd6723063a92f5c5fdb5eaffbd6e (diff)
downloadlinux-ffd8f9a727f27270584c7472ca56cce1e4736888.tar.bz2
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 'drivers/power/reset/Kconfig')
-rw-r--r--drivers/power/reset/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 6453aac701c0..1ae65b822864 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -22,3 +22,11 @@ config POWER_RESET_QNAP
commands to the microcontroller which controls the main power.
Say Y if you have a QNAP NAS.
+
+config POWER_RESET_RESTART
+ bool "Restart power-off driver"
+ depends on ARM
+ help
+ Some boards don't actually have the ability to power off.
+ Instead they restart, and u-boot holds the SoC until the
+ user presses a key. u-boot then boots into Linux.