]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
spi: sh-msiof: Document hardware limitations related to chip selects
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Dec 2017 19:05:13 +0000 (20:05 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Dec 2017 11:46:19 +0000 (11:46 +0000)
Guide users to maintain the proper balance between native and GPIO chip
selects.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/sh-msiof.txt

index bc8c16a6cfc826859461f81c1927d1158b5e285f..80710f0f044891748a506374c68dfef635cf2853 100644 (file)
@@ -41,6 +41,16 @@ Optional properties:
                           0: MSIOF_SYNC
                           1: MSIOF_SS1
                           2: MSIOF_SS2
+                        Hardware limitations related to chip selects:
+                          - Native chip selects are always deasserted in
+                            between transfers that are part of the same
+                            message.  Use cs-gpios to work around this.
+                          - All slaves using native chip selects must use the
+                            same spi-cs-high configuration.  Use cs-gpios to
+                            work around this.
+                          - When using GPIO chip selects, at least one native
+                            chip select must be left unused, as it will be
+                            driven anyway.
 - dmas                 : Must contain a list of two references to DMA
                         specifiers, one for transmission, and one for
                         reception.