Documentation: devicetree: spi: fix wrong spi-bus documentation
authorGuenther Wutz <info@gunibert.de>
Wed, 3 Aug 2016 14:11:54 +0000 (16:11 +0200)
committerRob Herring <robh@kernel.org>
Tue, 30 Aug 2016 22:07:46 +0000 (17:07 -0500)
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>
Documentation/devicetree/bindings/spi/spi-bus.txt

index 1782286..4b1d6e7 100644 (file)
@@ -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: