Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1614321imj; Thu, 14 Feb 2019 09:11:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IbNB/Nea/m5nOKTyOFuGnZwOWFupSfNjsSX7TAsybcq3VrUriJZRvuVmdV5MCr2gTqg/V38 X-Received: by 2002:a17:902:24e7:: with SMTP id l36mr5257615plg.61.1550164262746; Thu, 14 Feb 2019 09:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550164262; cv=none; d=google.com; s=arc-20160816; b=1Jczg7EPljIu1Dji3nouyfPkg6OsG6VEBDIAVdbbQoHa18g87DWgE+LbRyoFoTouJv 8F3ql7sJGffi66htdK+MRbQXMjfVQAL+gRvIOCwQWFbswx6FU5vMsB8k9BlwfcGrrSV9 Q3U0O/MfsUAIrncmhshOJ/fCUluayqRXuOp5jWNwvzl3YyW789A8UxVsqBlNGXpdLi80 gCXzlKq8D7H6cTbkcksE3Sil0qFGjwq9S6DbLkxN3T/eXidNlrX3wtKk/YZoQkCJC3P+ SxG3Lt+84uUlmbrJYhu8EUqco85NGFGjkR8KAcPZKfDvb+D7cROYP9j4NjAEGe4cDUCy VV3A== 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=bpd8PA3u3JrSVmuhmsHW2bxdpcyCmZx0PS6GlvD0wGA=; b=1DQHFi3RRW3YCv5wcZweaQvEYkDSMKrjF2k+jnFa2ZpM9Sf2BNMJ62iL1c0kxRzlNF G/0H7VrvjpY+NwgneujimRPfkqUxZRyJ3AMB8Y7wu4Ad2LJfzFrojGhhQR7AddCQ8SwH QAy5PEjIQyMGCIQ26fvGC82h8xehg0NQBDVIa94G6T0nW47aMqso1WRTj1AbA0pMWXJa UfigroDjhVdNW0JWrRC+8rCp1HUURLP3LARHZDKupJ2IDzAseO+1TBAziTdrnSoemVkr iVoi+vhyuvHYs5ZpU9z2S0LqnqaoKA6aKNSJvAFpn2cWWCYPNqJZ3f9o7EjLk7LRI5/W YgYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ndzx3w67; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j35si2832342pgl.223.2019.02.14.09.10.46; Thu, 14 Feb 2019 09:11:02 -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=@linaro.org header.s=google header.b=Ndzx3w67; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437514AbfBNIeX (ORCPT + 99 others); Thu, 14 Feb 2019 03:34:23 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42777 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394645AbfBNIeX (ORCPT ); Thu, 14 Feb 2019 03:34:23 -0500 Received: by mail-pg1-f193.google.com with SMTP id d72so2684345pga.9 for ; Thu, 14 Feb 2019 00:34:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bpd8PA3u3JrSVmuhmsHW2bxdpcyCmZx0PS6GlvD0wGA=; b=Ndzx3w67x7NWqoTwPDLzFK/8piJRNsTTOBDhdiKTA4T5wGgcaf0c07P26qOtXV4UrC 76JcFtP4+/0bTTMaJsQppoTUJK94tfFsyw+EKdP/mjXSyxQCKrRa9IRNYDvLdbzKU36E OPHfyjz6S4QzNCeGKkKlbc/WlENEoLoexoVe2aCZa+WNEn4KDs3+ad3t42qoC5cnJRPF JfWY25cnwTg8ULl1MOSDshtKeQcPbesyPcIXNrKNh9KocvDY9b5nR3mg3wVRTdiZhk43 pUpJNAJZxR1rwe8ekq6hRYanPcMz8INM4zmABpdoz1TpzCpe2olFkCYJvxr3PDun3FpH tj4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bpd8PA3u3JrSVmuhmsHW2bxdpcyCmZx0PS6GlvD0wGA=; b=mpSoObHH/fekr180ndmrNq91Vlu1A/3H+1FpZ+SNa1TL6IP6v1kdN9+tC8Q3nFLPkW fjBtZKCw9/vZQodimFHQ9RaFuULJ0mUDoInRrjnvmkFkDc2lfYauAba2WQ02+k/Hicqn X8Yn+pl0/NS4czBdMY/ZAk7HNi4BO/qy21RAHCiy0Khvtu0fJlTiycSPCaZfcKqqCLLt z59eSTAJx70OE5jX9111OkpD8mZ5nMKg0JYWhYZAlZUwGRHkthbhhI1a2bxjuIUC/kGO hYBW25xtPtg2FAvt+hiGxqw75b7RDLlnstD54VKndnjnWG2BMcYDMmjIYk0nYU1voyPG t64A== X-Gm-Message-State: AHQUAua/+G6bmhAfl22G9T2PAruioMhIKFiaHuxVGGgPhqg3MPglDmLC Ti78UXY9dt8sQFSxW5A2leGMqA== X-Received: by 2002:a63:516:: with SMTP id 22mr2525276pgf.353.1550133262179; Thu, 14 Feb 2019 00:34:22 -0800 (PST) Received: from localhost ([122.172.102.63]) by smtp.gmail.com with ESMTPSA id d16sm1789033pgj.21.2019.02.14.00.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 00:34:21 -0800 (PST) Date: Thu, 14 Feb 2019 14:04:19 +0530 From: Viresh Kumar To: Anson Huang Cc: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "mturquette@baylibre.com" , "sboyd@kernel.org" , Aisheng Dong , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V5 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Message-ID: <20190214083419.slnuolyy5xhz4szy@vireshk-i7> References: <1550131046-2069-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550131046-2069-1-git-send-email-Anson.Huang@nxp.com> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14-02-19, 08:02, Anson Huang wrote: > Add i.MX8QXP CPU opp table to support cpufreq. > > Signed-off-by: Anson Huang > --- > Changes since V4: > - remove redundant clock-latency property in A35_0; > - add #cooling-cells for all A35 core. > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > index 4021f25..fad1259 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > @@ -34,6 +34,9 @@ > reg = <0x0 0x0>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + clocks = <&clk IMX_A35_CLK>; As I said in my previous email, mentioning clocks is important too for other CPUs. > + operating-points-v2 = <&a35_0_opp_table>; > + #cooling-cells = <2>; > }; > > A35_1: cpu@1 { > @@ -42,6 +45,8 @@ > reg = <0x0 0x1>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > + #cooling-cells = <2>; > }; > > A35_2: cpu@2 { > @@ -50,6 +55,8 @@ > reg = <0x0 0x2>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > + #cooling-cells = <2>; > }; > > A35_3: cpu@3 { > @@ -58,6 +65,8 @@ > reg = <0x0 0x3>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > + #cooling-cells = <2>; > }; > > A35_L2: l2-cache0 { > @@ -65,6 +74,24 @@ > }; > }; > > + a35_0_opp_table: opp-table { > + compatible = "operating-points-v2"; > + opp-shared; > + > + opp-900000000 { > + opp-hz = /bits/ 64 <900000000>; > + opp-microvolt = <1000000>; > + clock-latency-ns = <150000>; > + }; > + > + opp-1200000000 { > + opp-hz = /bits/ 64 <1200000000>; > + opp-microvolt = <1100000>; > + clock-latency-ns = <150000>; > + opp-suspend; > + }; > + }; > + > gic: interrupt-controller@51a00000 { > compatible = "arm,gic-v3"; > reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ > -- > 2.7.4 -- viresh