spi: Add a driver for the Freescale/NXP QuadSPI controller
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Mon, 7 Jan 2019 09:29:47 +0000 (09:29 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 16:56:24 +0000 (16:56 +0000)
commit84d043185dbe0d1b4f6db575bd91c834d37e2f78
tree25189f354efccc72de09548f04004acc7636f9bd
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
spi: Add a driver for the Freescale/NXP QuadSPI controller

This driver is derived from the SPI NOR driver at
mtd/spi-nor/fsl-quadspi.c. It uses the new SPI memory interface
of the SPI framework to issue flash memory operations to up to
four connected flash chips (2 buses with 2 CS each).

The controller does not support generic SPI messages.

This patch also disables the build of the "old" driver and reuses
its Kconfig option CONFIG_SPI_FSL_QUADSPI to replace it.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tested-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tested-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mtd/spi-nor/Kconfig
drivers/mtd/spi-nor/Makefile
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-fsl-qspi.c [new file with mode: 0644]