diff mbox

mtd: nand: pxa3xx: add optional dma for pxa architecture

Message ID 1440963852-17936-1-git-send-email-robert.jarzmik@free.fr
State Accepted, archived
Commit 9d6f85d9fe422aa42f3f337872050fb2a30cd430
Headers show

Commit Message

Robert Jarzmik Aug. 30, 2015, 7:44 p.m. UTC
The PXA architecture provides a DMA to pump data from the nand
controller to memory and the other way around. Add it to the binding
description.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring Sept. 1, 2015, 1:16 p.m. UTC | #1
On Sun, Aug 30, 2015 at 2:44 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> The PXA architecture provides a DMA to pump data from the nand
> controller to memory and the other way around. Add it to the binding
> description.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>

Applied. Thanks.

Rob

> ---
>  Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
> index 4f833e3c4f51..d9b655f11048 100644
> --- a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
> +++ b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
> @@ -11,6 +11,7 @@ Required properties:
>
>  Optional properties:
>
> + - dmas:                       dma data channel, see dma.txt binding doc
>   - marvell,nand-enable-arbiter:        Set to enable the bus arbiter
>   - marvell,nand-keep-config:   Set to keep the NAND controller config as set
>                                 by the bootloader
> @@ -32,6 +33,8 @@ Example:
>                 compatible = "marvell,pxa3xx-nand";
>                 reg = <0x43100000 90>;
>                 interrupts = <45>;
> +               dmas = <&pdma 97 0>;
> +               dma-names = "data";
>                 #address-cells = <1>;
>
>                 marvell,nand-enable-arbiter;
> --
> 2.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
index 4f833e3c4f51..d9b655f11048 100644
--- a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt
@@ -11,6 +11,7 @@  Required properties:
 
 Optional properties:
 
+ - dmas:			dma data channel, see dma.txt binding doc
  - marvell,nand-enable-arbiter:	Set to enable the bus arbiter
  - marvell,nand-keep-config:	Set to keep the NAND controller config as set
 				by the bootloader
@@ -32,6 +33,8 @@  Example:
 		compatible = "marvell,pxa3xx-nand";
 		reg = <0x43100000 90>;
 		interrupts = <45>;
+		dmas = <&pdma 97 0>;
+		dma-names = "data";
 		#address-cells = <1>;
 
 		marvell,nand-enable-arbiter;