linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: pxa3xx: add optional dma for pxa architecture
@ 2015-08-30 19:44 Robert Jarzmik
  2015-09-01 13:16 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Jarzmik @ 2015-08-30 19:44 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
  Cc: devicetree, linux-kernel, Robert Jarzmik

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(+)

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


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

* Re: [PATCH] mtd: nand: pxa3xx: add optional dma for pxa architecture
  2015-08-30 19:44 [PATCH] mtd: nand: pxa3xx: add optional dma for pxa architecture Robert Jarzmik
@ 2015-09-01 13:16 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2015-09-01 13:16 UTC (permalink / raw)
  To: Robert Jarzmik
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree, linux-kernel

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

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

end of thread, other threads:[~2015-09-01 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-30 19:44 [PATCH] mtd: nand: pxa3xx: add optional dma for pxa architecture Robert Jarzmik
2015-09-01 13:16 ` Rob Herring

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