linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl
@ 2014-05-15 15:15 Nicolas Ferre
  2014-05-15 15:15 ` [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl Nicolas Ferre
  2014-05-15 16:11 ` [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Alexandre Belloni
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-05-15 15:15 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/at91sam9rl.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
index 6e6e87dd0c92..412617084cfd 100644
--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -348,6 +348,15 @@
 				};
 			};
 
+			dma0: dma-controller at ffffe600 {
+				compatible = "atmel,at91sam9rl-dma";
+				reg = <0xffffe600 0x200>;
+				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
+				#dma-cells = <2>;
+				clocks = <&dma0_clk>;
+				clock-names = "dma_clk";
+			};
+
 			ramc0: ramc at ffffea00 {
 				compatible = "atmel,at91sam9260-sdramc";
 				reg = <0xffffea00 0x200>;
-- 
1.8.2.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl
  2014-05-15 15:15 [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Nicolas Ferre
@ 2014-05-15 15:15 ` Nicolas Ferre
  2014-05-15 16:11   ` Alexandre Belloni
  2014-05-15 16:11 ` [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Alexandre Belloni
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Ferre @ 2014-05-15 15:15 UTC (permalink / raw)
  To: linux-arm-kernel

Add the "atmel,nand-has-dma" property to NAND node

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/at91sam9rl.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
index 412617084cfd..f21163c7dc2b 100644
--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -95,6 +95,7 @@
 			      <0xffffe800 0x200>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioD 17 GPIO_ACTIVE_HIGH>,
-- 
1.8.2.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl
  2014-05-15 15:15 [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Nicolas Ferre
  2014-05-15 15:15 ` [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl Nicolas Ferre
@ 2014-05-15 16:11 ` Alexandre Belloni
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-05-15 16:11 UTC (permalink / raw)
  To: linux-arm-kernel

On 15/05/2014 at 17:15:23 +0200, Nicolas Ferre wrote :
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  arch/arm/boot/dts/at91sam9rl.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index 6e6e87dd0c92..412617084cfd 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -348,6 +348,15 @@
>  				};
>  			};
>  
> +			dma0: dma-controller at ffffe600 {
> +				compatible = "atmel,at91sam9rl-dma";
> +				reg = <0xffffe600 0x200>;
> +				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
> +				#dma-cells = <2>;
> +				clocks = <&dma0_clk>;
> +				clock-names = "dma_clk";
> +			};
> +
>  			ramc0: ramc at ffffea00 {
>  				compatible = "atmel,at91sam9260-sdramc";
>  				reg = <0xffffea00 0x200>;
> -- 
> 1.8.2.2
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl
  2014-05-15 15:15 ` [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl Nicolas Ferre
@ 2014-05-15 16:11   ` Alexandre Belloni
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-05-15 16:11 UTC (permalink / raw)
  To: linux-arm-kernel

On 15/05/2014 at 17:15:24 +0200, Nicolas Ferre wrote :
> Add the "atmel,nand-has-dma" property to NAND node
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  arch/arm/boot/dts/at91sam9rl.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index 412617084cfd..f21163c7dc2b 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -95,6 +95,7 @@
>  			      <0xffffe800 0x200>;
>  			atmel,nand-addr-offset = <21>;
>  			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>  			pinctrl-names = "default";
>  			pinctrl-0 = <&pinctrl_nand>;
>  			gpios = <&pioD 17 GPIO_ACTIVE_HIGH>,
> -- 
> 1.8.2.2
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-15 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-15 15:15 [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Nicolas Ferre
2014-05-15 15:15 ` [PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl Nicolas Ferre
2014-05-15 16:11   ` Alexandre Belloni
2014-05-15 16:11 ` [PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl Alexandre Belloni

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).