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

Michal Simek michal.simek at xilinx.com
Sun Aug 23 23:42:27 PDT 2015


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 <moritz.fischer at ettus.com>
> ---
>  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 at 40400000 {
>  	dma-channel at 40400000 {
>  		compatible = "xlnx,axi-dma-mm2s-channel";
>  		interrupts = < 0 59 4 >;
> +		interrupt-parent = <&intc>;
>  		xlnx,datawidth = <0x40>;
>  	} ;
>  	dma-channel at 40400030 {
>  		compatible = "xlnx,axi-dma-s2mm-channel";
>  		interrupts = < 0 58 4 >;
> +		interrupt-parent = <&intc>;
>  		xlnx,datawidth = <0x40>;
>  	} ;
>  } ;
> 

Acked-by: Michal Simek <michal.simek at xilinx.com>

Thanks,
Michal



More information about the linux-arm-kernel mailing list