]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita260bd597aea91832699882a80e36586ffd0dcd6
treeba1118bd6bbf30af8fe4622f8c7d9ad103c9f566
parentb7c37b8792d5b2c7ccbe1fdfbfcff09352824536
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