From mboxrd@z Thu Jan 1 00:00:00 1970 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 96A72C636D6 for ; Wed, 22 Feb 2023 18:01:13 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=COTBer5S0aZjCqE3DT/A+eaGo+DvsgX9DoeaH4MMJBg=; b=cN0Kv/uCez1+Uv WmjgH3XANluO3BJ4o9McgTxS8+Y/qpuqR+8zBoWn4g1StkrK9sP1hAqLjGnyGendAc+7lZbG6oDCE 1wMyiSFO2hfxNRKXet4Tf1VdCWkzyIfDcdb5izezAgLHXyLmuvu/xT2jBR97a9Ha7MClzqWPZ/qfc 76qqJBmxdX3SCn3qqial8kSm1wAHWqGK4Jb6O+pDbUzCo/a3JTmHILMqowkqWOKyyHjOD9upqisLY 4zS/bH87NphwFjjp/pdxQiN7zb2dp7y9cg02+sKOhsaNGltFuj1XYSrUg+O3xLQo/kfQ4JkeeLAKK b9RYe2mhSjG1E7SLpg2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUtPU-00DKXh-2p; Wed, 22 Feb 2023 18:00:08 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUtPP-00DKV9-Ir for linux-arm-kernel@lists.infradead.org; Wed, 22 Feb 2023 18:00:06 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUtP6-0002FR-9U; Wed, 22 Feb 2023 18:59:44 +0100 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1pUtP4-0002T7-0d; Wed, 22 Feb 2023 18:59:42 +0100 Date: Wed, 22 Feb 2023 18:59:41 +0100 From: Marco Felsch To: Luca Ceresoli Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Martyn Welch , Marek Vasut , devicetree@vger.kernel.org, Abel Vesa , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Laurent Pinchart , Thomas Petazzoni , Lucas Stach , linux-arm-kernel@lists.infradead.org, Jacky Bai Subject: Re: [PATCH] arm64: dts: imx8mp-msc-sm2s: Add sound card Message-ID: <20230222175941.7pdi7yg5am3ws4gp@pengutronix.de> References: <20230222182252.2ad6d82b@booty> <20230222172552.1545519-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230222172552.1545519-1-luca.ceresoli@bootlin.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.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-20230222_100003_636933_6167B833 X-CRM114-Status: GOOD ( 18.71 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Luca, On 23-02-22, Luca Ceresoli wrote: > The MSC SM2-MB-EP1 carrier board for the SM2S-IMX8PLUS SMARC module has an > NXPP SGTL5000 audio codec connected to I2S-0 (sai2). > > This requires to: > > * add the power supplies (always on) > * enable sai2 with pinmuxes > * reparent the CLKOUT1 clock that feeds the codec SYS_MCLK to > IMX8MP_CLK_24M in order it to generate an accurate 24 MHz rate > > Signed-off-by: Luca Ceresoli > --- > .../dts/freescale/imx8mp-msc-sm2s-ep1.dts | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts > index 470ff8e31e32..894d9809f76d 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts > @@ -14,6 +14,57 @@ / { > compatible = "avnet,sm2s-imx8mp-14N0600E-ep1", > "avnet,sm2s-imx8mp-14N0600E", "avnet,sm2s-imx8mp", > "fsl,imx8mp"; ... > +/* I2S-0 = sai2 */ > +&sai2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sai2>; > + > + assigned-clocks = <&clk IMX8MP_CLK_SAI2>; > + assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>; > + assigned-clock-rates = <12288000>; > + > + fsl,sai-mclk-direction-output; > + status = "okay"; > }; Do you have some downstream patches for the sai interfaces? AFAIR Marek worked on this but the patches are not mainlien yet. Regards, Marco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel