public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ls1046a: add qdma device tree node
@ 2016-11-15  3:24 hongbo.zhang at nxp.com
  2016-11-15  5:23 ` H.B. Zhang
  2016-12-30  0:46 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: hongbo.zhang at nxp.com @ 2016-11-15  3:24 UTC (permalink / raw)
  To: linux-arm-kernel

From: Hongbo Zhang <hongbo.zhang@nxp.com>

The drivers/dma/fsl-qdma.c works for ls1046a too, this patch adds
device tree node for it.

Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 38806ca..6edf7cf 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -511,5 +511,19 @@
 			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen 4 1>;
 		};
+
+		qdma: qdma at 8380000 {
+			compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
+			reg = <0x0 0x838f000 0x0 0x11000 /* Controller regs */
+			       0x0 0x83a0000 0x0 0x40000>; /* Block regs */
+			interrupts = <0 152 0x4>,
+				     <0 39 0x4>;
+			interrupt-names = "qdma-error", "qdma-queue";
+			channels = <8>;
+			queues = <2>;
+			status-sizes = <64>;
+			queue-sizes = <64 64>;
+			big-endian;
+		};
 	};
 };
-- 
2.1.4

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

* [PATCH] arm64: dts: ls1046a: add qdma device tree node
  2016-11-15  3:24 [PATCH] arm64: dts: ls1046a: add qdma device tree node hongbo.zhang at nxp.com
@ 2016-11-15  5:23 ` H.B. Zhang
  2016-12-30  0:46 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: H.B. Zhang @ 2016-11-15  5:23 UTC (permalink / raw)
  To: linux-arm-kernel

This patch is against the latest linux-next, and the binding file is being upstreamed by the qdma driver author Yuan Yao, so it isn't include in this patch.

> -----Original Message-----
> From: hongbo.zhang at nxp.com [mailto:hongbo.zhang at nxp.com]
> Sent: Tuesday, November 15, 2016 11:25 AM
> To: linux-arm-kernel at lists.infradead.org; Yao Yuan <yao.yuan@nxp.com>;
> shawnguo at kernel.org
> Cc: H.B. Zhang <hongbo.zhang@nxp.com>
> Subject: [PATCH] arm64: dts: ls1046a: add qdma device tree node
> 
> From: Hongbo Zhang <hongbo.zhang@nxp.com>
> 
> The drivers/dma/fsl-qdma.c works for ls1046a too, this patch adds
> device tree node for it.
> 
> Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 38806ca..6edf7cf 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -511,5 +511,19 @@
>  			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
>  			clocks = <&clockgen 4 1>;
>  		};
> +
> +		qdma: qdma at 8380000 {
> +			compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
> +			reg = <0x0 0x838f000 0x0 0x11000 /* Controller regs */
> +			       0x0 0x83a0000 0x0 0x40000>; /* Block regs */
> +			interrupts = <0 152 0x4>,
> +				     <0 39 0x4>;
> +			interrupt-names = "qdma-error", "qdma-queue";
> +			channels = <8>;
> +			queues = <2>;
> +			status-sizes = <64>;
> +			queue-sizes = <64 64>;
> +			big-endian;
> +		};
>  	};
>  };
> --
> 2.1.4
> 

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

* [PATCH] arm64: dts: ls1046a: add qdma device tree node
  2016-11-15  3:24 [PATCH] arm64: dts: ls1046a: add qdma device tree node hongbo.zhang at nxp.com
  2016-11-15  5:23 ` H.B. Zhang
@ 2016-12-30  0:46 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2016-12-30  0:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 15, 2016 at 11:24:37AM +0800, hongbo.zhang at nxp.com wrote:
> From: Hongbo Zhang <hongbo.zhang@nxp.com>
> 
> The drivers/dma/fsl-qdma.c works for ls1046a too, this patch adds

I cannot find this driver on v4.10-rc1.  Please send me DTS changes only
after the driver and bindings part land on mainline.

Shawn

> device tree node for it.
> 
> Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 38806ca..6edf7cf 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -511,5 +511,19 @@
>  			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
>  			clocks = <&clockgen 4 1>;
>  		};
> +
> +		qdma: qdma at 8380000 {
> +			compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
> +			reg = <0x0 0x838f000 0x0 0x11000 /* Controller regs */
> +			       0x0 0x83a0000 0x0 0x40000>; /* Block regs */
> +			interrupts = <0 152 0x4>,
> +				     <0 39 0x4>;
> +			interrupt-names = "qdma-error", "qdma-queue";
> +			channels = <8>;
> +			queues = <2>;
> +			status-sizes = <64>;
> +			queue-sizes = <64 64>;
> +			big-endian;
> +		};
>  	};
>  };
> -- 
> 2.1.4
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2016-12-30  0:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-15  3:24 [PATCH] arm64: dts: ls1046a: add qdma device tree node hongbo.zhang at nxp.com
2016-11-15  5:23 ` H.B. Zhang
2016-12-30  0:46 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox