Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp725121img; Thu, 28 Feb 2019 06:57:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IYAyskR1UljjAWWzi/FFLmkWlPem0qEIBv+TfMshkfTDzcFnX0NBNkiObayaGr2JItHjPtG X-Received: by 2002:a17:902:42e4:: with SMTP id h91mr8596742pld.18.1551365856803; Thu, 28 Feb 2019 06:57:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551365856; cv=none; d=google.com; s=arc-20160816; b=qEA44k+3nC3uHz1Bo2w/xC8MuHGb9wwZW+xMv1UuoxK5kw27vNxmcoLRKrNY5mLnA3 70+ACUxkN/1GVbqZChkiGr3uDIqYbkJIH1kdn4Bq1ie2o0AajweVgmYE5OSLX97BcYmg wB+LVusYfQZAmqKqhUlNPP3AYJFh9zNLuDdt7wc5v8FwrdjCAUKkF2ElToTb8MBeEwGt NMIQp5+TeSGgvHZ4bjyYcprYodoxqTuGxersjq4A3zJgjaYCeWCwF4PyM8ORXJeFTYRf AI+2ELYhULOiw9iE73vjOoELH3sRwLFgX0/YRf6KiVJLnA786SeYZhEVGFZ58qbsGU40 m/yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6JOX7N4syBnPwgMzKS7yYvf4gnLrC5ZY1Rm5T0f++ng=; b=dKgUhgf5sZiHWhr8zExOmbS1PnxbKDWqsGj8CxkpvzDCVxpr9QTRbNtHOVUcFjey/+ 8htMfHDlycQb7OQE1CekkNSNjoYyqYgQP8izksVLSSWI38IFfgWpnPmvLa5Q2RlDK0Zg KU3BUUxnAbYkSXk9HPW3tjVoriEiabm8CtsSDHOaTdVt+Dx+Zw/cMap+Rg3THsObSzD1 S7xsPo0KhQ4gXYWi7oimUr/PE/DMGVNNw2JMC4DjPgO21ZAg/IlNqkESoiemYxMlheDc 7WI5h3nX0XDK2EYqRdZDAo8dq6N7+ENHLpt+qF2Q1O3Wu98WB6UP5Wq60xpsXF+Xj9Qa pj8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g2nAAq8r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c9si17586731pgi.139.2019.02.28.06.57.20; Thu, 28 Feb 2019 06:57:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g2nAAq8r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731074AbfB1OVe (ORCPT + 99 others); Thu, 28 Feb 2019 09:21:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:45414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfB1OVd (ORCPT ); Thu, 28 Feb 2019 09:21:33 -0500 Received: from dragon (li1566-229.members.linode.com [139.162.86.229]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 964862171F; Thu, 28 Feb 2019 14:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551363692; bh=lD6FHZ0R1A+zdLfwrCDaddv3WwOeKfDO1mENVaei+Po=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g2nAAq8r/+fqMuxVERnFjsvVyCfQDmC4xJbEUSCqMc0nWqUMyB8492NGn+tliO4Uf eE/MJtAB6CvNElo6mhk1aRxwVm97EVt+KDEKTMpPRrVe7HtKK+JB9TRszZxzvT36PI gHhPWo5QrUydJ3eJM86o37mnSXYd7Evni5obKnIA= Date: Thu, 28 Feb 2019 22:20:32 +0800 From: Shawn Guo To: Abel Vesa Cc: Rob Herring , Mark Rutland , Sascha Hauer , Lucas Stach , Angus Ainslie , "devicetree@vger.kernel.org" , Anson Huang , Linux Kernel Mailing List , dl-linux-imx , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 3/3] arm64: dts: imx8mq: Add the opp table and cores opp properties Message-ID: <20190228142030.GB29231@dragon> References: <1550254032-16451-1-git-send-email-abel.vesa@nxp.com> <1550254032-16451-4-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550254032-16451-4-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 15, 2019 at 06:07:24PM +0000, Abel Vesa wrote: > Add the 0.8GHz and 1GHz opps. According to the datasheet: > https://www.nxp.com/docs/en/data-sheet/IMX8MDQLQIEC.pdf > section 3.1.3 Operating ranges. > > The 0.8GHz opp runs in nominal mode with the regulator set to 0.9V. > The 1GHz runs in overdrive mode with the regulator set to 1V. > > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 1a89062..ebdec9e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -91,6 +91,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_1: cpu@1 { > @@ -101,6 +102,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_2: cpu@2 { > @@ -111,6 +113,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_3: cpu@3 { > @@ -121,6 +124,7 @@ > clocks = <&clk IMX8MQ_CLK_ARM>; > enable-method = "psci"; > next-level-cache = <&A53_L2>; > + operating-points-v2 = <&a53_0_opp_table>; > }; > > A53_L2: l2-cache0 { > @@ -666,6 +670,25 @@ > status = "disabled"; > }; > > + > + a53_0_opp_table: opp-table { What's the point of having '0' in the label name, considering it's actually referred by all CPU nodes? Shawn > + compatible = "operating-points-v2"; > + opp-shared; > + > + opp-800000000 { > + opp-hz = /bits/ 64 <800000000>; > + opp-microvolt = <900000>; > + clock-latency-ns = <150000>; > + }; > + > + opp-1000000000 { > + opp-hz = /bits/ 64 <1000000000>; > + opp-microvolt = <1000000>; > + clock-latency-ns = <150000>; > + opp-suspend; > + }; > + }; > + > gic: interrupt-controller@38800000 { > compatible = "arm,gic-v3"; > reg = <0x38800000 0x10000>, /* GIC Dist */ > -- > 2.7.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel