aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2013-02-15 10:52:26 -0500
committerGrant Likely <grant.likely@secretlab.ca>2013-04-07 05:07:56 -0400
commit447b0c7b939f1d9e4024edf07a471ce7b1bcf002 (patch)
treeba1118bd6bbf30af8fe4622f8c7d9ad103c9f566 /drivers/spi/Kconfig
parent8922a366ddd20964e3542e12f0315a8a88b3a638 (diff)
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>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 3524bec5ae5b..2946ab4736f6 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -236,7 +236,7 @@ config SPI_FSL_CPM
236 depends on FSL_SOC 236 depends on FSL_SOC
237 237
238config SPI_FSL_SPI 238config SPI_FSL_SPI
239 bool "Freescale SPI controller" 239 bool "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
240 depends on OF 240 depends on OF
241 select SPI_FSL_LIB 241 select SPI_FSL_LIB
242 select SPI_FSL_CPM if FSL_SOC 242 select SPI_FSL_CPM if FSL_SOC
@@ -244,6 +244,8 @@ config SPI_FSL_SPI
244 This enables using the Freescale SPI controllers in master mode. 244 This enables using the Freescale SPI controllers in master mode.
245 MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 245 MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
246 MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 246 MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
247 This also enables using the Aeroflex Gaisler GRLIB SPI controller in
248 master mode.
247 249
248config SPI_FSL_ESPI 250config SPI_FSL_ESPI
249 bool "Freescale eSPI controller" 251 bool "Freescale eSPI controller"