diff options
author | Mark Brown | 2017-07-03 17:21:05 +0200 |
---|---|---|
committer | Mark Brown | 2017-07-03 17:21:05 +0200 |
commit | 9d540b0d4964603798efdccae90cab8ac06c8bf4 (patch) | |
tree | 3ecf8c3779f1c99578cd64068121478895b05408 /drivers/spi/Kconfig | |
parent | Merge remote-tracking branch 'spi/topic/core' into spi-next (diff) | |
parent | spi: Generalize SPI "master" to "controller" (diff) | |
download | kernel-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/Kconfig | 26 |
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 |