From: Frank Li <Frank.li@nxp.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v2 01/12] arm64: dts: imx93: use FSL_EDMA_RX for rx channel
Date: Fri, 19 Apr 2024 10:26:38 -0400 [thread overview]
Message-ID: <ZiJ/Ho/tjjoAehoa@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20240419-imx93-dts-4-13-v2-1-9076e1d7d399@nxp.com>
On Fri, Apr 19, 2024 at 11:36:56AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Use FSL_EDMA_RX for dma rx channel bitmask, which is intuitive.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx93.dtsi | 25 +++++++++++++------------
> 1 file changed, 13 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index b8ef9b938856..42bbe491a29b 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -4,6 +4,7 @@
> */
>
> #include <dt-bindings/clock/imx93-clock.h>
> +#include <dt-bindings/dma/fsl-edma.h>
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/input/input.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> @@ -361,7 +362,7 @@ lpuart1: serial@44380000 {
> interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART1_GATE>;
> clock-names = "ipg";
> - dmas = <&edma1 17 0 1>, <&edma1 16 0 0>;
> + dmas = <&edma1 17 0 FSL_EDMA_RX>, <&edma1 16 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -372,7 +373,7 @@ lpuart2: serial@44390000 {
> interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART2_GATE>;
> clock-names = "ipg";
> - dmas = <&edma1 19 0 1>, <&edma1 18 0 0>;
> + dmas = <&edma1 19 0 FSL_EDMA_RX>, <&edma1 18 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -400,7 +401,7 @@ sai1: sai@443b0000 {
> <&clk IMX93_CLK_SAI1_GATE>, <&clk IMX93_CLK_DUMMY>,
> <&clk IMX93_CLK_DUMMY>;
> clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
> - dmas = <&edma1 22 0 1>, <&edma1 21 0 0>;
> + dmas = <&edma1 22 0 FSL_EDMA_RX>, <&edma1 21 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -737,7 +738,7 @@ lpuart3: serial@42570000 {
> interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART3_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 18 0 1>, <&edma2 17 0 0>;
> + dmas = <&edma2 18 0 FSL_EDMA_RX>, <&edma2 17 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -748,7 +749,7 @@ lpuart4: serial@42580000 {
> interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART4_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 20 0 1>, <&edma2 19 0 0>;
> + dmas = <&edma2 20 0 FSL_EDMA_RX>, <&edma2 19 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -759,7 +760,7 @@ lpuart5: serial@42590000 {
> interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART5_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 22 0 1>, <&edma2 21 0 0>;
> + dmas = <&edma2 22 0 FSL_EDMA_RX>, <&edma2 21 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -770,7 +771,7 @@ lpuart6: serial@425a0000 {
> interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART6_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 24 0 1>, <&edma2 23 0 0>;
> + dmas = <&edma2 24 0 FSL_EDMA_RX>, <&edma2 23 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -813,7 +814,7 @@ sai2: sai@42650000 {
> <&clk IMX93_CLK_SAI2_GATE>, <&clk IMX93_CLK_DUMMY>,
> <&clk IMX93_CLK_DUMMY>;
> clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
> - dmas = <&edma2 59 0 1>, <&edma2 58 0 0>;
> + dmas = <&edma2 59 0 FSL_EDMA_RX>, <&edma2 58 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -826,7 +827,7 @@ sai3: sai@42660000 {
> <&clk IMX93_CLK_SAI3_GATE>, <&clk IMX93_CLK_DUMMY>,
> <&clk IMX93_CLK_DUMMY>;
> clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
> - dmas = <&edma2 61 0 1>, <&edma2 60 0 0>;
> + dmas = <&edma2 61 0 FSL_EDMA_RX>, <&edma2 60 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -845,7 +846,7 @@ xcvr: xcvr@42680000 {
> <&clk IMX93_CLK_DUMMY>,
> <&clk IMX93_CLK_AUD_XCVR_GATE>;
> clock-names = "ipg", "phy", "spba", "pll_ipg";
> - dmas = <&edma2 65 0 1>, <&edma2 66 0 0>;
> + dmas = <&edma2 65 0 FSL_EDMA_RX>, <&edma2 66 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -856,7 +857,7 @@ lpuart7: serial@42690000 {
> interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART7_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 88 0 1>, <&edma2 87 0 0>;
> + dmas = <&edma2 88 0 FSL_EDMA_RX>, <&edma2 87 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
> @@ -867,7 +868,7 @@ lpuart8: serial@426a0000 {
> interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk IMX93_CLK_LPUART8_GATE>;
> clock-names = "ipg";
> - dmas = <&edma2 90 0 1>, <&edma2 89 0 0>;
> + dmas = <&edma2 90 0 FSL_EDMA_RX>, <&edma2 89 0 0>;
> dma-names = "rx", "tx";
> status = "disabled";
> };
>
> --
> 2.37.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2024-04-19 14:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 3:36 [PATCH v2 00/12] arm64: dts: imx93: various update Peng Fan (OSS)
2024-04-19 3:36 ` [PATCH v2 01/12] arm64: dts: imx93: use FSL_EDMA_RX for rx channel Peng Fan (OSS)
2024-04-19 14:26 ` Frank Li [this message]
2024-04-19 3:36 ` [PATCH v2 02/12] arm64: dts: imx93: add dma support for lpi2c[1..8] Peng Fan (OSS)
2024-04-19 14:27 ` Frank Li
2024-04-19 3:36 ` [PATCH v2 03/12] arm64: dts: imx93: add dma support for lpspi[1..8] Peng Fan (OSS)
2024-04-19 14:28 ` Frank Li
2024-04-19 3:36 ` [PATCH v2 04/12] arm64: dts: imx93: assign usdhc[1..3] root clock to 400MHz Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 05/12] arm64: dts: imx93: add nvmem property for fec1 Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 06/12] arm64: dts: imx93: add nvmem property for eqos Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 07/12] arm64: dts: imx93-11x11-evk: update resource table address Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 08/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for eqos and fec Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 09/12] arm64: dts: imx93-11x11-evk: add different usdhc pinctrl for different timing usage Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 10/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for sdhc2 Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 11/12] arm64: dts: imx93-11x11-evk: add reset gpios for ethernet PHYs Peng Fan (OSS)
2024-04-19 3:37 ` [PATCH v2 12/12] arm64: defconfig: build in OCOTP ELE Peng Fan (OSS)
2024-04-19 13:43 ` Krzysztof Kozlowski
2024-04-22 2:07 ` Peng Fan
2024-04-22 6:17 ` [PATCH v2 00/12] arm64: dts: imx93: various update Peng Fan
2024-04-25 7:03 ` Shawn Guo
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=ZiJ/Ho/tjjoAehoa@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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