From patchwork Tue Feb 25 12:07:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 13989971 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 F358BC021B2 for ; Tue, 25 Feb 2025 12:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YZFp+4mX/xLepMshbn1qluOh6HrQWjdEFpUwqel3Ws8=; b=j02Ekt1Vm2xE5MXK660IoK9Fih aWJHlPnP62c+2GXCFTpyibtIHOxBRAZGyepN3Ox6kBObdX28vOXjbC8VEncrzn0WHi/kxJlwnohtI QiiQquEylegW9t6evV4lMUHzLmqzUIzMtCyyXN0p0j2/0+BGJCgorEV1hcOzqmbFYPfnndKvrorMH ayZVcu8Zh+E/sQcynyS7haDkxbh9sz+conggSZc4USd07mOSNZUsOlO/h7Es/K18JH4f1Q3N5Lp63 nmgK1biCPol8vuYQdc/HMYs8679S/dnrypKODPQF0zNe94d/DRx/aXQ2HzAKorIrb8zlZHjccnbzl w1nygJuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tmuQa-0000000HGeP-2Y17; Tue, 25 Feb 2025 12:52:48 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tmtit-0000000H9X6-0GOh for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2025 12:07:40 +0000 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tmtig-00055V-2R; Tue, 25 Feb 2025 13:07:26 +0100 From: Marco Felsch To: "robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, Sascha Hauer" Cc: kernel@pengutronix.de, krzk@kernel.org, aford173@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: imx8mm: fix micfil dmas settings Date: Tue, 25 Feb 2025 13:07:06 +0100 Message-Id: <20250225120707.2658709-3-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250225120707.2658709-1-m.felsch@pengutronix.de> References: <20250225120707.2658709-1-m.felsch@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250225_040739_127230_2E364490 X-CRM114-Status: GOOD ( 12.58 ) 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 The third dma cell is used for priority information not to encode something else. The NXP downstream kernel use the third cell to encode more information: - Bit31: sw_done feature enable/disable - Bit15~Bit8: selector - Bit7~Bit0: priority level but this was never mainlined. Therefore drop the further information and just specify the priority which is 0. FTR: The sw_done feature was mainlined without making use of the devicetree. Fixes: 3bd0788c43d9 ("arm64: dts: imx8mm: Add support for micfil") Signed-off-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 4de3bf22902b..88e6a75e6c86 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -397,7 +397,7 @@ micfil: audio-controller@30080000 { <&clk IMX8MM_CLK_EXT3>; clock-names = "ipg_clk", "ipg_clk_app", "pll8k", "pll11k", "clkext3"; - dmas = <&sdma2 24 25 0x80000000>; + dmas = <&sdma2 24 25 0>; dma-names = "rx"; #sound-dai-cells = <0>; status = "disabled";