From: Frank Li <Frank.Li@nxp.com>
To: festevam@gmail.com
Cc: Frank.Li@nxp.com, clin@suse.com, conor+dt@kernel.org,
devicetree@vger.kernel.org, eagle.zhou@nxp.com,
imx@lists.linux.dev, joy.zou@nxp.com, kernel@pengutronix.de,
krzysztof.kozlowski+dt@linaro.org, leoyang.li@nxp.com,
linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com,
linux-kernel@vger.kernel.org, pierre.gondois@arm.com,
robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org,
shenwei.wang@nxp.com, sherry.sun@nxp.com
Subject: [PATCH v2 2/3] arm64: dts: imx93: add dma support for lpuart[1..9]
Date: Thu, 24 Aug 2023 12:39:21 -0400 [thread overview]
Message-ID: <20230824163922.2952403-5-Frank.Li@nxp.com> (raw)
In-Reply-To: <20230824163922.2952403-1-Frank.Li@nxp.com>
Add dma support for lpuart[1..9].
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index acdca18673b7..849543d35ed7 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -336,6 +336,8 @@ lpuart1: serial@44380000 {
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART1_GATE>;
clock-names = "ipg";
+ dmas = <&edma1 16 0 0>, <&edma1 17 0 1>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -345,6 +347,8 @@ lpuart2: serial@44390000 {
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART2_GATE>;
clock-names = "ipg";
+ dmas = <&edma1 18 0 0>, <&edma1 19 0 1>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -666,6 +670,8 @@ lpuart3: serial@42570000 {
interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART3_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 17 0 0>, <&edma2 18 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -675,6 +681,8 @@ lpuart4: serial@42580000 {
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART4_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 19 0 0>, <&edma2 20 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -684,6 +692,8 @@ lpuart5: serial@42590000 {
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART5_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 21 0 0>, <&edma2 22 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -693,6 +703,8 @@ lpuart6: serial@425a0000 {
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART6_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 23 0 0>, <&edma2 24 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -731,6 +743,8 @@ lpuart7: serial@42690000 {
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART7_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 87 0 0>, <&edma2 88 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -740,6 +754,8 @@ lpuart8: serial@426a0000 {
interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX93_CLK_LPUART8_GATE>;
clock-names = "ipg";
+ dmas = <&edma2 89 0 0>, <&edma2 90 0 1>;
+ dma-names = "tx","rx";
status = "disabled";
};
--
2.34.1
next prev parent reply other threads:[~2023-08-24 16:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 16:39 [PATCH v2 0/3] arm: dts: imx93: add edmav3 support Frank Li
2023-08-24 16:39 ` [PATCH v2 1/3] arm64: dts: imx93: add edma1 and edma2 Frank Li
2023-08-24 16:43 ` Krzysztof Kozlowski
2023-08-24 16:39 ` [PATCH v2 1/1] MAINTAINERS: Add entries for NXP(Freescale) eDMA drivers Frank Li
2023-08-24 16:39 ` [PATCH v2 2/3] arm64: dts: imx93: add dma support for lpuart[1..8] Frank Li
2023-08-24 16:39 ` Frank Li [this message]
2023-08-24 16:42 ` [PATCH v2 2/3] arm64: dts: imx93: add dma support for lpuart[1..9] Krzysztof Kozlowski
2023-08-24 16:39 ` [PATCH v2 3/3] arm64: dts: imx93-evk: add uart5 Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230824163922.2952403-5-Frank.Li@nxp.com \
--to=frank.li@nxp.com \
--cc=clin@suse.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eagle.zhou@nxp.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=joy.zou@nxp.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre.gondois@arm.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=shenwei.wang@nxp.com \
--cc=sherry.sun@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).