summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorMark Brown2017-07-03 17:21:05 +0200
committerMark Brown2017-07-03 17:21:05 +0200
commit9d540b0d4964603798efdccae90cab8ac06c8bf4 (patch)
tree3ecf8c3779f1c99578cd64068121478895b05408 /drivers/spi/Kconfig
parentMerge remote-tracking branch 'spi/topic/core' into spi-next (diff)
parentspi: Generalize SPI "master" to "controller" (diff)
downloadkernel-qcow2-linux-9d540b0d4964603798efdccae90cab8ac06c8bf4.tar.gz
kernel-qcow2-linux-9d540b0d4964603798efdccae90cab8ac06c8bf4.tar.xz
kernel-qcow2-linux-9d540b0d4964603798efdccae90cab8ac06c8bf4.zip
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