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 13:12:04 +0100 |
commit | 29f9ffa0e1f9a17c866c04a01acfc9976d78f29a (patch) | |
tree | 93a0373ecab30962f97a0e42e274d38e3c2d1447 /drivers/spi/Makefile | |
parent | aa2ea9115bc3f0735aa65b833076cc5fe3da1489 (diff) | |
download | talos-op-linux-29f9ffa0e1f9a17c866c04a01acfc9976d78f29a.tar.gz talos-op-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 'drivers/spi/Makefile')
-rw-r--r-- | drivers/spi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index e50852c6fcb8..fb078693dbe4 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -107,3 +107,4 @@ obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o obj-$(CONFIG_SPI_ZYNQMP_GQSPI) += spi-zynqmp-gqspi.o # SPI slave protocol handlers +obj-$(CONFIG_SPI_SLAVE_TIME) += spi-slave-time.o |