diff options
author | Aaron Brice <aaron.brice@datasoft.com> | 2015-04-03 16:39:30 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-06 13:12:22 -0400 |
commit | c1c14957afd3026dcbc2e7ca599e6d035c7d8e01 (patch) | |
tree | a60934cba8c3c5e5fda953f7d0cbdf87e718af48 | |
parent | 6fd63087d87329a2a84f28d0adec875fd9efb782 (diff) |
spi: fsl-dspi: Add cs-sck delays
Adding fsl,spi-cs-sck-delay and fsl,spi-sck-cs-delay properties to
support delays before and after starting the clock in a transfer.
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt index cbbe16ed3874..70af78a9185e 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | |||
@@ -16,6 +16,12 @@ Optional property: | |||
16 | in big endian mode, otherwise in native mode(same with CPU), for more | 16 | in big endian mode, otherwise in native mode(same with CPU), for more |
17 | detail please see: Documentation/devicetree/bindings/regmap/regmap.txt. | 17 | detail please see: Documentation/devicetree/bindings/regmap/regmap.txt. |
18 | 18 | ||
19 | Optional SPI slave node properties: | ||
20 | - fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip | ||
21 | select and the start of clock signal, at the start of a transfer. | ||
22 | - fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock | ||
23 | signal and deactivating chip select, at the end of a transfer. | ||
24 | |||
19 | Example: | 25 | Example: |
20 | 26 | ||
21 | dspi0@4002c000 { | 27 | dspi0@4002c000 { |
@@ -43,6 +49,8 @@ dspi0@4002c000 { | |||
43 | reg = <0>; | 49 | reg = <0>; |
44 | linux,modalias = "m25p80"; | 50 | linux,modalias = "m25p80"; |
45 | modal = "at26df081a"; | 51 | modal = "at26df081a"; |
52 | fsl,spi-cs-sck-delay = <100>; | ||
53 | fsl,spi-sck-cs-delay = <50>; | ||
46 | }; | 54 | }; |
47 | }; | 55 | }; |
48 | 56 | ||