diff mbox

ARM: at91: fix spi cs on sama5d3 Xplained board

Message ID 1396336363-13709-1-git-send-email-voice.shen@atmel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bo Shen April 1, 2014, 7:12 a.m. UTC
The PD16 is the CS3 for SPI0 while not SPI1.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
This patch is based on v3.14-rc8

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

Comments

Alexandre Belloni April 2, 2014, 11:59 a.m. UTC | #1
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 <voice.shen@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

> ---
> 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
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Nicolas Ferre April 18, 2014, 3:31 p.m. UTC | #2
On 01/04/2014 09:12, Bo Shen :
> The PD16 is the CS3 for SPI0 while not SPI1.
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

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";
>  			};
>  
>
diff mbox

Patch

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";
 			};