spi: Add Cadence QSPI DM driver used by SoCFPGA
authorStefan Roese <sr@denx.de>
Fri, 7 Nov 2014 11:37:49 +0000 (12:37 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 6 Dec 2014 12:52:46 +0000 (13:52 +0100)
commit10e8bf88c0c9ffc0af1011c7a790e792cbc67451
tree51bd53be5f7661499ad8be9dafffbaff1d1b9e5d
parent5bf1f1ed13a20571a9311a32323097f9fc4f57a7
spi: Add Cadence QSPI DM driver used by SoCFPGA

This driver is cloned from the Altera Rockerboard.org U-Boot
repository. I used this git tag: ACDS14.0.1_REL_GSRD_RC2. With Some
modification to support the U-Boot driver model (DM).

As mentioned above, in this new version I ported this driver to the
new driver model (DM). One big advantage of this move is that now
multiple SPI drivers can be enabled on one platform. And since the
SoCFPGA also has the Designware SPI master controller integrated,
this feature is really needed to support both controllers.

Because of this, this series needs the DT support for SoCFPGA
to be applied. For DT based probing in the SPI DM.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/Makefile
drivers/spi/cadence_qspi.c [new file with mode: 0644]
drivers/spi/cadence_qspi.h [new file with mode: 0644]
drivers/spi/cadence_qspi_apb.c [new file with mode: 0644]