diff options
author | Ezequiel Garcia <ezequiel.garcia@imgtec.com> | 2015-04-08 10:03:16 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-08 21:04:51 +0100 |
commit | 8c2c8c03cdcb9b0a75b5585e611715fdd8096c38 (patch) | |
tree | 87bfe4fa8dd103b80559e44e94d07bba39aced88 /Documentation/devicetree/bindings/spi/spi-img-spfi.txt | |
parent | a25202b04f17830dbf241a24838f8c8575a56611 (diff) | |
download | talos-obmc-linux-8c2c8c03cdcb9b0a75b5585e611715fdd8096c38.tar.gz talos-obmc-linux-8c2c8c03cdcb9b0a75b5585e611715fdd8096c38.zip |
spi: img-spfi: Control CS lines with GPIO
When the CONTINUE bit is set, the interrupt status we are polling to
identify if a transaction has finished can be sporadic. Even though
the transfer has finished, the interrupt status may erroneously
indicate that there is still data in the FIFO. This behaviour causes
random timeouts in large PIO transfers.
Instead of using the CONTINUE bit to control the CS lines, use the SPI
core's CS GPIO handling. Also, now that the CONTINUE bit is not being
used, we can poll for the ALLDONE interrupt to indicate transfer
completion.
Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-img-spfi.txt')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-img-spfi.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-img-spfi.txt b/Documentation/devicetree/bindings/spi/spi-img-spfi.txt index c7dd50fb8eb2..e02fbf18c82c 100644 --- a/Documentation/devicetree/bindings/spi/spi-img-spfi.txt +++ b/Documentation/devicetree/bindings/spi/spi-img-spfi.txt @@ -14,6 +14,7 @@ Required properties: - dma-names: Must include the following entries: - rx - tx +- cs-gpios: Must specify the GPIOs used for chipselect lines. - #address-cells: Must be 1. - #size-cells: Must be 0. |