Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1243197imj; Thu, 14 Feb 2019 03:32:56 -0800 (PST) X-Google-Smtp-Source: AHgI3IYqjUP1jcySpdRF6f4WdErSRCnIjzh+42CPqjGn4Gwg8LbkJqziEXpoL39VJbGkvnRQ13Go X-Received: by 2002:a63:d5f:: with SMTP id 31mr3313326pgn.274.1550143976815; Thu, 14 Feb 2019 03:32:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550143976; cv=none; d=google.com; s=arc-20160816; b=xVSy9jGl/yyu8Upr7rc6Qmjg3Yh7l4868ETZPudJ+Qoe0W8gWbK9W7qbgFSWa9oBxI S7iEcCUiA8jN2FjYx7/LrRLlElUsz7oQ/RBTkyLIj3/PTHovX7GELYOTghThVmqMkaB9 hWdIU/mbWskRBLue5/VLYttaBmacFqauBt5NGd8KEAveJLVuHPircGPk/JqnK8tFpr4m YCCa+AXdZ8Ppe2z5GBDTIWRwMcFTMx45eOGKv4i9jpCkkQiYEaMwSavc4WqI0izGQRS6 RUTiwe7WGpRsKLNedwnh/JZmYVV/RpixKTmMh9TrJiFiqz3ayVhA/GDS6CTEzkY8Ypgd RSTw== 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=UFUxl+Fljm7yqlfrAchzNpMXHkNbSIOG02QGuZvFWpc=; b=x/ngZeAcOWSqbh7ZNQbbh+z9yByJqo1DFCRMMnLlCmPhIp/F2b0R4czAMf92RC+NCF r78S9nOC6zQKfUS4188WT2wV+VMSrqneHMAKHsmA1hXMkWWTE0XSWZ+MklrvfbqQrJos 8Hh3ZQ8YeM6GchOHWb+L+H8aIXsOi+G/cgqkTVsO16vzH91+IpbSw8GKWG7+Vsw6lrN7 PC3/atmnxnPFUTiqE39Tx1p3G/jPfaf5UEb492DqeLZvExsXmPAYSwlVlPcVZT1MJGcc tKx2TYYmUK6I33+n6WbhLiaJBdGdfrQZa304rAMzOoKWtIJnkn4CvcHnJ7ycBm0stkCQ BnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LstBb9Pw; 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 206si2116081pga.240.2019.02.14.03.32.39; Thu, 14 Feb 2019 03:32:56 -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=LstBb9Pw; 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 S1729932AbfBNHMk (ORCPT + 99 others); Thu, 14 Feb 2019 02:12:40 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:44870 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfBNHMj (ORCPT ); Thu, 14 Feb 2019 02:12:39 -0500 Received: by mail-pl1-f194.google.com with SMTP id p4so2652131plq.11 for ; Wed, 13 Feb 2019 23:12:39 -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=UFUxl+Fljm7yqlfrAchzNpMXHkNbSIOG02QGuZvFWpc=; b=LstBb9Pwynk2kwzMvrgXvs01+bT8CIfvaeQWBGiPjcTgGkiZG3EBCQ1e3WAJuAJ0XA Rjp/z13BhWFFiNsKmyf+kqdTy8ob4ULuXOpP6B1dIUADF+NF/F2589qkuO7TdJ4KZJWX 1R9Na5rIPM4dxxlAdsspWrYFOw6iJtWKylQaEmoRCAU6gUyIhBG/5lJcCLyIpiqPkGZ6 9alBpsHe75yhfA+Ih1hrUfZ3GquiFKfA8x1kufhWyampHnUIEEw5vw8o8MR1kcZO65OS bpFyPZO7pFN3xhuvNBE4zeLurmt1b3zjnJ9PJ3jjKKLd61XgC1C4U9l/IQLncUgedIel /huw== 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=UFUxl+Fljm7yqlfrAchzNpMXHkNbSIOG02QGuZvFWpc=; b=R/CVvyehA5rUzpSsF2IyV9jTWGy9EWGzOjTSm8S9EuQojBAjszNlpPgnRvyaCpzjLR LUcbOcs2SM5FeMXIi0nDm/k/lYlhLyd2iSicOw0LwZ9BulDjtNCs2aCVW9fieEmzdb5z T7jsvYyNrw+F2dfPQQoI1eAhyi6PPV0rfyYDTmiX1WHF+tEwpF2bl96PthCdDTADogkF w/LLMeqk6+TA0a9PQiV0fUYQRwNfDIwAaob4qxYeNfQa1fXZsWN5lkdmrq7C0s+U6T+C SL1qHdciSDSYO59pJSSCp0eRGPdhJ1KTxJcJEz/g9/cu6ohdj6kuhLbbsK0DRs4hOJLX M7dA== X-Gm-Message-State: AHQUAuYrwlbynknt9tWrcJGNm5r/eq8yhxrpWO3BfbphM2/GuE7sBwyT 3iPKyHzUKHw61JDfyqnCCpS1HQ== X-Received: by 2002:a17:902:e087:: with SMTP id cb7mr2585329plb.313.1550128359043; Wed, 13 Feb 2019 23:12:39 -0800 (PST) Received: from localhost ([122.172.102.63]) by smtp.gmail.com with ESMTPSA id y12sm1937330pgh.38.2019.02.13.23.12.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 23:12:38 -0800 (PST) Date: Thu, 14 Feb 2019 12:42:33 +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 V4 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table Message-ID: <20190214071233.7uypqihkfasxqyw6@vireshk-i7> References: <1550108915-574-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: <1550108915-574-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, 01:54, Anson Huang wrote: > Add i.MX8QXP CPU opp table to support cpufreq. > > Signed-off-by: Anson Huang > --- > No change since V3. > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > index 4021f25..593e2db 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > @@ -34,6 +34,10 @@ > reg = <0x0 0x0>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + clocks = <&clk IMX_A35_CLK>; > + clock-latency = <61036>; Who uses this value ? And why is it different from the one mentioned in the OPP table ? > + #cooling-cells = <2>; clocks and cooling-cells must be defined for all the CPUs. > + operating-points-v2 = <&a35_0_opp_table>; > }; > > A35_1: cpu@1 { > @@ -42,6 +46,7 @@ > reg = <0x0 0x1>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > }; > > A35_2: cpu@2 { > @@ -50,6 +55,7 @@ > reg = <0x0 0x2>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > }; > > A35_3: cpu@3 { > @@ -58,6 +64,7 @@ > reg = <0x0 0x3>; > enable-method = "psci"; > next-level-cache = <&A35_L2>; > + operating-points-v2 = <&a35_0_opp_table>; > }; > > A35_L2: l2-cache0 { > @@ -65,6 +72,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; You want to go to a higher frequency on suspend ? > + }; > + }; > + > gic: interrupt-controller@51a00000 { > compatible = "arm,gic-v3"; > reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ > -- > 2.7.4 -- viresh