Message ID | 20230813162906.22640-2-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2299707vqi; Sun, 13 Aug 2023 10:21:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMrot184P57WA3oX+mYjOkEPd6EN8TW+VOpN/C4fnoLfqBCX8qqAxBhamXzH+3G4CDdVL4 X-Received: by 2002:a05:6a00:a8b:b0:64c:c5f9:1533 with SMTP id b11-20020a056a000a8b00b0064cc5f91533mr8177988pfl.33.1691947262383; Sun, 13 Aug 2023 10:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691947262; cv=none; d=google.com; s=arc-20160816; b=w+Bv0+1OgDHpT+ndGod93PNSvDS5+0VWgO8mRfs+fwFs1Z+5YmVYXUrCbmTZXPqcTo lag/yhOWp7tKibv/TAucb+CqIkUiFlRkgqTNVUmoTkULN0kqjYAWYCpp0V5N7mJHyRZ4 qujUey+NdvcFFqf+tiGbyCZsOj8s5HoQv2B60iz+2NfwtrqyYtxZ8SVXvS7Tq8hY8OxU qLyOXxmXCBKoGHb6n69xrY5wbMttHqDbheV7p5dPt4tg4MXCAwNUIZ5XEqmF4ViLUtgv eSIVXZLvhJU7IyBblTuql/J+Z1Kg8V4v1bGjAewzJf2Y5C+n5W8AJaJtcnBVoU5eH15O LP3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DA+ZWuyHKJYTTZUzLnuxcZhi2heRAd+OrRpIKUB1wiU=; fh=vnvlNkB3rmsHBF4zMwH+z9+4m0a2gqjhBN1phG+iw/s=; b=YN9Jds4Khgwp2azxyQW4sqAaZixU7vb6rAmh9N8PUrihFUbWKz8T0AIZdsnsAkMZ0f 0R3VNSauubmS6mIHxAyhJjLhUNH9UuPnnPRO/kHolzDefi93Oxe+31IM8MadTHBtLg4u +a9WeLe+gdhHHdNAqcEppPwtrh9p7ENRmLlHWTEFDMi/shfFVohQwuVqZeOxQb7QD0FS 0L+o4nl4k2D+UNbVfSjoGaqBd89dusNmmPHicrKar4vtLB74vevZyN36aGz52scTWgsQ S5EC3dSmKG4rDnZC6inSSPOKvlAOXK4qnhgH0VceehkD3LwW9KLyhvqNuLAM1BJNgeqB 9zEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=QdH9Yumw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi42-20020a056a0039aa00b00687e0216437si6765497pfb.215.2023.08.13.10.20.49; Sun, 13 Aug 2023 10:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=QdH9Yumw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232441AbjHMQ3j (ORCPT <rfc822;274620705z@gmail.com> + 99 others); Sun, 13 Aug 2023 12:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232282AbjHMQ32 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 13 Aug 2023 12:29:28 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE741BF7; Sun, 13 Aug 2023 09:29:15 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-34aa0866014so387735ab.1; Sun, 13 Aug 2023 09:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691944154; x=1692548954; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DA+ZWuyHKJYTTZUzLnuxcZhi2heRAd+OrRpIKUB1wiU=; b=QdH9YumwVmjEsIUbUB7j19JLn2O0caIdEoBwnQYJ7g7iEX4suyHTjp8FInDY3eVfHc 5unAcqep3MOSY1ww5GvIYAhVl71UQ4BzWJFTg5mtwaE07DmUigTZkLllphM/DJ7QRTnd DVooy5S9vRnswwuXVsH+ovxUnv77uFLb+/x4bE368aku0Ml/14fyyNeHKGyYxUt54ozu YoZJZvaEsei/kgZKom7bW5eUAArr2/0G9kTcZBGqP+y3SF7Z2IwO4yN44jmUIHJ8zeBR Jh4l7U2raS/yMEHmCoMyMgagCTTNjDPesnf3+g4owOcRNHTyFySQ7qP+1i8ATz216Yao wL6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691944154; x=1692548954; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DA+ZWuyHKJYTTZUzLnuxcZhi2heRAd+OrRpIKUB1wiU=; b=fJ4t/dVcO4R9c+mKOpWaEGqf3ImAzSkTh0QAvHoIMID0KaNrQHBhHaA7cBLHYMlgZj sTvsZUjFRBOhp8/mxrn/Lbbkud76HV69Pjz9GFFQo1J4ZdsIFsLs4GAwEXO1J/8jjCBF 7lUnSLaUBrDrFtexRTiAoAxIds0xQNGDtAdoA1aWRJEn3Dsc03JCNy2ZVJ88VyqM7svp D++mv8Oc79yPCGXRCtCZASWhCPQ8f55e/DtC1TEr2aJICEn4j3d5/MRYj3je13v06ry3 JPgZUoETZiQc82/29WPkb5q0gmoBcu35rOUbxh2ZFlvHv0coMVf7l19kclOvVVmWcy+z vxmw== X-Gm-Message-State: AOJu0YyIFE7zxzcBwf3hNIc7SdUsti97CLCyo3EtvhCl4ZgHHZmddKHG nA6GYIlJSal7766Qt/2orCQ= X-Received: by 2002:a05:6e02:1154:b0:348:8542:a673 with SMTP id o20-20020a056e02115400b003488542a673mr8750265ill.22.1691944154263; Sun, 13 Aug 2023 09:29:14 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:21ab:bc25:b29c:7b7e]) by smtp.gmail.com with ESMTPSA id fu11-20020a056638668b00b0042b6a760c31sm2454767jab.28.2023.08.13.09.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 09:29:13 -0700 (PDT) From: Adam Ford <aford173@gmail.com> To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock Date: Sun, 13 Aug 2023 11:29:06 -0500 Message-Id: <20230813162906.22640-2-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230813162906.22640-1-aford173@gmail.com> References: <20230813162906.22640-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774135292475595833 X-GMAIL-MSGID: 1774135292475595833 |
Series |
[1/2] arm64: dts: imx8mp: Fix SDMA2/3 clocks
|
|
Commit Message
Adam Ford
Aug. 13, 2023, 4:29 p.m. UTC
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 <aford173@gmail.com>
Comments
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 <aford173@gmail.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> > > 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"; > };
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"; };