diff options
author | Qipan Li <Qipan.Li@csr.com> | 2015-05-19 16:41:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-20 20:05:40 +0200 |
commit | e3fb57c83239c84ca06ed5b06eb224db3e48d17e (patch) | |
tree | 2f82a5fcdd0dfe1229af30e4abfe8de16c4ad015 /Documentation | |
parent | spi: sirf: replace kmalloc by devm_kzalloc (diff) | |
download | linux-e3fb57c83239c84ca06ed5b06eb224db3e48d17e.tar.xz linux-e3fb57c83239c84ca06ed5b06eb224db3e48d17e.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-sirf.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-sirf.txt b/Documentation/devicetree/bindings/spi/spi-sirf.txt index 4c7adb8f777c..ddd78ff68fae 100644 --- a/Documentation/devicetree/bindings/spi/spi-sirf.txt +++ b/Documentation/devicetree/bindings/spi/spi-sirf.txt @@ -1,7 +1,8 @@ * CSR SiRFprimaII Serial Peripheral Interface Required properties: -- compatible : Should be "sirf,prima2-spi" +- compatible : Should be "sirf,prima2-spi", "sirf,prima2-usp" + or "sirf,atlas7-usp" - reg : Offset and length of the register set for the device - interrupts : Should contain SPI interrupt - resets: phandle to the reset controller asserting this device in |