devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Marek Vasut <marex@denx.de>, Adam Ford <aford173@gmail.com>,
	Alexander Stein <alexander.stein@ew.tq-group.com>,
	Fabio Estevam <festevam@gmail.com>,
	Joakim Zhang <qiangqing.zhang@nxp.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Lucas Stach <l.stach@pengutronix.de>,
	Markus Niebel <Markus.Niebel@ew.tq-group.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Paul Elder <paul.elder@ideasonboard.com>,
	Peng Fan <peng.fan@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Richard Zhu <hongxing.zhu@nxp.com>,
	Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	Tim Harvey <tharvey@gateworks.com>,
	devicetree@vger.kernel.org
Subject: [PATCH 3/3] arm64: dts: imx8mn: Swap SAI DMA order
Date: Thu,  3 Nov 2022 19:19:20 +0100	[thread overview]
Message-ID: <20221103181920.95736-3-marex@denx.de> (raw)
In-Reply-To: <20221103181920.95736-1-marex@denx.de>

Swap the SAI dmas and dma-names to match the order documented in
Documentation/devicetree/bindings/sound/fsl-sai.txt
using the following regex:

"
s@\(dma[^=]\+= \)\([^,]\+\), \([^;]\+\);@\1\3, \2;
"

No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Adam Ford <aford173@gmail.com>
Cc: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Joakim Zhang <qiangqing.zhang@nxp.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Paul Elder <paul.elder@ideasonboard.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: devicetree@vger.kernel.org
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index 607c97009399e..fba9f5519daa7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -301,8 +301,8 @@ sai2: sai@30020000 {
 						<&clk IMX8MN_CLK_SAI2_ROOT>,
 						<&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
 					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
-					dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>;
-					dma-names = "rx", "tx";
+					dmas = <&sdma2 3 2 0>, <&sdma2 2 2 0>;
+					dma-names = "tx", "rx";
 					status = "disabled";
 				};
 
@@ -315,8 +315,8 @@ sai3: sai@30030000 {
 						 <&clk IMX8MN_CLK_SAI3_ROOT>,
 						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
 					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
-					dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>;
-					dma-names = "rx", "tx";
+					dmas = <&sdma2 5 2 0>, <&sdma2 4 2 0>;
+					dma-names = "tx", "rx";
 					status = "disabled";
 				};
 
@@ -329,8 +329,8 @@ sai5: sai@30050000 {
 						 <&clk IMX8MN_CLK_SAI5_ROOT>,
 						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
 					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
-					dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>;
-					dma-names = "rx", "tx";
+					dmas = <&sdma2 9 2 0>, <&sdma2 8 2 0>;
+					dma-names = "tx", "rx";
 					fsl,shared-interrupt;
 					fsl,dataline = <0 0xf 0xf>;
 					status = "disabled";
@@ -345,8 +345,8 @@ sai6: sai@30060000 {
 						 <&clk IMX8MN_CLK_SAI6_ROOT>,
 						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
 					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
-					dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>;
-					dma-names = "rx", "tx";
+					dmas = <&sdma2 11 2 0>, <&sdma2 10 2 0>;
+					dma-names = "tx", "rx";
 					status = "disabled";
 				};
 
@@ -402,8 +402,8 @@ sai7: sai@300b0000 {
 						 <&clk IMX8MN_CLK_SAI7_ROOT>,
 						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
 					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
-					dmas = <&sdma2 12 2 0>, <&sdma2 13 2 0>;
-					dma-names = "rx", "tx";
+					dmas = <&sdma2 13 2 0>, <&sdma2 12 2 0>;
+					dma-names = "tx", "rx";
 					status = "disabled";
 				};
 
-- 
2.35.1


  parent reply	other threads:[~2022-11-03 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 18:19 [PATCH 1/3] arm64: dts: imx8mq: Swap SAI DMA order Marek Vasut
2022-11-03 18:19 ` [PATCH 2/3] arm64: dts: imx8mm: " Marek Vasut
2022-11-03 18:19 ` Marek Vasut [this message]
2022-11-04  7:13 ` [PATCH 1/3] arm64: dts: imx8mq: " Alexander Stein

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=20221103181920.95736-3-marex@denx.de \
    --to=marex@denx.de \
    --cc=Markus.Niebel@ew.tq-group.com \
    --cc=aford173@gmail.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hongxing.zhu@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=l.stach@pengutronix.de \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=paul.elder@ideasonboard.com \
    --cc=peng.fan@nxp.com \
    --cc=qiangqing.zhang@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=tharvey@gateworks.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).