power/reset: Add a new driver to turn QNAP board power off
authorAndrew Lunn <andrew.lunn@ruag.com>
Fri, 28 Dec 2012 12:25:09 +0000 (13:25 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 6 Jan 2013 22:00:23 +0000 (14:00 -0800)
commite8fc721a9ab8dd6723063a92f5c5fdb5eaffbd6e
treeb00f842e79fdd1730e87395a7f1d1983d7cd0fd3
parent22f1229fe9a6790695f72b1cdba56fcaee867d75
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>
Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt [new file with mode: 0644]
drivers/power/reset/Kconfig
drivers/power/reset/Makefile
drivers/power/reset/qnap-poweroff.c [new file with mode: 0644]