spi: Add Faraday SPI controller support
authorKuo-Jung Su <dantesu@faraday-tech.com>
Fri, 20 Dec 2013 07:24:30 +0000 (12:54 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sat, 11 Jan 2014 06:51:30 +0000 (12:21 +0530)
commit66cb9eb1d6372b0d39b793688f80db5834d3ffab
treedfcf4ea8d4a921932b6426dd4f7015df966a808c
parent7f673c99c2d8d1aa21996c5b914f06d784b080ca
spi: Add Faraday SPI controller support

The Faraday FTSSP010 is a multi-function controller
which supports I2S/SPI/SSP/AC97/SPDIF. However This
patch implements only the SPI mode.

NOTE:
The DMA and CS/Clock control logic has been altered
since hardware revision 1.19.0. So this patch
would first detects the revision id of the underlying
chip, and then switch to the corresponding software
control routines.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
CC: Tom Rini <trini@ti.com>
doc/SPI/README.ftssp010_spi_test [new file with mode: 0644]
drivers/spi/Makefile
drivers/spi/ftssp010_spi.c [new file with mode: 0644]