aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-11-26 06:10:05 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-13 02:48:27 -0500
commit8051effcbced8478119167b93b0e9554cb82d28e (patch)
tree03ce88851ca697c8ed5f1d8eadcb32972342dbac /drivers/spi/Makefile
parent41df70d9ac2d0d36b23a0ec4866f67e540f366ff (diff)
spi: SuperH MSIOF SPI Master driver V2
This patch is V2 of SPI Master support for the SuperH MSIOF. Full duplex, spi mode 0-3, active high cs, 3-wire and lsb first should all be supported, but the driver has so far only been tested with "mmc_spi". The MSIOF hardware comes with 32-bit FIFOs for receive and transmit, and this driver simply breaks the SPI messages into FIFO-sized chunks. The MSIOF hardware manages the pins for clock, receive and transmit (sck/miso/mosi), but the chip select pin is managed by software and must be configured as a regular GPIO pin by the board code. Performance wise there is still room for improvement, but on a Ecovec board with the built-in sh7724 MSIOF0 this driver gets Mini-sd read speeds of about half a megabyte per second. Future work include better clock setup and merging of 8-bit transfers into 32-bit words to reduce interrupt load and improve throughput. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 2f2bebc63b64..9c51e2526892 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -35,6 +35,7 @@ obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o
35obj-$(CONFIG_SPI_XILINX_OF) += xilinx_spi_of.o 35obj-$(CONFIG_SPI_XILINX_OF) += xilinx_spi_of.o
36obj-$(CONFIG_SPI_XILINX_PLTFM) += xilinx_spi_pltfm.o 36obj-$(CONFIG_SPI_XILINX_PLTFM) += xilinx_spi_pltfm.o
37obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o 37obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
38obj-$(CONFIG_SPI_SH_MSIOF) += spi_sh_msiof.o
38obj-$(CONFIG_SPI_STMP3XXX) += spi_stmp.o 39obj-$(CONFIG_SPI_STMP3XXX) += spi_stmp.o
39# ... add above this line ... 40# ... add above this line ...
40 41