diff options
author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2014-07-16 11:19:09 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-17 14:37:50 -0400 |
commit | 797bf3a204ef5d7e451fe5fbeb61650e1efc7917 (patch) | |
tree | d5eaf9b57be23508ba499fe6446556ae280a7031 | |
parent | 306972cedfdedc662dd8e32a6397d0e29f2ac90e (diff) |
spi: s3c64xx: Update binding documentation
Samsung SPI driver now uses the generic SPI "cs-gpios"
binding so update the documentation accordingly.
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
[javier.martinez@collabora.co.uk: split changes and improve commit message]
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-samsung.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt index 86aa061f069f..2d29dacdfed1 100644 --- a/Documentation/devicetree/bindings/spi/spi-samsung.txt +++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt | |||
@@ -42,15 +42,13 @@ Optional Board Specific Properties: | |||
42 | - num-cs: Specifies the number of chip select lines supported. If | 42 | - num-cs: Specifies the number of chip select lines supported. If |
43 | not specified, the default number of chip select lines is set to 1. | 43 | not specified, the default number of chip select lines is set to 1. |
44 | 44 | ||
45 | - cs-gpios: should specify GPIOs used for chipselects (see spi-bus.txt) | ||
46 | |||
45 | SPI Controller specific data in SPI slave nodes: | 47 | SPI Controller specific data in SPI slave nodes: |
46 | 48 | ||
47 | - The spi slave nodes should provide the following information which is required | 49 | - The spi slave nodes should provide the following information which is required |
48 | by the spi controller. | 50 | by the spi controller. |
49 | 51 | ||
50 | - cs-gpio: A gpio specifier that specifies the gpio line used as | ||
51 | the slave select line by the spi controller. The format of the gpio | ||
52 | specifier depends on the gpio controller. | ||
53 | |||
54 | - samsung,spi-feedback-delay: The sampling phase shift to be applied on the | 52 | - samsung,spi-feedback-delay: The sampling phase shift to be applied on the |
55 | miso line (to account for any lag in the miso line). The following are the | 53 | miso line (to account for any lag in the miso line). The following are the |
56 | valid values. | 54 | valid values. |
@@ -85,6 +83,7 @@ Example: | |||
85 | #size-cells = <0>; | 83 | #size-cells = <0>; |
86 | pinctrl-names = "default"; | 84 | pinctrl-names = "default"; |
87 | pinctrl-0 = <&spi0_bus>; | 85 | pinctrl-0 = <&spi0_bus>; |
86 | cs-gpios = <&gpa2 5 0>; | ||
88 | 87 | ||
89 | w25q80bw@0 { | 88 | w25q80bw@0 { |
90 | #address-cells = <1>; | 89 | #address-cells = <1>; |
@@ -94,7 +93,6 @@ Example: | |||
94 | spi-max-frequency = <10000>; | 93 | spi-max-frequency = <10000>; |
95 | 94 | ||
96 | controller-data { | 95 | controller-data { |
97 | cs-gpio = <&gpa2 5 1 0 3>; | ||
98 | samsung,spi-feedback-delay = <0>; | 96 | samsung,spi-feedback-delay = <0>; |
99 | }; | 97 | }; |
100 | 98 | ||