2015-08-21 16:33:14

by Moritz Fischer

[permalink] [raw]
Subject: [PATCH] doc: dt: Add interrupt parent to Xilinx AXI DMA instantation example.

This patch adds 'interrupt-parent' properties to the instantation example in
the docs for the devicetree bindings of the Xilinx AXI DMA driver.

Signed-off-by: Moritz Fischer <[email protected]>
---
Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
index 2291c40..7c956e9 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
+++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
@@ -19,6 +19,7 @@ Required child node properties:
- compatible: It should be either "xlnx,axi-dma-mm2s-channel" or
"xlnx,axi-dma-s2mm-channel".
- interrupts: Should contain per channel DMA interrupts.
+- interrupt-parent: Should contain interrupt parent.
- xlnx,datawidth: Should contain the stream data width, take values
{32,64...1024}.

@@ -36,11 +37,13 @@ axi_dma_0: axidma@40400000 {
dma-channel@40400000 {
compatible = "xlnx,axi-dma-mm2s-channel";
interrupts = < 0 59 4 >;
+ interrupt-parent = <&intc>;
xlnx,datawidth = <0x40>;
} ;
dma-channel@40400030 {
compatible = "xlnx,axi-dma-s2mm-channel";
interrupts = < 0 58 4 >;
+ interrupt-parent = <&intc>;
xlnx,datawidth = <0x40>;
} ;
} ;
--
2.4.3


2015-08-24 06:42:44

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] doc: dt: Add interrupt parent to Xilinx AXI DMA instantation example.

On 08/21/2015 06:32 PM, Moritz Fischer wrote:
> This patch adds 'interrupt-parent' properties to the instantation example in
> the docs for the devicetree bindings of the Xilinx AXI DMA driver.
>
> Signed-off-by: Moritz Fischer <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
> index 2291c40..7c956e9 100644
> --- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
> +++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
> @@ -19,6 +19,7 @@ Required child node properties:
> - compatible: It should be either "xlnx,axi-dma-mm2s-channel" or
> "xlnx,axi-dma-s2mm-channel".
> - interrupts: Should contain per channel DMA interrupts.
> +- interrupt-parent: Should contain interrupt parent.
> - xlnx,datawidth: Should contain the stream data width, take values
> {32,64...1024}.
>
> @@ -36,11 +37,13 @@ axi_dma_0: axidma@40400000 {
> dma-channel@40400000 {
> compatible = "xlnx,axi-dma-mm2s-channel";
> interrupts = < 0 59 4 >;
> + interrupt-parent = <&intc>;
> xlnx,datawidth = <0x40>;
> } ;
> dma-channel@40400030 {
> compatible = "xlnx,axi-dma-s2mm-channel";
> interrupts = < 0 58 4 >;
> + interrupt-parent = <&intc>;
> xlnx,datawidth = <0x40>;
> } ;
> } ;
>

Acked-by: Michal Simek <[email protected]>

Thanks,
Michal