diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2015-05-11 11:20:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 13:10:04 -0400 |
commit | bcd201e2ae1c3e431a89a02a48c05112f19eb65e (patch) | |
tree | 5a2423b1cef4955e8f6efc7d2f3ce945cd4ca2f4 /Documentation/devicetree | |
parent | 46afcceeebddd0f6e1d328c9c9c93059adffdf08 (diff) |
spi: pl022: Specify 'num-cs' property as required in devicetree binding
commit ea6055c46eda1e19e02209814955e13f334bbe1b upstream.
Since commit 39a6ac11df65 ("spi/pl022: Devicetree support w/o platform data")
the 'num-cs' parameter cannot be passed through platform data when probing
with devicetree. Instead, it's a required devicetree property.
Fix the binding documentation so the property is properly specified.
Fixes: 39a6ac11df65 ("spi/pl022: Devicetree support w/o platform data")
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi_pl022.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi_pl022.txt b/Documentation/devicetree/bindings/spi/spi_pl022.txt index 22ed6797216d..4d1673ca8cf8 100644 --- a/Documentation/devicetree/bindings/spi/spi_pl022.txt +++ b/Documentation/devicetree/bindings/spi/spi_pl022.txt | |||
@@ -4,9 +4,9 @@ Required properties: | |||
4 | - compatible : "arm,pl022", "arm,primecell" | 4 | - compatible : "arm,pl022", "arm,primecell" |
5 | - reg : Offset and length of the register set for the device | 5 | - reg : Offset and length of the register set for the device |
6 | - interrupts : Should contain SPI controller interrupt | 6 | - interrupts : Should contain SPI controller interrupt |
7 | - num-cs : total number of chipselects | ||
7 | 8 | ||
8 | Optional properties: | 9 | Optional properties: |
9 | - num-cs : total number of chipselects | ||
10 | - cs-gpios : should specify GPIOs used for chipselects. | 10 | - cs-gpios : should specify GPIOs used for chipselects. |
11 | The gpios will be referred to as reg = <index> in the SPI child nodes. | 11 | The gpios will be referred to as reg = <index> in the SPI child nodes. |
12 | If unspecified, a single SPI device without a chip select can be used. | 12 | If unspecified, a single SPI device without a chip select can be used. |