Skip to contentSkip to conversation

arm64: dts: ls1046a: add qdma device tree node

PATCH New hongbo.zhang at nxp.com 2 participants 3 messages Nov 15, 2016 – Dec 30, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ls1046a: add qdma device tree node

From: Hongbo Zhang <[email protected]>

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

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +14 -0
index 38806ca..6edf7cf 100644
@@ -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;
+		};
 	};
 };
Signature · 1 line
2.1.4
author
#1 lore raw

PATCH 1/1 arm64: dts: ls1046a: add qdma device tree node

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.

Quoted 46 lines

-----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 <[email protected]>; shawnguo at kernel.org
Cc: H.B. Zhang <[email protected]>
Subject: [PATCH] arm64: dts: ls1046a: add qdma device tree node

From: Hongbo Zhang <[email protected]>

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

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +14 -1
index 38806ca..6edf7cf 100644
@@ -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

#2 lore raw

PATCH 1/1 arm64: dts: ls1046a: add qdma device tree node

In reply to hongbo.zhang at nxp.com
Quoted 3 lines · hongbo.zhang at nxp.com

From: Hongbo Zhang <[email protected]>

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

Quoted 40 lines

device tree node for it.

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +14 -0
index 38806ca..6edf7cf 100644
@@ -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;
+		};
 	};
 };
Signature · 8 lines
2.1.4



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel