Re: [PATCH v5 6/6] spi: slave: Add SPI slave handler controlling system state

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 4:11 PM, Geert Uytterhoeven wrote: > Add an example SPI slave handler to allow remote control of system > reboot, power off, halt, and suspend. > FWIW: Reviewed-by: Andy Shevchenko > Signed-off-by: Geert Uytterhoeven

[PATCH v5 6/6] spi: slave: Add SPI slave handler controlling system state

2017-05-22 Thread Geert Uytterhoeven
Add an example SPI slave handler to allow remote control of system reboot, power off, halt, and suspend. Signed-off-by: Geert Uytterhoeven --- v5: - Add usage documentation to file header, - Use network byte order for commands, to match the "-p" parameter of