Commit 7f01494f authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Mark Brown

spi: Fix the number of CS lines documented as an example

The number of CS lines is mentioned as 2 in the spi-controller binding
but however in the example, 4 cs-gpios are used. Hence fix that to
mention 4.
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20190820115000.32041-1-manivannan.sadhasivam@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8eb2fd00
...@@ -31,7 +31,7 @@ properties: ...@@ -31,7 +31,7 @@ properties:
If that property is used, the number of chip selects will be If that property is used, the number of chip selects will be
increased automatically with max(cs-gpios, hardware chip selects). increased automatically with max(cs-gpios, hardware chip selects).
So if, for example, the controller has 2 CS lines, and the So if, for example, the controller has 4 CS lines, and the
cs-gpios looks like this cs-gpios 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>;
......
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