+13
−0
drivers/power/reset/qnap-poweroff.c
0 → 100644
+116
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>