Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1733618ybm; Tue, 21 May 2019 20:34:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJWFpgA9YJiNnR8giDj3axNWac4xg32usDLz01PSXx1WBZ3EZUToY1yirDksUrW6lK449j X-Received: by 2002:a62:5201:: with SMTP id g1mr18941492pfb.152.1558496047046; Tue, 21 May 2019 20:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558496047; cv=none; d=google.com; s=arc-20160816; b=Mkm8AZCiQk8vVoBIsLt3SAbRAzUceC+YNAEUaCu5lCIbshlW9CmUmzumxbQYQC2iWa vT1zJje6XGjXDSS7scmDHIZKfh5RnE37o6LWuPIpJZrQYIHj/TlyDCTh17xouLzHMjkt lomFdFqmGbDZ6PaCeK1Y8hQGAI5YYO+F2Djs/kWJypJ8+zfqsabFy+6jc4vt1x6UACoo 4WGPbj6XtXwRciosZtUyG+8hTwO558S3Bixz4/iQJ/HsbcmFmqLv0/g+mZLxJ7K7CWr0 Uns5w++6WdXfcEcyH5lwwP5IoWq6lv/UIcbuWXXTN1OuFLo+5qtmK8cLCNlQg7VnQzS6 Horg== 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=70DJ6xEYXdyE5ONMBui8fhHROrLWF1i2GATP34gSzBE=; b=EzmQIh3ezjIwaCDOhcscAdCClkvD5ZRNUZJ9eFOJeoMn6B9h8II+E/RziPoFxH/2ZM ja3ojX6kMc/mZ/obmlkatKQ40yUFdfG1IEb4TjxMkBJDbn2Zs977Q+c2hFiPDsxvV/iz cCPA2WCNG2a26VbBKiEFDVvzbTN0NQA8g9Jo6OUtVkHBn/0DV21i5lyy3Pvqg1DnIu8X jOZiLYRdVdSNjMQsdCONJ/nuVPyzLwKXgls7IDqYA7Ug44EmAmIlrOjMyBwyMXyxJzrU +32qfuZHbQsG5/KBGijwbdqtSkFRPt8AtiZ6nuQX4UFpJgAHjR+YkHXyUBVSfIePS7dJ Z1dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pbcHDo3x; 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 e34si24408496pge.252.2019.05.21.20.33.50; Tue, 21 May 2019 20:34:07 -0700 (PDT) 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=pbcHDo3x; 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 S1728510AbfEVDbe (ORCPT + 99 others); Tue, 21 May 2019 23:31:34 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35725 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728185AbfEVDbe (ORCPT ); Tue, 21 May 2019 23:31:34 -0400 Received: by mail-pf1-f193.google.com with SMTP id t87so559346pfa.2 for ; Tue, 21 May 2019 20:31:33 -0700 (PDT) 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=70DJ6xEYXdyE5ONMBui8fhHROrLWF1i2GATP34gSzBE=; b=pbcHDo3xPViuCzHm2rSbJYkI9lDRRhEKtkcVN/h8NeSGBWVbhQOz47Yj2hT+Tc06FV xtASp0+1WdTHgsegau+V0DqUpx2Yr87Li75jrWQjs23pxqIsDWBWbPuPqy+EkOEPtzoj mC5MlchKkNL00s3TyGX+HgATuaVkur5SydLyEft/6oiYTbp4hWvh3ygzYJ6nQkYee+bi HRdtBzcJHBMQbw+MhhPbMPch2UGxBkFUbgpoTwsBDn3102BwxVYIwwHQYzrmAfpQACbo ONKWAk6/fgbBFygsgPf5u3+/OEqcqzR3WxblPf4zWjXQ2OMAEL4nQ6UgKJuOkYXuvaAT g+eA== 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=70DJ6xEYXdyE5ONMBui8fhHROrLWF1i2GATP34gSzBE=; b=OUtEh17fXnVQ7atJMRu/rK3HjyyKGadzyr2I9tjxToeo1t0hkD8G23vk6fFSw4QLbL ejV/eldA56YYf5S01yFpWVHEhRFfgWE5UFV8C/WLvaAk8dehZKE6j8HBQfEiuZThCE3Z nXRql7gGvwZbvwC7GCgE+v3BWqHxLHQE2mUor1eZFp1j+Bz7bENjdZFFWipCHgfRioG9 Xqg/KIxB4ldQA5d8aOXARSrJY1MhqpUjSqBldn2xpapC5umjoZC0JYJ0FxMhCvyotmLz H6jdtXcdNwZtiHxNpNCxL4VRfuOE7wfcAETIpIsjOkBHn251Lb4qHl2pHWZFdFOsk0et XD4A== X-Gm-Message-State: APjAAAXUcWvfn/4IQz+HeTXrsSQB9KAPFPumaJnRge3exA76MCx673Xl ngP+ti5iI7inupjlp1fghVpwzw== X-Received: by 2002:a62:5306:: with SMTP id h6mr35072808pfb.29.1558495893384; Tue, 21 May 2019 20:31:33 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id w66sm45540879pfb.47.2019.05.21.20.31.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 20:31:32 -0700 (PDT) Date: Tue, 21 May 2019 20:31:30 -0700 From: Bjorn Andersson To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, niklas.cassel@linaro.org, marc.w.gonzalez@free.fr, sibis@codeaurora.org, daniel.lezcano@linaro.org, Andy Gross , David Brown , Li Yang , Shawn Guo , devicetree@vger.kernel.org Subject: Re: [PATCH v2 5/9] arm64: dts: qcom: qcs404: Add PSCI cpuidle low power states Message-ID: <20190522033130.GL3137@builder> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 21 May 02:35 PDT 2019, Amit Kucheria wrote: > From: Niklas Cassel > > Add device bindings for cpuidle states for cpu devices. > > Signed-off-by: Niklas Cassel > Reviewed-by: Vinod Koul > [rename the idle-states to more generic names and fixups] > Signed-off-by: Amit Kucheria > Acked-by: Daniel Lezcano > --- Applied Regards, Bjorn > arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi > index e8fd26633d57..0a9b29af64c2 100644 > --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi > +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi > @@ -30,6 +30,7 @@ > compatible = "arm,cortex-a53"; > reg = <0x100>; > enable-method = "psci"; > + cpu-idle-states = <&CPU_SLEEP_0>; > next-level-cache = <&L2_0>; > }; > > @@ -38,6 +39,7 @@ > compatible = "arm,cortex-a53"; > reg = <0x101>; > enable-method = "psci"; > + cpu-idle-states = <&CPU_SLEEP_0>; > next-level-cache = <&L2_0>; > }; > > @@ -46,6 +48,7 @@ > compatible = "arm,cortex-a53"; > reg = <0x102>; > enable-method = "psci"; > + cpu-idle-states = <&CPU_SLEEP_0>; > next-level-cache = <&L2_0>; > }; > > @@ -54,6 +57,7 @@ > compatible = "arm,cortex-a53"; > reg = <0x103>; > enable-method = "psci"; > + cpu-idle-states = <&CPU_SLEEP_0>; > next-level-cache = <&L2_0>; > }; > > @@ -61,6 +65,20 @@ > compatible = "cache"; > cache-level = <2>; > }; > + > + idle-states { > + entry-method = "psci"; > + > + CPU_SLEEP_0: cpu-sleep-0 { > + compatible = "arm,idle-state"; > + idle-state-name = "standalone-power-collapse"; > + arm,psci-suspend-param = <0x40000003>; > + entry-latency-us = <125>; > + exit-latency-us = <180>; > + min-residency-us = <595>; > + local-timer-stop; > + }; > + }; > }; > > firmware { > -- > 2.17.1 >