diff mbox series

[06/11] dt-bindings: spi/spi-pxa2xx: Add spi-slave property

Message ID 20181010170936.316862-7-lkundrak@v3.sk (mailing list archive)
State New, archived
Headers show
Series spi: pxa2xx: add DT and slave mode support | expand

Commit Message

Lubomir Rintel Oct. 10, 2018, 5:09 p.m. UTC
This is used to indicate that the chip attached to this controller is a SPI
master.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 Documentation/devicetree/bindings/spi/spi-pxa2xx.txt | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring (Arm) Oct. 17, 2018, 7:33 p.m. UTC | #1
On Wed, Oct 10, 2018 at 07:09:31PM +0200, Lubomir Rintel wrote:
> This is used to indicate that the chip attached to this controller is a SPI
> master.
> 
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
>  Documentation/devicetree/bindings/spi/spi-pxa2xx.txt | 1 +
>  1 file changed, 1 insertion(+)

This could be rolled into patch 1. Either way,

Reviewed-by: Rob Herring <robh@kernel.org>
Pavel Machek Nov. 4, 2018, 12:07 p.m. UTC | #2
On Wed 2018-10-10 19:09:31, Lubomir Rintel wrote:
> This is used to indicate that the chip attached to this controller is a SPI
> master.
> 
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> Reviewed-by: Rob Herring <robh@kernel.org>

Acked-by: Pavel Machek <pavel@ucw.cz>

Rob, can you apply this?
									Pavel

> ---
>  Documentation/devicetree/bindings/spi/spi-pxa2xx.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
> index 0335a9bd2e8a..89b2832283e3 100644
> --- a/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
> @@ -11,6 +11,7 @@ Required properties:
>  Optional properties:
>  - cs-gpios: list of GPIO chip selects. See the SPI bus bindings,
>    Documentation/devicetree/bindings/spi/spi-bus.txt
> +- spi-slave: Empty property indicating the SPI controller is used in slave mode.
>  
>  Child nodes represent devices on the SPI bus
>    See ../spi/spi-bus.txt
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
index 0335a9bd2e8a..89b2832283e3 100644
--- a/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
+++ b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
@@ -11,6 +11,7 @@  Required properties:
 Optional properties:
 - cs-gpios: list of GPIO chip selects. See the SPI bus bindings,
   Documentation/devicetree/bindings/spi/spi-bus.txt
+- spi-slave: Empty property indicating the SPI controller is used in slave mode.
 
 Child nodes represent devices on the SPI bus
   See ../spi/spi-bus.txt