2014-04-01 07:12:32

by Bo Shen

[permalink] [raw]
Subject: [PATCH] ARM: at91: fix spi cs on sama5d3 Xplained board

The PD16 is the CS3 for SPI0 while not SPI1.

Signed-off-by: Bo Shen <[email protected]>
---
This patch is based on v3.14-rc8

arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index ce13755..4537259 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -34,7 +34,7 @@
};

spi0: spi@f0004000 {
- cs-gpios = <&pioD 13 0>;
+ cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
status = "okay";
};

@@ -79,7 +79,7 @@
};

spi1: spi@f8008000 {
- cs-gpios = <&pioC 25 0>, <0>, <0>, <&pioD 16 0>;
+ cs-gpios = <&pioC 25 0>;
status = "okay";
};

--
1.8.5.2


2014-04-02 11:59:23

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91: fix spi cs on sama5d3 Xplained board

On 01/04/2014 at 15:12:43 +0800, Bo Shen wrote :
> The PD16 is the CS3 for SPI0 while not SPI1.
>
> Signed-off-by: Bo Shen <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>

> ---
> This patch is based on v3.14-rc8
>
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index ce13755..4537259 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -34,7 +34,7 @@
> };
>
> spi0: spi@f0004000 {
> - cs-gpios = <&pioD 13 0>;
> + cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
> status = "okay";
> };
>
> @@ -79,7 +79,7 @@
> };
>
> spi1: spi@f8008000 {
> - cs-gpios = <&pioC 25 0>, <0>, <0>, <&pioD 16 0>;
> + cs-gpios = <&pioC 25 0>;
> status = "okay";
> };
>
> --
> 1.8.5.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

2014-04-18 15:31:36

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91: fix spi cs on sama5d3 Xplained board

On 01/04/2014 09:12, Bo Shen :
> The PD16 is the CS3 for SPI0 while not SPI1.
>
> Signed-off-by: Bo Shen <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

Okay, queued in at91-3.15-fixes. Thanks



> ---
> This patch is based on v3.14-rc8
>
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index ce13755..4537259 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -34,7 +34,7 @@
> };
>
> spi0: spi@f0004000 {
> - cs-gpios = <&pioD 13 0>;
> + cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
> status = "okay";
> };
>
> @@ -79,7 +79,7 @@
> };
>
> spi1: spi@f8008000 {
> - cs-gpios = <&pioC 25 0>, <0>, <0>, <&pioD 16 0>;
> + cs-gpios = <&pioC 25 0>;
> status = "okay";
> };
>
>


--
Nicolas Ferre