aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorRichard Röjfors <richard.rojfors@mocean-labs.com>2009-11-13 06:28:55 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-08 20:48:14 -0500
commitc9da2e125588677d74324df5088149063d578e8f (patch)
treeadafee69c0b90867809fd806b4843abbbab6f9b9 /drivers/spi/Kconfig
parent86fc593599c11b62a11c85b4d7b709089df15c29 (diff)
xilinx_spi: add support for the DS570 IP.
This patch adds in support for the DS570 IP. It's register compatible with the DS464, but adds support for 8/16/32 SPI. The 8/16/32 support is added by attaching callbacks reading/writing the proper amount of data. To indicate to the driver which amount of bits to use a new field is introduced in the platform data struct. Acked-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: John Linn <John.Linn@xilinx.com> Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.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 b528271c72ef..4dda097c239e 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -243,7 +243,7 @@ config SPI_TXX9
243 SPI driver for Toshiba TXx9 MIPS SoCs 243 SPI driver for Toshiba TXx9 MIPS SoCs
244 244
245config SPI_XILINX 245config SPI_XILINX
246 tristate "Xilinx SPI controller" 246 tristate "Xilinx SPI controller common module"
247 depends on HAS_IOMEM && EXPERIMENTAL 247 depends on HAS_IOMEM && EXPERIMENTAL
248 select SPI_BITBANG 248 select SPI_BITBANG
249 select SPI_XILINX_OF if (XILINX_VIRTEX || MICROBLAZE) 249 select SPI_XILINX_OF if (XILINX_VIRTEX || MICROBLAZE)
@@ -253,6 +253,8 @@ config SPI_XILINX
253 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 253 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
254 Product Specification document (DS464) for hardware details. 254 Product Specification document (DS464) for hardware details.
255 255
256 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
257
256config SPI_XILINX_OF 258config SPI_XILINX_OF
257 tristate "Xilinx SPI controller OF device" 259 tristate "Xilinx SPI controller OF device"
258 depends on SPI_XILINX && (XILINX_VIRTEX || MICROBLAZE) 260 depends on SPI_XILINX && (XILINX_VIRTEX || MICROBLAZE)