diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-22 15:11:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-26 14:12:04 +0200 |
commit | 29f9ffa0e1f9a17c866c04a01acfc9976d78f29a (patch) | |
tree | 93a0373ecab30962f97a0e42e274d38e3c2d1447 /block/partition-generic.c | |
parent | spi: Document SPI slave controller support (diff) | |
download | linux-29f9ffa0e1f9a17c866c04a01acfc9976d78f29a.tar.xz linux-29f9ffa0e1f9a17c866c04a01acfc9976d78f29a.zip |
spi: slave: Add SPI slave handler reporting uptime at previous message
Add an example SPI slave handler responding with the uptime at the time
of reception of the last SPI message.
This can be used by an external microcontroller as a dead man's switch.
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>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions