From patchwork Thu Nov 3 18:19:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13030817 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECFB9C433FE for ; Thu, 3 Nov 2022 18:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yST53VqbT3KgpDjAaP06/d/QItK4Ox4ceplHM8NhQpg=; b=GD6X4KHm+TNM4f LhH8834lJ/sYTf0RRBfjUUUgGFXF6/9TYjkbEIcjkEOd6NKQlTjW4k0CD1lE26xnVQnjqhsFRqPiB 6QcucXaqFAkG3XhIB3oxC2Pgwf9UmQKTjwj8WQNPdoL6/YQX3Y4HEftRcGPAUaZVj7euyipGnvvvD PBLMlXu5iFPdtjiJeGIT7RUXedxNa3gD5wx+FHszFDBuHbTbxxsHGdQUIrvzMPjNoJBd1rJhd2VY2 GEmW+V5uOd13+Lc6229XYM+jWwYOoT3MRS9bf3jNB0UIUfaVO0R5fmWs1HCx/rmp+cu5T8QL2J4+C mspbpM1wfSHiwbvA3Tog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqeou-001EUk-4A; Thu, 03 Nov 2022 18:20:04 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqeoT-001ENK-Fp for linux-arm-kernel@lists.infradead.org; Thu, 03 Nov 2022 18:19:39 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9D37584BE3; Thu, 3 Nov 2022 19:19:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667499572; bh=qHxoiRYjjGE0+9fdHJw3IORE7Xgv7X/Mwffq4ISYzGk=; h=From:To:Cc:Subject:Date:From; b=ruq29GJtBEdQxaRIwGaiT8uTYQYF6Bybnf7GifEg2/IEtPhyeUPsWDTpOQ/Gb/5pe PgBf0hkxxMTs9Qs+k1lcD+V1hpupv2uRnzesBNvKBfH4h3SSF/VvMOGxFaisx0ISOg k5vSu/i6FCcNenPiwxRKpVy0yINR3x85V9fvEECeB0SzW6H3dkNZmjtKaqvZwpvsGR nZV93A2PTnElA2PRn20ep0yOrLB1Y4Nq37SVikMZx1bx//GgsVDIaDEKVM/c8rYihu f54WsJQi5DhGuc2pIFeIRXaFyF1UbFnoKf1celofn786kLO4W0AsGMS/Su21INKlu+ t7gM5nI6WcfDA== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Adam Ford , Alexander Stein , Fabio Estevam , Joakim Zhang , Krzysztof Kozlowski , Laurent Pinchart , Lucas Stach , Markus Niebel , NXP Linux Team , Paul Elder , Peng Fan , Pengutronix Kernel Team , Richard Zhu , Rob Herring , Sascha Hauer , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: imx8mq: Swap SAI DMA order Date: Thu, 3 Nov 2022 19:19:18 +0100 Message-Id: <20221103181920.95736-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221103_111937_869767_36810EF5 X-CRM114-Status: GOOD ( 11.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- Cc: Adam Ford Cc: Alexander Stein Cc: Fabio Estevam Cc: Joakim Zhang Cc: Krzysztof Kozlowski Cc: Laurent Pinchart Cc: Lucas Stach Cc: Marek Vasut Cc: Markus Niebel Cc: NXP Linux Team Cc: Paul Elder Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Richard Zhu Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: Tim Harvey Cc: devicetree@vger.kernel.org To: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index c47e2d7235d3e..f00b040ca03e9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -345,8 +345,8 @@ sai1: sai@30010000 { <&clk IMX8MQ_CLK_SAI1_ROOT>, <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; clock-names = "bus", "mclk1", "mclk2", "mclk3"; - dmas = <&sdma2 8 24 0>, <&sdma1 9 24 0>; - dma-names = "rx", "tx"; + dmas = <&sdma1 9 24 0>, <&sdma2 8 24 0>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -359,8 +359,8 @@ sai6: sai@30030000 { <&clk IMX8MQ_CLK_SAI6_ROOT>, <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; clock-names = "bus", "mclk1", "mclk2", "mclk3"; - dmas = <&sdma2 4 24 0>, <&sdma2 5 24 0>; - dma-names = "rx", "tx"; + dmas = <&sdma2 5 24 0>, <&sdma2 4 24 0>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -373,8 +373,8 @@ sai5: sai@30040000 { <&clk IMX8MQ_CLK_SAI5_ROOT>, <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; clock-names = "bus", "mclk1", "mclk2", "mclk3"; - dmas = <&sdma2 2 24 0>, <&sdma2 3 24 0>; - dma-names = "rx", "tx"; + dmas = <&sdma2 3 24 0>, <&sdma2 2 24 0>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -387,8 +387,8 @@ sai4: sai@30050000 { <&clk IMX8MQ_CLK_SAI4_ROOT>, <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; clock-names = "bus", "mclk1", "mclk2", "mclk3"; - dmas = <&sdma2 0 24 0>, <&sdma2 1 24 0>; - dma-names = "rx", "tx"; + dmas = <&sdma2 1 24 0>, <&sdma2 0 24 0>; + dma-names = "tx", "rx"; status = "disabled"; };