* [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs
@ 2013-06-24 10:35 Nicolas Ferre
2013-06-24 10:35 ` [PATCH 1/3] ARM: at91/DT: fix SPI compatibility string Nicolas Ferre
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24 10:35 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Wenyou Yang,
Bo Shen, Josh Wu
Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [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: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Wenyou Yang,
Bo Shen, Josh Wu
Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre
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@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@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: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Wenyou Yang,
Bo Shen, Josh Wu
Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre
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: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Wenyou Yang,
Bo Shen, Josh Wu
Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre
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
* RE: [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: Ferre, Nicolas, Jean-Christophe PLAGNIOL-VILLARD,
Desroches, Ludovic, Shen, Voice, Wu, Josh
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Ferre, Nicolas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1076 bytes --]
> -----Original Message-----
> From: Nicolas Ferre [mailto:nicolas.ferre@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@lists.infradead.org; linux-kernel@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>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [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: Yang, Wenyou
Cc: Jean-Christophe PLAGNIOL-VILLARD, Desroches, Ludovic, Shen, Voice,
Wu, Josh, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
On 26/06/2013 03:59, Yang, Wenyou :
>
>
>> -----Original Message-----
>> From: Nicolas Ferre [mailto:nicolas.ferre@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@lists.infradead.org; linux-kernel@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
* Re: [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: Nicolas Ferre
Cc: Ludovic Desroches, Wenyou Yang, Bo Shen, Josh Wu,
linux-arm-kernel, linux-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
end of thread, other threads:[~2013-08-21 11:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 3/3] ARM: at91/DT: at91sam9n12: " Nicolas Ferre
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
2013-08-21 11:28 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).