Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp57664pxu; Wed, 6 Jan 2021 21:16:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpwhT+r+kqPHtPpNji2b8DBnBK/QYji9xFaAcGFWFMPl3CV5VllKUKN/tF+t0OaSm7+2q0 X-Received: by 2002:aa7:df91:: with SMTP id b17mr372129edy.272.1609996573139; Wed, 06 Jan 2021 21:16:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609996573; cv=none; d=google.com; s=arc-20160816; b=mp0XnXYmCUCaVXbTxVAWGrT/tXW4gCM37ejGkLgDPY9XZBlMJJuk5ue0oUPPlzJlEt 2Oo007Umojd8nj8rHejlvTl+2h2sfBLeUqiVxZWUKpULMN0aGcXRmRAIgJ4079r0vkdF 8Y6UcoCCpooKPeg24nNYE3ik6cYz6kXkrh8H9bN97RHT1/Jkl4J2HOQ9w62vFwXES0jN O9IJHNypexeoe/Ft2F/aTU9QnE5dIC+EG033rfEzVy3K1veAiwdbkgisuFdgh3ZCbR8R i4wtzsA126Xqs1qTAMS16S/esrI92LKHCsYfzPNauRMlSDGJbXAJgj/tUdgoJigP/NKL tDJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yBxqLJpTtKOas9Jge46FB97W9pJ2F7IphXqSgcVqr4E=; b=vdr5uAf4iE3VQBM+Ya9tIgVQVKz2ZO2bA9ak27DXxOMqVpa5C/2Rl79B0vinPPyLNz vRdsZctFERHTZ0SPXSpDCmNoj39JS3kcd0RHf1WxGsCb4j1vLCXh6pvw6WnHy39ih/L9 bTOMSzg8J5E3pCTMGYNwa4YR54RdOzA6BqH5e2ZsT8Oq44aDO7prJokm2JF9HoZWUSHl LWkrzV5UaWVMZr4IXmUYbUx5GwLGBRTvlUjP6KlcmooDNp0298dJlxT4sD0AD4/Yn7Mk pKyjfdLOGGufV1grqoAlAz16/NT7D7vCOBMPoceFI9vLC/XAxWjzQTZCKJaHlU3nTZCl mj5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nljmi6aT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si1815363ejf.698.2021.01.06.21.15.49; Wed, 06 Jan 2021 21:16:13 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nljmi6aT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbhAGFNi (ORCPT + 99 others); Thu, 7 Jan 2021 00:13:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:40912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbhAGFNi (ORCPT ); Thu, 7 Jan 2021 00:13:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C200D225AC; Thu, 7 Jan 2021 05:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609996377; bh=ErN54kxZTm8lZUalspRnGSyijSi97JU0sRRnNxeJrvY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nljmi6aTkFBa0rPNe89gwF8J1A6HOYBueNCVXr3u/O3Yf6SzkqK7O8XDZ/jG99gxx 1h0MsUN01WVG/YpH7f0ApPRgRQRi1LBRKUzMNly2CkhRF1I2LSJK6hNDZRwV/rnBSG qsriMqFnf0xk/NaPvrRuEEHrC3mnUekB9Px6hT7m8lvcojjMR+MoXK4S4aXcliWHpP yMECHvKeTIGAtSA4YuUrdN9Tg2LC1LfcYM3lvxqo5g38hj/IJgUT9eqnkYY7m8qqi2 5bethOrnJE7bRaqU3nzEoMehHbPUv+sJLdJ9mGjkfOroZv+HzTfvXe8Jc6mnHjqXY/ wrgNVmkesfNaQ== Date: Thu, 7 Jan 2021 13:12:50 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, georgi.djakov@linaro.org, cdleonard@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Leonard Crestez Subject: Re: [PATCH v3 1/6] arm64: dts: imx8mq: Add NOC node Message-ID: <20210107051250.GD28365@dragon> References: <20201210100906.18205-1-martin.kepplinger@puri.sm> <20201210100906.18205-2-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201210100906.18205-2-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 10, 2020 at 11:09:01AM +0100, Martin Kepplinger wrote: > From: Leonard Crestez > > Add initial support for dynamic frequency scaling of the main NOC > on imx8mq. > > Make DDRC the parent of the NOC (using passive governor) so that the > main NOC is automatically scaled together with DDRC by default. > > Support for proactive scaling via interconnect will come on top. > > Signed-off-by: Leonard Crestez > Signed-off-by: Martin Kepplinger > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index a841a023e8e0..9c9d68a14e69 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -1158,6 +1158,28 @@ > }; > }; > > + noc: interconnect@32700000 { > + compatible = "fsl,imx8mq-noc", "fsl,imx8m-noc"; > + reg = <0x32700000 0x100000>; > + clocks = <&clk IMX8MQ_CLK_NOC>; > + fsl,ddrc = <&ddrc>; > + operating-points-v2 = <&noc_opp_table>; > + > + noc_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-133M { > + opp-hz = /bits/ 64 <133333333>; > + }; Please have a newline between nodes. Shawn > + opp-400M { > + opp-hz = /bits/ 64 <400000000>; > + }; > + opp-800M { > + opp-hz = /bits/ 64 <800000000>; > + }; > + }; > + }; > + > bus@32c00000 { /* AIPS4 */ > compatible = "fsl,aips-bus", "simple-bus"; > reg = <0x32c00000 0x400000>; > -- > 2.20.1 >