All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: at91/DT: add NAND + DMA property
@ 2014-02-12 11:06 ` Nicolas Ferre
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-02-12 11:06 UTC (permalink / raw)
  To: linux-arm-kernel, Josh Wu, Jean-Christophe PLAGNIOL-VILLARD
  Cc: Boris BREZILLON, linux-kernel, Nicolas Ferre

Add the "atmel,nand-has-dma" property to NAND node for SoC that
can use the DMA to perform NAND accesses.
Use of this property was added in 1b7192658a08f70df0f290634fd7cd2ecb629fc9
(mtd: atmel_nand: add a new dt binding item for nand dma support).

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/at91sam9g45.dtsi | 1 +
 arch/arm/boot/dts/at91sam9n12.dtsi | 1 +
 arch/arm/boot/dts/at91sam9x5.dtsi  | 1 +
 arch/arm/boot/dts/sama5d3.dtsi     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index cbcc058b26b4..9b6683f252cf 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -817,6 +817,7 @@
 			      >;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioC 8 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 394e6ce2afb7..9f04808fc697 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -570,6 +570,7 @@
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index 174219de92fa..67e32067eb25 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -790,6 +790,7 @@
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 3d5faf85f51b..d075c5326ce7 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -1256,6 +1256,7 @@
 			interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand0_ale_cle>;
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
-- 
1.8.2.2


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

* [PATCH] ARM: at91/DT: add NAND + DMA property
@ 2014-02-12 11:06 ` Nicolas Ferre
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-02-12 11:06 UTC (permalink / raw)
  To: linux-arm-kernel

Add the "atmel,nand-has-dma" property to NAND node for SoC that
can use the DMA to perform NAND accesses.
Use of this property was added in 1b7192658a08f70df0f290634fd7cd2ecb629fc9
(mtd: atmel_nand: add a new dt binding item for nand dma support).

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/at91sam9g45.dtsi | 1 +
 arch/arm/boot/dts/at91sam9n12.dtsi | 1 +
 arch/arm/boot/dts/at91sam9x5.dtsi  | 1 +
 arch/arm/boot/dts/sama5d3.dtsi     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index cbcc058b26b4..9b6683f252cf 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -817,6 +817,7 @@
 			      >;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioC 8 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 394e6ce2afb7..9f04808fc697 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -570,6 +570,7 @@
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index 174219de92fa..67e32067eb25 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -790,6 +790,7 @@
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
 			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 3d5faf85f51b..d075c5326ce7 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -1256,6 +1256,7 @@
 			interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
 			atmel,nand-addr-offset = <21>;
 			atmel,nand-cmd-offset = <22>;
+			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand0_ale_cle>;
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
-- 
1.8.2.2

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

* Re: [PATCH] ARM: at91/DT: add NAND + DMA property
  2014-02-12 11:06 ` Nicolas Ferre
@ 2014-02-12 11:30   ` Boris BREZILLON
  -1 siblings, 0 replies; 4+ messages in thread
From: Boris BREZILLON @ 2014-02-12 11:30 UTC (permalink / raw)
  To: Nicolas Ferre, linux-arm-kernel, Josh Wu,
	Jean-Christophe PLAGNIOL-VILLARD
  Cc: linux-kernel

On 12/02/2014 12:06, Nicolas Ferre wrote:
> Add the "atmel,nand-has-dma" property to NAND node for SoC that
> can use the DMA to perform NAND accesses.
> Use of this property was added in 1b7192658a08f70df0f290634fd7cd2ecb629fc9
> (mtd: atmel_nand: add a new dt binding item for nand dma support).
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris BREZILLON <b.brezillon@overkiz.com>
> ---
>   arch/arm/boot/dts/at91sam9g45.dtsi | 1 +
>   arch/arm/boot/dts/at91sam9n12.dtsi | 1 +
>   arch/arm/boot/dts/at91sam9x5.dtsi  | 1 +
>   arch/arm/boot/dts/sama5d3.dtsi     | 1 +
>   4 files changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index cbcc058b26b4..9b6683f252cf 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -817,6 +817,7 @@
>   			      >;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioC 8 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index 394e6ce2afb7..9f04808fc697 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -570,6 +570,7 @@
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 174219de92fa..67e32067eb25 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -790,6 +790,7 @@
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 3d5faf85f51b..d075c5326ce7 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -1256,6 +1256,7 @@
>   			interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand0_ale_cle>;
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;


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

* [PATCH] ARM: at91/DT: add NAND + DMA property
@ 2014-02-12 11:30   ` Boris BREZILLON
  0 siblings, 0 replies; 4+ messages in thread
From: Boris BREZILLON @ 2014-02-12 11:30 UTC (permalink / raw)
  To: linux-arm-kernel

On 12/02/2014 12:06, Nicolas Ferre wrote:
> Add the "atmel,nand-has-dma" property to NAND node for SoC that
> can use the DMA to perform NAND accesses.
> Use of this property was added in 1b7192658a08f70df0f290634fd7cd2ecb629fc9
> (mtd: atmel_nand: add a new dt binding item for nand dma support).
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris BREZILLON <b.brezillon@overkiz.com>
> ---
>   arch/arm/boot/dts/at91sam9g45.dtsi | 1 +
>   arch/arm/boot/dts/at91sam9n12.dtsi | 1 +
>   arch/arm/boot/dts/at91sam9x5.dtsi  | 1 +
>   arch/arm/boot/dts/sama5d3.dtsi     | 1 +
>   4 files changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index cbcc058b26b4..9b6683f252cf 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -817,6 +817,7 @@
>   			      >;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioC 8 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index 394e6ce2afb7..9f04808fc697 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -570,6 +570,7 @@
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 174219de92fa..67e32067eb25 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -790,6 +790,7 @@
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand>;
>   			gpios = <&pioD 5 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 3d5faf85f51b..d075c5326ce7 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -1256,6 +1256,7 @@
>   			interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
>   			atmel,nand-addr-offset = <21>;
>   			atmel,nand-cmd-offset = <22>;
> +			atmel,nand-has-dma;
>   			pinctrl-names = "default";
>   			pinctrl-0 = <&pinctrl_nand0_ale_cle>;
>   			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;

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

end of thread, other threads:[~2014-02-12 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12 11:06 [PATCH] ARM: at91/DT: add NAND + DMA property Nicolas Ferre
2014-02-12 11:06 ` Nicolas Ferre
2014-02-12 11:30 ` Boris BREZILLON
2014-02-12 11:30   ` Boris BREZILLON

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.