summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/spi-bus.txt
diff options
context:
space:
mode:
authorGuenther Wutz <info@gunibert.de>2016-08-03 17:11:54 +0300
committerRob Herring <robh@kernel.org>2016-08-31 01:07:46 +0300
commitc4dcd205ebabe730858fc0f33a6a9a09bcd53452 (patch)
tree158920af36437690a1c80ad59b06dcc7a3464e14 /Documentation/devicetree/bindings/spi/spi-bus.txt
parenta7654dc33c318e9b4ce3af5072ead768b860f16b (diff)
downloadlinux-c4dcd205ebabe730858fc0f33a6a9a09bcd53452.tar.xz
Documentation: devicetree: spi: fix wrong spi-bus documentation
This patch adds missing commas to the spi-bus documentation of the cs-gpio lines. The device tree compiler fails if chip select lines are not comma-separated. Fix the erroneous documentation by adding missing commas. Signed-off-by: Guenther Wutz <info@gunibert.de> Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-bus.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-bus.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
index 17822860cb98..4b1d6e74c744 100644
--- a/Documentation/devicetree/bindings/spi/spi-bus.txt
+++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
@@ -31,7 +31,7 @@ with max(cs-gpios > hw cs).
So if for example the controller has 2 CS lines, and the cs-gpios
property looks like this:
-cs-gpios = <&gpio1 0 0> <0> <&gpio1 1 0> <&gpio1 2 0>;
+cs-gpios = <&gpio1 0 0>, <0>, <&gpio1 1 0>, <&gpio1 2 0>;
Then it should be configured so that num_chipselect = 4 with the
following mapping: