Commit c4dcd205 authored by Guenther Wutz's avatar Guenther Wutz Committed by Rob Herring

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: default avatarGuenther Wutz <info@gunibert.de>
Signed-off-by: default avatarRalf Ramsauer <ralf@ramses-pyramidenbau.de>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent a7654dc3
...@@ -31,7 +31,7 @@ with max(cs-gpios > hw cs). ...@@ -31,7 +31,7 @@ with max(cs-gpios > hw cs).
So if for example the controller has 2 CS lines, and the cs-gpios So if for example the controller has 2 CS lines, and the cs-gpios
property looks like this: 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 Then it should be configured so that num_chipselect = 4 with the
following mapping: following mapping:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment