spi: spi-mem: add stm32 qspi controller
authorLudovic Barre <ludovic.barre@st.com>
Fri, 5 Oct 2018 07:43:03 +0000 (09:43 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 19 Oct 2018 12:32:56 +0000 (13:32 +0100)
commitc530cd1d9d5e7741c641c5c366ddb4e23aa5caec
treeba9b2e8d4b6b42a1280b51599e789141b9445e90
parentc3e6845ea0dd52f26675ad32d6a45e3991ba20a6
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>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-stm32-qspi.c [new file with mode: 0644]