diff options
author | 2018-10-05 09:43:03 +0200 | |
---|---|---|
committer | 2018-10-19 13:32:56 +0100 | |
commit | c530cd1d9d5e7741c641c5c366ddb4e23aa5caec (patch) | |
tree | ba9b2e8d4b6b42a1280b51599e789141b9445e90 /drivers/spi/Kconfig | |
parent | dt-bindings: spi: add stm32 qspi controller (diff) | |
download | linux-c530cd1d9d5e7741c641c5c366ddb4e23aa5caec.tar.gz linux-c530cd1d9d5e7741c641c5c366ddb4e23aa5caec.tar.bz2 linux-c530cd1d9d5e7741c641c5c366ddb4e23aa5caec.zip |
spi: spi-mem: add stm32 qspi controller
The qspi controller is a specialized communication interface
targeting single, dual or quad SPI Flash memories (NOR/NAND).
It can operate in any of the following modes:
-indirect mode: all the operations are performed using the quadspi
registers
-read memory-mapped mode: the external Flash memory is mapped to the
microcontroller address space and is seen by the system as if it was
an internal memory
tested on:
-NOR: mx66l51235l
-NAND: MT29F2G01ABAGD
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 7feab4eb9857..71851d00f47d 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -647,6 +647,15 @@ config SPI_STM32 is not available, the driver automatically falls back to PIO mode. +config SPI_STM32_QSPI + tristate "STMicroelectronics STM32 QUAD SPI controller" + depends on ARCH_STM32 || COMPILE_TEST + depends on OF + help + This enables support for the Quad SPI controller in master mode. + This driver does not support generic SPI. The implementation only + supports spi-mem interface. + config SPI_ST_SSC4 tristate "STMicroelectronics SPI SSC-based driver" depends on ARCH_STI || COMPILE_TEST |