Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp301550pxx; Thu, 29 Oct 2020 03:03:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd7uh2Y6I0mIZ2AkFBp8jf9sWzIJ0dp9pNlfRYkU4TmGQUJQuX+wc5HmDohVqG1sjvOONE X-Received: by 2002:a17:906:4c4e:: with SMTP id d14mr3190162ejw.186.1603965805395; Thu, 29 Oct 2020 03:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603965805; cv=none; d=google.com; s=arc-20160816; b=kh3i0lTAy9kLGMfjPStg5ezauSkjkdiptn32+Fp9uzWXQZTrqMrsteDPfAoaDLFSVJ 7j9/6bzpM+7FeXi9XWeCKTi/YsFsJIO0Dhyb4RqJiKiQTf7Y4MTuhWtqvPKDab+J32A8 r6Xq6qlas3BfH4uc0oUuTNxZ0r0faf7b4O39A4WIw5LsRUg00ITwqUxgsTLkkvem/ZOH hHqf6qjedZkxHqSR/BZ35LxvBnu1xVpPN73hJ5juTUm10kVwnlinVkOHZf1ubJUt3RRB iDrSB2pAc/oNF81bqEhoNU5xz/0c7k+MQa45pAeuzykLtu4JQEojvEkf1+XZXiB+nzbF QZqA== 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=HSYdibG2lY0WfPPav73N6Th4esnNw7MjFA1DKYHrQCk=; b=atCesZk6y+jDFES9sGYgwfcdRBF9mT4jawVDtwNdFRvfh/lAN/HQAMB4fVj/UrXI7H p87MIoAupjQ/uZ4KbSXBkPDVIKQLaSXSMp541vbYHLszaDtoPqOLkUDpFuztlxEFbhNu /0nXt4O/NLwxn2oP8GPgbSEL3rEYfegUjRJwXiHmfR2jYahpqChVFWMDNizGRvellqKN Vh7aHk6/a/uNiI33rTTg5gvr78D1Xxf+o1dPuXEEaSQb30C3G/m1JU3LU+mg0iEzAV5p XfFxLEfmrlrQIeGVQ/oNdzbQUmt6sUPRSEyMk4hHhPREF1usC1crn9Zwl/AZK7BmqltV LM/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn1si1520708edb.408.2020.10.29.03.03.02; Thu, 29 Oct 2020 03:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725966AbgJ2JxG (ORCPT + 99 others); Thu, 29 Oct 2020 05:53:06 -0400 Received: from inva021.nxp.com ([92.121.34.21]:54874 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgJ2JxF (ORCPT ); Thu, 29 Oct 2020 05:53:05 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7AD42200EE3; Thu, 29 Oct 2020 10:53:03 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C4DA6200309; Thu, 29 Oct 2020 10:52:59 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9E68140291; Thu, 29 Oct 2020 10:52:54 +0100 (CET) From: Shengjiu Wang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] arm64: dts: imx8mq: Configure clock rate for audio plls Date: Thu, 29 Oct 2020 17:47:23 +0800 Message-Id: <1603964844-832-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Configure clock rate for audio plls. audio pll1 is used as parent clock for clocks that is multiple of 8kHz. audio pll2 is used as parent clock for clocks that is multiple of 11kHz. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 5e0e7d0f1bc4..49cc79246288 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -606,11 +606,25 @@ clk: clock-controller@30380000 { "clk_ext3", "clk_ext4"; assigned-clocks = <&clk IMX8MQ_CLK_A53_SRC>, <&clk IMX8MQ_CLK_A53_CORE>, - <&clk IMX8MQ_CLK_NOC>; + <&clk IMX8MQ_CLK_NOC>, + <&clk IMX8MQ_CLK_AUDIO_AHB>, + <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, + <&clk IMX8MQ_AUDIO_PLL2_BYPASS>, + <&clk IMX8MQ_AUDIO_PLL1>, + <&clk IMX8MQ_AUDIO_PLL2>; assigned-clock-rates = <0>, <0>, - <800000000>; + <800000000>, + <0>, + <0>, + <0>, + <786432000>, + <722534400>; assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_800M>, - <&clk IMX8MQ_ARM_PLL_OUT>; + <&clk IMX8MQ_ARM_PLL_OUT>, + <0>, + <&clk IMX8MQ_SYS2_PLL_500M>, + <&clk IMX8MQ_AUDIO_PLL1>, + <&clk IMX8MQ_AUDIO_PLL2>; }; src: reset-controller@30390000 { -- 2.27.0