spi/spi-fsl-spi: Add support for Aeroflex Gaisler GRLIB cores normally running on...
authorAndreas Larsson <andreas@gaisler.com>
Fri, 15 Feb 2013 15:52:26 +0000 (16:52 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Apr 2013 09:07:56 +0000 (10:07 +0100)
commit447b0c7b939f1d9e4024edf07a471ce7b1bcf002
treeba1118bd6bbf30af8fe4622f8c7d9ad103c9f566
parent8922a366ddd20964e3542e12f0315a8a88b3a638
spi/spi-fsl-spi: Add support for Aeroflex Gaisler GRLIB cores normally running on SPARC

This adds support for the mostly register-compatible SPICTRL cores from the
GRLIB VHDL IP core library from Aeroflex Gaisler. They are normally running on
SPARC. A different entry in of_fsl_spi_match matches this core and indicates a
different hardware type that is used to set up different function pointers and
special cases.

The GRLIB core operates in cpu mode. The number of bits per word might be
limited. There might be native chipselects selected via a slave select
register. These differences to the FSL type cores, if present, are indicated by
a capabilities register. Other register and function differences exists but are
not relevant to the driver.

Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/spi/fsl-spi.txt
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/spi/Kconfig
drivers/spi/spi-fsl-spi.c
drivers/spi/spi-fsl-spi.h