spi: Extend the core to ease integration of SPI memory controllers
Sync with Linux v5.1-rc1.

This is the barebox adoption of the commit

  commit c36ff26
  Author: Boris Brezillon <boris.brezillon@bootlin.com>
  Date:   Thu Apr 26 18:18:14 2018 +0200

      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>

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 167a27b commit c8516869c49677bb1468e0e2e351bc05b815e4ef
@Steffen Trumtrar Steffen Trumtrar authored on 3 May 2019
Sascha Hauer committed on 8 May 2019
Showing 7 changed files
View
drivers/mtd/spi-nor/spi-nor.c
View
drivers/spi/Kconfig
View
drivers/spi/Makefile
View
drivers/spi/spi-mem.c 0 → 100644
View
drivers/spi/spi.c
View
include/linux/spi/spi-mem.h 0 → 100644
View
include/spi/spi.h