diff options
| author | Stefan Roese <[email protected]> | 2014-11-07 13:50:31 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2014-12-06 13:52:47 +0100 |
| commit | 5bef6fd79f9442269c6a0d3778cb65c7a71e4d9a (patch) | |
| tree | 4648b93255338457d652f64bbe8b14807862052a /include/linux/string.h | |
| parent | 7fb0f596495395f26819e279acef80487360bfea (diff) | |
spi: Add designware master SPI DM driver used on SoCFPGA
This patch adds the driver for the Designware master SPI controller. This
IP core is integrated on the Altera SoCFPGA. This implementation is a
driver model (DM) implementation. So multiple SPI drivers can be used.
Thats necessary, since SoCFPGA also integrates the Cadence QSPI controller
used to connect the SPI NOR flashes. Without DM, using multiple SPI
drivers is not possible.
This driver is very loosely based on the Linux driver. Most of the Linux
driver is removed. Only the polling loop for the transfer is really used
from this driver, as we don't support interrupts and DMA right now.
This is tested on the SoCrates SoCFPGA board using the SPI pins on the
P14 header.
Signed-off-by: Stefan Roese <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Vince Bridgers <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Pavel Machek <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Cc: Jagannadha Sutradharudu Teki <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
