]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit744c4b82285fd62aa6045ee1b9c64ef0a0f955e8
treeb00f842e79fdd1730e87395a7f1d1983d7cd0fd3
parent15aa3e3aaa8fbe7514f6cc871a1fcb47bf2509ca
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]