summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-07-03 16:21:05 +0100
committerMark Brown <broonie@kernel.org>2017-07-03 16:21:05 +0100
commit9d540b0d4964603798efdccae90cab8ac06c8bf4 (patch)
tree3ecf8c3779f1c99578cd64068121478895b05408 /drivers/spi/Kconfig
parent096bf6b7f4fcc2fe486f61526b888034a7059342 (diff)
parent8caab75fd2c2a92667cbb1cd315720bede3feaa9 (diff)
Merge remote-tracking branch 'spi/topic/master' into spi-next
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig26
1 files changed, 25 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 097883362036..82cd818aa062 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -785,6 +785,30 @@ config SPI_TLE62X0
endif # SPI_MASTER
-# (slave support would go here)
+#
+# SLAVE side ... listening to other SPI masters
+#
+
+config SPI_SLAVE
+ bool "SPI slave protocol handlers"
+ help
+ If your system has a slave-capable SPI controller, you can enable
+ slave protocol handlers.
+
+if SPI_SLAVE
+
+config SPI_SLAVE_TIME
+ tristate "SPI slave handler reporting boot up time"
+ help
+ SPI slave handler responding with the time of reception of the last
+ SPI message.
+
+config SPI_SLAVE_SYSTEM_CONTROL
+ tristate "SPI slave handler controlling system state"
+ help
+ SPI slave handler to allow remote control of system reboot, power
+ off, halt, and suspend.
+
+endif # SPI_SLAVE
endif # SPI