Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2990289pxx; Sun, 1 Nov 2020 18:18:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFrMD/T7tOe+5Wx73tahe2eWcXWCOfrUwvcTwxHTrMe8epXKs5GP3vHDrvfXxTYq+ncxn/ X-Received: by 2002:a17:906:16d6:: with SMTP id t22mr1151079ejd.376.1604283528803; Sun, 01 Nov 2020 18:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604283528; cv=none; d=google.com; s=arc-20160816; b=WozDRzABGYSe+Uq2FhJ37TzM4BTXx8hZ1VcB3I5PatPomLy9DKwfpGatoc13sE1rni 5neT+ljGRmfILOKNQc30UNdU6F5GfsylZ1SnTf5mgASiXEa1YX+5ilY2T/+OoM/ZOE7r CUftt6am2n3erRd0322gWXZKUgTnD3zHK65CCko/5dbe1ZMfZ7t1o49OUv9QzrC4GB5K 8qcQyYeH9rsBo882Pa9vt+Obi5AngUQxzvHVBqjMHZ8eQe8P2tdGiH1ZrbD/pvWbuVJe o0cvyBLnR8LYtiS1k5DXRMBpuXr421HSOpFuy8eMLcyKKHcbwLj9fQZa0r/yy5BNn2yD U6kw== 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=pAFaJstOexZGhCnM4+RjsWV8rQir7pgOf3FOrws30zI=; b=xC2cRK4fyf3EPu67wJRnjHu9i3mv3IGAawvSYBWN6V4n0h4AuzncIeZYe4jYCCXwIr rczK+jhZZMOBddIctp3OIued36Lt2is0xqoFBxuJRXKL3SrE63MDvIPsthHx+qzt6uK0 hSyVsGk75hWT3+nMLTghgPlrpNmUYXwrZ3uHWL/7720/qCEmno6WkUB/tmFyx9ptsjKL /bUCclCUQpPpI76svalkpCvoQ30baY1HlEjSK9HA4sU59ZKk4Ot0thCSOK6CN60rKLWm 2wKQcAWVeXEgFHfhqUFgzH4txCjiS/MngEZYeDNlcUHqSZTrM+XYJnLNdIKQi3yHHCoS SF0A== 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 i11si9060480eje.415.2020.11.01.18.18.26; Sun, 01 Nov 2020 18:18:48 -0800 (PST) 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 S1727628AbgKBCRK (ORCPT + 99 others); Sun, 1 Nov 2020 21:17:10 -0500 Received: from inva021.nxp.com ([92.121.34.21]:42570 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727461AbgKBCRK (ORCPT ); Sun, 1 Nov 2020 21:17:10 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3804A201446; Mon, 2 Nov 2020 03:17:09 +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 80AD3201439; Mon, 2 Nov 2020 03:17:05 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9F3294029C; Mon, 2 Nov 2020 03:17:00 +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 v2 1/2] arm64: dts: imx8mq: Configure clock rate for audio plls Date: Mon, 2 Nov 2020 10:11:16 +0800 Message-Id: <1604283077-27012-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 --- changes in v2: - none 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