From patchwork Tue Feb 25 12:07:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 13989970 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 20DB0C021B2 for ; Tue, 25 Feb 2025 12:51:22 +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=YpsTlwcICJfX9Gsv+WVOr167OvaPwidQ959L6ncuKK4=; b=4b5pEDvt1gttJW02qrqYqVt4SH H8HVkSf3VN8V0Pepy0nVjQpiTe5M3AmK+d4av/ERyuXAVupv2ClyQu/t3e2f9Mg/+nGQKuyelk2+l JfaFSnQTCaqieFqC9s+IyTc55e3MbhhyK3Uy/HbmbC/26+5+WtjsTWEGB4qAkHsUqTcMPqmES9mx+ ceQKtZPaXw5ZsMGdRkPRghnPy3S+BVD1bYHOOe0QxqCcYZVgNWpmbAnYZtP661KGlveNfTB38pCon q9OJLfUSrgT4blXXJ0xkf+1jTQFry55TpZoONfJX58IH5FRZv0sIwaa6W68x8ztfQ+/ihAhnWhERT SPakTDvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tmuP3-0000000HG8P-46kZ; Tue, 25 Feb 2025 12:51:13 +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 1tmtir-0000000H9WB-30AP for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2025 12:07:39 +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 1tmtie-00055V-WB; Tue, 25 Feb 2025 13:07:25 +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, aford173@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: imx8mp: fix micfil dmas settings Date: Tue, 25 Feb 2025 13:07:05 +0100 Message-Id: <20250225120707.2658709-2-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_040737_756604_1C33CCC2 X-CRM114-Status: GOOD ( 12.16 ) 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: 5c6d04e48197 ("arm64: dts: imx8mp: Add micfil node") Signed-off-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index e0d3b8cba221..af51f1caa71a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1544,7 +1544,7 @@ micfil: audio-controller@30ca0000 { <&clk IMX8MP_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"; status = "disabled"; };