Vignesh Raghavendra
09b6636cea
spi: Document Octal mode as valid SPI bus width
...
SPI core supports Octal SPI controllers which have 8 IO lines.
Therefore document 8 as a valid option for spi-tx{rx}-bus-width
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com >
Link: https://lore.kernel.org/r/20200102102118.23318-1-vigneshr@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2020-01-03 01:02:11 +00:00
Manivannan Sadhasivam
7f01494fd8
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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20190820115000.32041-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2019-08-20 13:17:59 +01:00
Rob Herring
43167bb1f6
spi: dt-bindings: spi-controller: remove unnecessary 'maxItems: 1' from reg
...
Mixing array constraints like 'maxItems' and string or integer value
constraints like 'minimum' don't make sense. Also, with only value
constraints, it is implied we have a single value. So lets remove
'maxItems: 1'.
Cc: Mark Brown <broonie@kernel.org >
Cc: linux-spi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20190709192631.16394-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2019-07-10 16:31:26 +01:00
Maxime Ripard
0a1b929356
spi: Add YAML schemas for the generic SPI options
...
The SPI controllers have a bunch of generic options that are needed in a
device tree. Add a YAML schemas for those.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Mark Brown <broonie@kernel.org >
2019-05-21 21:25:08 +01:00