* [v12 1/3] arm: dts: ls1021a: add qdma device tree nodes
@ 2018-12-06 11:18 Peng Ma
2018-12-06 11:18 ` [PATCH 2/3] arm64: dts: ls1043a: " Peng Ma
2018-12-06 11:18 ` [PATCH 3/3] arm64: dts: ls1046a: " Peng Ma
0 siblings, 2 replies; 6+ messages in thread
From: Peng Ma @ 2018-12-06 11:18 UTC (permalink / raw)
To: vkoul, shawnguo
Cc: leoyang.li, robh+dt, mark.rutland, linux-arm-kernel, devicetree,
linux-kernel, Peng Ma, Wen He
add the qDMA device tree nodes for LS1021A devices.
Signed-off-by: Wen He <wen.he_1@nxp.com>
Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
change in v12:
- no
arch/arm/boot/dts/ls1021a.dtsi | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index bdd6e66..b3d7807 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -812,5 +812,25 @@
#size-cells = <1>;
ranges = <0x0 0x0 0x10010000 0x10000>;
};
+
+ qdma: dma-controller@8390000 {
+ compatible = "fsl,ls1021a-qdma";
+ reg = <0x0 0x8388000 0x0 0x1000>, /* Controller regs */
+ <0x0 0x8389000 0x0 0x1000>, /* Status regs */
+ <0x0 0x838a000 0x0 0x2000>; /* Block regs */
+ interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "qdma-error",
+ "qdma-queue0", "qdma-queue1";
+ dma-channels = <8>;
+ block-number = <1>;
+ block-offset = <0x1000>;
+ fsl,dma-queues = <2>;
+ status-sizes = <64>;
+ queue-sizes = <64 64>;
+ big-endian;
+ };
+
};
};
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] arm64: dts: ls1043a: add qdma device tree nodes
2018-12-06 11:18 [v12 1/3] arm: dts: ls1021a: add qdma device tree nodes Peng Ma
@ 2018-12-06 11:18 ` Peng Ma
2018-12-06 11:18 ` [PATCH 3/3] arm64: dts: ls1046a: " Peng Ma
1 sibling, 0 replies; 6+ messages in thread
From: Peng Ma @ 2018-12-06 11:18 UTC (permalink / raw)
To: vkoul, shawnguo
Cc: leoyang.li, robh+dt, mark.rutland, linux-arm-kernel, devicetree,
linux-kernel, Peng Ma, Wen He
add the qDMA device tree nodes for LS1043A devices.
Signed-off-by: Wen He <wen.he_1@nxp.com>
Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
change in v12:
- used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate
number
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index 3fed504..23b78df 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -734,6 +734,28 @@
<0000 0 0 3 &gic 0 156 0x4>,
<0000 0 0 4 &gic 0 157 0x4>;
};
+
+ qdma: dma-controller@8380000 {
+ compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma";
+ reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
+ <0x0 0x8390000 0x0 0x10000>, /* Status regs */
+ <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
+ interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "qdma-error", "qdma-queue0",
+ "qdma-queue1", "qdma-queue2", "qdma-queue3";
+ dma-channels = <8>;
+ block-number = <1>;
+ block-offset = <0x10000>;
+ fsl,dma-queues = <2>;
+ status-sizes = <64>;
+ queue-sizes = <64 64>;
+ big-endian;
+ };
+
};
firmware {
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes
2018-12-06 11:18 [v12 1/3] arm: dts: ls1021a: add qdma device tree nodes Peng Ma
2018-12-06 11:18 ` [PATCH 2/3] arm64: dts: ls1043a: " Peng Ma
@ 2018-12-06 11:18 ` Peng Ma
2018-12-14 10:30 ` Peng Ma
1 sibling, 1 reply; 6+ messages in thread
From: Peng Ma @ 2018-12-06 11:18 UTC (permalink / raw)
To: vkoul, shawnguo
Cc: leoyang.li, robh+dt, mark.rutland, linux-arm-kernel, devicetree,
linux-kernel, Peng Ma, Wen He
add the qDMA device tree nodes for LS1046A devices.
Signed-off-by: Wen He <wen.he_1@nxp.com>
Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
change in v12:
- used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate
number
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 51cbd50..8fcce79 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -704,6 +704,27 @@
<0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
};
+ qdma: dma-controller@8380000 {
+ compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
+ reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
+ <0x0 0x8390000 0x0 0x10000>, /* Status regs */
+ <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
+ interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "qdma-error", "qdma-queue0",
+ "qdma-queue1", "qdma-queue2", "qdma-queue3";
+ dma-channels = <8>;
+ block-number = <1>;
+ block-offset = <0x10000>;
+ fsl,dma-queues = <2>;
+ status-sizes = <64>;
+ queue-sizes = <64 64>;
+ big-endian;
+ };
+
};
reserved-memory {
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* RE: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes
2018-12-06 11:18 ` [PATCH 3/3] arm64: dts: ls1046a: " Peng Ma
@ 2018-12-14 10:30 ` Peng Ma
2018-12-16 7:43 ` Shawn Guo
0 siblings, 1 reply; 6+ messages in thread
From: Peng Ma @ 2018-12-14 10:30 UTC (permalink / raw)
To: Peng Ma, vkoul@kernel.org, shawnguo@kernel.org
Cc: Leo Li, robh+dt@kernel.org, mark.rutland@arm.com,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Wen He
Hi shawnguo,
I send this series patch to http://patchwork.ozlabs.org/project/devicetree-bindings/list/
But I did not find patchs on devicetree patchwork, could I send patchs again.
Thanks.
Best Regards,
Peng
>-----Original Message-----
>From: Peng Ma <peng.ma@nxp.com>
>Sent: 2018年12月6日 19:18
>To: vkoul@kernel.org; shawnguo@kernel.org
>Cc: Leo Li <leoyang.li@nxp.com>; robh+dt@kernel.org;
>mark.rutland@arm.com; linux-arm-kernel@lists.infradead.org;
>devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Peng Ma
><peng.ma@nxp.com>; Wen He <wen.he_1@nxp.com>
>Subject: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes
>
>add the qDMA device tree nodes for LS1046A devices.
>
>Signed-off-by: Wen He <wen.he_1@nxp.com>
>Signed-off-by: Peng Ma <peng.ma@nxp.com>
>---
>change in v12:
> - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate
> number
>
> arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21
>+++++++++++++++++++++
> 1 files changed, 21 insertions(+), 0 deletions(-)
>
>diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
>b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
>index 51cbd50..8fcce79 100644
>--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
>+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
>@@ -704,6 +704,27 @@
> <0000 0 0 4 &gic GIC_SPI 154
>IRQ_TYPE_LEVEL_HIGH>;
> };
>
>+ qdma: dma-controller@8380000 {
>+ compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
>+ reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
>+ <0x0 0x8390000 0x0 0x10000>, /* Status regs */
>+ <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
>+ interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
>+ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
>+ <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
>+ <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
>+ <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
>+ interrupt-names = "qdma-error", "qdma-queue0",
>+ "qdma-queue1", "qdma-queue2", "qdma-queue3";
>+ dma-channels = <8>;
>+ block-number = <1>;
>+ block-offset = <0x10000>;
>+ fsl,dma-queues = <2>;
>+ status-sizes = <64>;
>+ queue-sizes = <64 64>;
>+ big-endian;
>+ };
>+
> };
>
> reserved-memory {
>--
>1.7.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes
2018-12-14 10:30 ` Peng Ma
@ 2018-12-16 7:43 ` Shawn Guo
0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2018-12-16 7:43 UTC (permalink / raw)
To: Peng Ma
Cc: vkoul@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org, Wen He, linux-kernel@vger.kernel.org,
Leo Li, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org
On Fri, Dec 14, 2018 at 10:30:15AM +0000, Peng Ma wrote:
> Hi shawnguo,
>
> I send this series patch to http://patchwork.ozlabs.org/project/devicetree-bindings/list/
> But I did not find patchs on devicetree patchwork, could I send patchs again.
You do not need to. I have sent the series for 4.21 inclusion. I
forgot to reply and let you know. Sorry.
Shawn
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes
@ 2018-12-16 13:51 Peng Ma
0 siblings, 0 replies; 6+ messages in thread
From: Peng Ma @ 2018-12-16 13:51 UTC (permalink / raw)
To: Shawn Guo
Cc: vkoul@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org, Wen He, linux-kernel@vger.kernel.org,
Leo Li, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
OK, Got it, Thanks very much.
Best Regards,
Peng
<https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=peng.ma&uid=peng.ma%40nxp.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22%E9%82%AE%E7%AE%B1peng.ma%40nxp.com%22%5D>
[https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png]
peng.ma
邮箱peng.ma@nxp.com
签名由 网易邮箱大师<https://mail.163.com/dashi/dlpro.html?from=mail88> 定制
On 12/16/2018 15:45, Shawn Guo<mailto:shawnguo@kernel.org> wrote:
On Fri, Dec 14, 2018 at 10:30:15AM +0000, Peng Ma wrote:
> Hi shawnguo,
>
> I send this series patch to https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatchwork.ozlabs.org%2Fproject%2Fdevicetree-bindings%2Flist%2F&data=02%7C01%7Cpeng.ma%40nxp.com%7Caee2c0d17a174b69a38408d6632a6785%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636805431110753331&sdata=hxxSlCQp%2Fa48J0zaz2oZ8u9qp%2By%2B%2BymOD9l5%2FYLrQPU%3D&reserved=0
> But I did not find patchs on devicetree patchwork, could I send patchs again.
You do not need to. I have sent the series for 4.21 inclusion. I
forgot to reply and let you know. Sorry.
Shawn
[-- Attachment #2: Type: text/html, Size: 4253 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-12-16 13:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-06 11:18 [v12 1/3] arm: dts: ls1021a: add qdma device tree nodes Peng Ma
2018-12-06 11:18 ` [PATCH 2/3] arm64: dts: ls1043a: " Peng Ma
2018-12-06 11:18 ` [PATCH 3/3] arm64: dts: ls1046a: " Peng Ma
2018-12-14 10:30 ` Peng Ma
2018-12-16 7:43 ` Shawn Guo
-- strict thread matches above, loose matches on Subject: below --
2018-12-16 13:51 Peng Ma
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).