summaryrefslogtreecommitdiff
path: root/drivers/power/reset/Kconfig
diff options
context:
space:
mode:
authorAndrew Lunn <andrew.lunn@ruag.com>2012-12-28 12:25:09 (GMT)
committerAnton Vorontsov <anton@enomsg.org>2013-01-06 22:00:23 (GMT)
commite8fc721a9ab8dd6723063a92f5c5fdb5eaffbd6e (patch)
treeb00f842e79fdd1730e87395a7f1d1983d7cd0fd3 /drivers/power/reset/Kconfig
parent22f1229fe9a6790695f72b1cdba56fcaee867d75 (diff)
downloadlinux-e8fc721a9ab8dd6723063a92f5c5fdb5eaffbd6e.tar.xz
power/reset: Add a new driver to turn QNAP board power off
The QNAP NAS boxes have a microcontroller attached to the SoCs second serial port. By sending it a simple command, it will turn the power for the board off. This driver registers a function for pm_power_off to send such a command. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r--drivers/power/reset/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 6461b48..6453aac 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -13,3 +13,12 @@ config POWER_RESET_GPIO
This driver supports turning off your board via a GPIO line.
If your board needs a GPIO high/low to power down, say Y and
create a binding in your devicetree.
+
+config POWER_RESET_QNAP
+ bool "QNAP power-off driver"
+ depends on OF_GPIO && POWER_RESET && PLAT_ORION
+ help
+ This driver supports turning off QNAP NAS devices by sending
+ commands to the microcontroller which controls the main power.
+
+ Say Y if you have a QNAP NAS.