spi: Extend the core to ease integration of SPI memory controllers
Some controllers are exposing high-level interfaces to access various kind of SPI memories. Unfortunately they do not fit in the current spi_controller model and usually have drivers placed in drivers/mtd/spi-nor which are only supporting SPI NORs and not SPI memories in general. This is an attempt at defining a SPI memory interface which works for all kinds of SPI memories (NORs, NANDs, SRAMs). Signed-off-by:Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by:
Frieder Schrempf <frieder.schrempf@exceet.de> Tested-by:
Frieder Schrempf <frieder.schrempf@exceet.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
Showing
- drivers/spi/Kconfig 7 additions, 0 deletionsdrivers/spi/Kconfig
- drivers/spi/Makefile 1 addition, 0 deletionsdrivers/spi/Makefile
- drivers/spi/spi-mem.c 410 additions, 0 deletionsdrivers/spi/spi-mem.c
- include/linux/spi/spi-mem.h 249 additions, 0 deletionsinclude/linux/spi/spi-mem.h
- include/linux/spi/spi.h 7 additions, 0 deletionsinclude/linux/spi/spi.h
Loading
Please register or sign in to comment