Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp489554rdb; Tue, 19 Sep 2023 01:09:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFqqVETyaTXjDbo+QCsBnYnwz8XxNbrkYPEQq5gmu+zQlKu7UXE/JelmBFS4Lxnijbe1Xa X-Received: by 2002:a05:6358:c1d:b0:142:d62c:78e5 with SMTP id f29-20020a0563580c1d00b00142d62c78e5mr7933781rwj.15.1695110992268; Tue, 19 Sep 2023 01:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695110992; cv=none; d=google.com; s=arc-20160816; b=0+ozXskfyud2zzWOr62bCT3Jf5HU8Yv6nBcMoSeJ9A8KlZhvl0paxDVlz3hZkEXF4b 19+GydIbyKD0cKHQ26Egsed0Z+v17hVnBW66w6r0PTtmcQU+45QSjHy3ZJRBCl2iw0Id cpGNHxrBNG5KjlaMhJbScbHIgcAoFTlAheNWiy+mSu3axsaWpxsPpBOX/aX4VWqyeGBA GffHs5XCIF1WS+eCa1k2get0E2bHOtQ4723gMFnljY7YjaO6yLwEueq0p7MenzZSBJvY mSQ7/QeYR5aSNdxEcwrm1mhXqakKMS4BqUqZOb8jSnLslANyExNWtxwVnShvGvakySyf YNvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:to:from; bh=rp/FZVLOu0NEGkIPR2JXROW7ghqy/97JUKsZuQlnHyI=; fh=RPYMMqyrE5cI60Xgnq/NDsD/ZpvdiqfNoojuhl9dvsw=; b=AeasPVLixQHIjHDLOgv7THyRx/2uJ3c3soyMUKej1ivx/mEHpus7JiwS93Rk4nslQO lXe1yBb9bzyPmbrP2eQebpruGlD8g0YoLzAYcm6fzXA5gpT7PAVkEepBwxCAX9lWJCwY CBT+ReiN51vjW22yemtVyOblPBcLFRDBpEEL4kvp3tWE3PzEx17jn1ud5QcOocsnuFBT k5sW1B9PleQP8gkVpita0AGDtztYbPaA7RUrFci01G60siOi1pDCbu/NUskxEaJdJt/L dpASbRHA7FcuToNkHRsWNITWqR97EI6iR1RMs8cU5XYakFRA4cBQUZRCFIrk2JsIfbm8 uaOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bx29-20020a056a02051d00b0056cab36f3e1si9987512pgb.221.2023.09.19.01.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 01:09:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D7474823B3C3; Tue, 19 Sep 2023 01:09:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbjISIJs (ORCPT + 99 others); Tue, 19 Sep 2023 04:09:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjISIJq (ORCPT ); Tue, 19 Sep 2023 04:09:46 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4149C116 for ; Tue, 19 Sep 2023 01:09:40 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 92A261A06A7; Tue, 19 Sep 2023 10:09:38 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 655B61A06AE; Tue, 19 Sep 2023 10:09:38 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 652221820F57; Tue, 19 Sep 2023 16:09:36 +0800 (+08) From: Shengjiu Wang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, marex@denx.de, peng.fan@nxp.com, alexander.stein@ew.tq-group.com, laurent.pinchart@ideasonboard.com, aford173@gmail.com, l.stach@pengutronix.de, Frank.Li@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH] arm64: dts: imx8mp: assign parent clock and rate for audio clocks Date: Tue, 19 Sep 2023 15:32:55 +0800 Message-Id: <1695108775-22924-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 01:09:48 -0700 (PDT) Assign parent clock for audio AHB and AXI clocks, and assign clock rate for audio PLL1 and PLL2. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 6f2f50e1639c..8a8a2c4aff9f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -734,16 +734,26 @@ clk: clock-controller@30380000 { <&clk IMX8MP_CLK_A53_CORE>, <&clk IMX8MP_CLK_NOC>, <&clk IMX8MP_CLK_NOC_IO>, - <&clk IMX8MP_CLK_GIC>; + <&clk IMX8MP_CLK_GIC>, + <&clk IMX8MP_CLK_AUDIO_AHB>, + <&clk IMX8MP_CLK_AUDIO_AXI_SRC>, + <&clk IMX8MP_AUDIO_PLL1>, + <&clk IMX8MP_AUDIO_PLL2>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, <&clk IMX8MP_ARM_PLL_OUT>, <&clk IMX8MP_SYS_PLL2_1000M>, <&clk IMX8MP_SYS_PLL1_800M>, - <&clk IMX8MP_SYS_PLL2_500M>; + <&clk IMX8MP_SYS_PLL2_500M>, + <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>; assigned-clock-rates = <0>, <0>, <1000000000>, <800000000>, - <500000000>; + <500000000>, + <400000000>, + <800000000>, + <393216000>, + <361267200>; }; src: reset-controller@30390000 { -- 2.34.1