mtd: nand: pxa3xx: add optional dma for pxa architecture
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 30 Aug 2015 19:44:12 +0000 (21:44 +0200)
committerRob Herring <robh@kernel.org>
Tue, 1 Sep 2015 13:18:12 +0000 (08:18 -0500)
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>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt

index 4f833e3c4f516e90747865fefb7de633e240f6c3..d9b655f110489ba0be1877d6b0338066a1a767a6 100644 (file)
@@ -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;