spi: sirf: add support for USP-based SPI
authorQipan Li <Qipan.Li@csr.com>
Tue, 19 May 2015 14:41:12 +0000 (14:41 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 May 2015 18:05:40 +0000 (19:05 +0100)
commite3fb57c83239c84ca06ed5b06eb224db3e48d17e
tree2f82a5fcdd0dfe1229af30e4abfe8de16c4ad015
parenta34bcbedf8c9f6e960a09ed677d320392b1fe8d0
spi: sirf: add support for USP-based SPI

USP is a general purpose serial port in SiRFSoC, which can work as SPI.
the most data flow of USP and pure SPI is same with main differences
in registers layout.
this patch moves registers layout to private data, and use flags to
differentiate other minor differences between prima2-spi, prima2-usp
and atlas7-usp for hardware configuration.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-sirf.txt
drivers/spi/spi-sirf.c
This page took 0.028331 seconds and 5 git commands to generate.