summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-slave-system-control.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* spi: slave: Add SPI slave handler controlling system stateGeert Uytterhoeven2017-05-261-0/+154
Add an example SPI slave handler to allow remote control of system reboot, power off, halt, and suspend. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>