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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F4D1C001DB for ; Mon, 14 Aug 2023 08:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233178AbjHNIYh convert rfc822-to-8bit (ORCPT ); Mon, 14 Aug 2023 04:24:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234918AbjHNIYb (ORCPT ); Mon, 14 Aug 2023 04:24:31 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F140A10F for ; Mon, 14 Aug 2023 01:24:08 -0700 (PDT) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVSrT-0002pB-V6; Mon, 14 Aug 2023 10:23:40 +0200 Message-ID: <96c29015f86c84722c08a7ab2272f1355d6042ce.camel@pengutronix.de> Subject: Re: [PATCH 2/2] arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock From: Lucas Stach To: Adam Ford , linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 14 Aug 2023 10:23:38 +0200 In-Reply-To: <20230813162906.22640-2-aford173@gmail.com> References: <20230813162906.22640-1-aford173@gmail.com> <20230813162906.22640-2-aford173@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: devicetree@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Am Sonntag, dem 13.08.2023 um 11:29 -0500 schrieb Adam Ford: > A previous patch removed the audio PLL configuration from the clk > node, which resulted in an incorrect clock rate when attempting > to playback audio. Fix this by setting the AUDIO_PLL2 rate inside > the SAI3 node since it's the SAI3 that needs it. > > Fixes: 16c984524862 ("arm64: dts: imx8mp: don't initialize audio clocks from CCM node") > Signed-off-by: Adam Ford Reviewed-by: Lucas Stach > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > index 06e91297fb16..acd265d8b58e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > @@ -381,9 +381,10 @@ &pcie_phy { > &sai3 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_sai3>; > - assigned-clocks = <&clk IMX8MP_CLK_SAI3>; > + assigned-clocks = <&clk IMX8MP_CLK_SAI3>, > + <&clk IMX8MP_AUDIO_PLL2> ; > assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>; > - assigned-clock-rates = <12288000>; > + assigned-clock-rates = <12288000>, <361267200>; > fsl,sai-mclk-direction-output; > status = "okay"; > };