* [PATCH 1/3] ARM: at91/DT: fix SPI compatibility string
2013-06-24 10:35 [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Nicolas Ferre
@ 2013-06-24 10:35 ` Nicolas Ferre
2013-06-24 10:35 ` [PATCH 2/3] ARM: at91/DT: sama5d3: add SPI DMA client infos Nicolas Ferre
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24 10:35 UTC (permalink / raw)
To: linux-arm-kernel
In previous version of SPI driver we where using different compatibility stings
for finding SPI features. We are now using the IP revision information.
So we stay with the unique compatibility string for this driver:
"atmel,at91rm9200-spi".
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index bbf88d7..178fd09 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -80,7 +80,7 @@
spi0: spi at f0004000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "atmel,at91sam9x5-spi";
+ compatible = "atmel,at91rm9200-spi";
reg = <0xf0004000 0x100>;
interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default";
@@ -203,7 +203,7 @@
spi1: spi at f8008000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "atmel,at91sam9x5-spi";
+ compatible = "atmel,at91rm9200-spi";
reg = <0xf8008000 0x100>;
interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default";
--
1.8.2.2
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] ARM: at91/DT: sama5d3: add SPI DMA client infos
2013-06-24 10:35 [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Nicolas Ferre
2013-06-24 10:35 ` [PATCH 1/3] ARM: at91/DT: fix SPI compatibility string Nicolas Ferre
@ 2013-06-24 10:35 ` Nicolas Ferre
2013-06-24 10:35 ` [PATCH 3/3] ARM: at91/DT: at91sam9n12: " Nicolas Ferre
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24 10:35 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 178fd09..a1d5e25 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -83,6 +83,9 @@
compatible = "atmel,at91rm9200-spi";
reg = <0xf0004000 0x100>;
interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
+ dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(1)>,
+ <&dma0 2 AT91_DMA_CFG_PER_ID(2)>;
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>;
status = "disabled";
@@ -206,6 +209,9 @@
compatible = "atmel,at91rm9200-spi";
reg = <0xf8008000 0x100>;
interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
+ dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>,
+ <&dma1 2 AT91_DMA_CFG_PER_ID(16)>;
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>;
status = "disabled";
--
1.8.2.2
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/3] ARM: at91/DT: at91sam9n12: add SPI DMA client infos
2013-06-24 10:35 [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Nicolas Ferre
2013-06-24 10:35 ` [PATCH 1/3] ARM: at91/DT: fix SPI compatibility string Nicolas Ferre
2013-06-24 10:35 ` [PATCH 2/3] ARM: at91/DT: sama5d3: add SPI DMA client infos Nicolas Ferre
@ 2013-06-24 10:35 ` Nicolas Ferre
2013-06-26 1:59 ` [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Yang, Wenyou
2013-08-21 11:28 ` Jean-Christophe PLAGNIOL-VILLARD
4 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24 10:35 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 973bf5f..bb7f564 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -492,6 +492,9 @@
compatible = "atmel,at91rm9200-spi";
reg = <0xf0000000 0x100>;
interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
+ dmas = <&dma 1 AT91_DMA_CFG_PER_ID(1)>,
+ <&dma 1 AT91_DMA_CFG_PER_ID(2)>;
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>;
status = "disabled";
@@ -503,6 +506,9 @@
compatible = "atmel,at91rm9200-spi";
reg = <0xf0004000 0x100>;
interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
+ dmas = <&dma 1 AT91_DMA_CFG_PER_ID(3)>,
+ <&dma 1 AT91_DMA_CFG_PER_ID(4)>;
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>;
status = "disabled";
--
1.8.2.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
2013-06-24 10:35 [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Nicolas Ferre
` (2 preceding siblings ...)
2013-06-24 10:35 ` [PATCH 3/3] ARM: at91/DT: at91sam9n12: " Nicolas Ferre
@ 2013-06-26 1:59 ` Yang, Wenyou
2013-06-26 9:05 ` Nicolas Ferre
2013-08-21 11:28 ` Jean-Christophe PLAGNIOL-VILLARD
4 siblings, 1 reply; 7+ messages in thread
From: Yang, Wenyou @ 2013-06-26 1:59 UTC (permalink / raw)
To: linux-arm-kernel
> -----Original Message-----
> From: Nicolas Ferre [mailto:nicolas.ferre at atmel.com]
> Sent: 2013?6?24? 18:35
> To: Jean-Christophe PLAGNIOL-VILLARD; Desroches, Ludovic; Yang, Wenyou;
> Shen, Voice; Wu, Josh
> Cc: linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; Ferre,
> Nicolas
> Subject: [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
>
> This little series is for enabling the support of SPI on at91sam9n12 and
> sama5d3 families.
>
> Nicolas Ferre (3):
> ARM: at91/DT: fix SPI compatibility string
> ARM: at91/DT: sama5d3: add SPI DMA client infos
> ARM: at91/DT: at91sam9n12: add SPI DMA client infos
>
> arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
> arch/arm/boot/dts/sama5d3.dtsi | 10 ++++++++--
> 2 files changed, 14 insertions(+), 2 deletions(-)
>
> --
> 1.8.2.2
Tested on sama5d34ek, Linux-next: next-20130624
Tested by Wenyou Yang <wenyou.yang@atmel.com>
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
2013-06-26 1:59 ` [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Yang, Wenyou
@ 2013-06-26 9:05 ` Nicolas Ferre
0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-26 9:05 UTC (permalink / raw)
To: linux-arm-kernel
On 26/06/2013 03:59, Yang, Wenyou :
>
>
>> -----Original Message-----
>> From: Nicolas Ferre [mailto:nicolas.ferre at atmel.com]
>> Sent: 2013?6?24? 18:35
>> To: Jean-Christophe PLAGNIOL-VILLARD; Desroches, Ludovic; Yang, Wenyou;
>> Shen, Voice; Wu, Josh
>> Cc: linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; Ferre,
>> Nicolas
>> Subject: [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
>>
>> This little series is for enabling the support of SPI on at91sam9n12 and
>> sama5d3 families.
>>
>> Nicolas Ferre (3):
>> ARM: at91/DT: fix SPI compatibility string
>> ARM: at91/DT: sama5d3: add SPI DMA client infos
>> ARM: at91/DT: at91sam9n12: add SPI DMA client infos
>>
>> arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
>> arch/arm/boot/dts/sama5d3.dtsi | 10 ++++++++--
>> 2 files changed, 14 insertions(+), 2 deletions(-)
>>
>> --
>> 1.8.2.2
>
> Tested on sama5d34ek, Linux-next: next-20130624
>
> Tested by Wenyou Yang <wenyou.yang@atmel.com>
Thanks for having testing: series is stacked on at91-3.11-dt now.
Bye,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
2013-06-24 10:35 [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Nicolas Ferre
` (3 preceding siblings ...)
2013-06-26 1:59 ` [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs Yang, Wenyou
@ 2013-08-21 11:28 ` Jean-Christophe PLAGNIOL-VILLARD
4 siblings, 0 replies; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-08-21 11:28 UTC (permalink / raw)
To: linux-arm-kernel
On 12:35 Mon 24 Jun , Nicolas Ferre wrote:
> This little series is for enabling the support of SPI on at91sam9n12 and
> sama5d3 families.
on all
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
>
> Nicolas Ferre (3):
> ARM: at91/DT: fix SPI compatibility string
> ARM: at91/DT: sama5d3: add SPI DMA client infos
> ARM: at91/DT: at91sam9n12: add SPI DMA client infos
>
> arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
> arch/arm/boot/dts/sama5d3.dtsi | 10 ++++++++--
> 2 files changed, 14 insertions(+), 2 deletions(-)
>
> --
> 1.8.2.2
>
^ permalink raw reply [flat|nested] 7+ messages in thread