diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-06-21 17:32:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-21 18:15:54 +0300 |
commit | dcbe0d84dfa5a3e72b8e6ce622cd5ac78abbcab8 (patch) | |
tree | d7f09d12be8c0ace2f90d66f7753ad3fac5fabec /drivers/spi/Kconfig | |
parent | 82a29bf9952acd1be7e76783604686abeb4e5b1d (diff) | |
download | linux-dcbe0d84dfa5a3e72b8e6ce622cd5ac78abbcab8.tar.xz |
spi: add driver for STM32 SPI controller
The STM32 Serial Peripheral Interface (SPI) can be used to communicate
with external devices while using the specific synchronous protocol. It
supports a half-duplex, full-duplex and simplex synchronous, serial
communication with external devices with 4-bit to 16/32-bit per word. It
has two 8x/16x 8-bit embedded Rx and TxFIFOs with DMA capability. It can
operate in master or slave mode.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1761c9004fc1..36f3f90f07a2 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -619,6 +619,16 @@ config SPI_SIRF help SPI driver for CSR SiRFprimaII SoCs +config SPI_STM32 + tristate "STMicroelectronics STM32 SPI controller" + depends on ARCH_STM32 || COMPILE_TEST + help + SPI driver for STMicroelectonics STM32 SoCs. + + STM32 SPI controller supports DMA and PIO modes. When DMA + is not available, the driver automatically falls back to + PIO mode. + config SPI_ST_SSC4 tristate "STMicroelectronics SPI SSC-based driver" depends on ARCH_STI || COMPILE_TEST |