Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2050270yba; Fri, 17 May 2019 09:33:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUsvUf1eRvR9fIh+hUgWxdZNaTGxa/SEFO9rYEp+oWy0Q6tCCd2V/3dISSehNIQsZI8mtX X-Received: by 2002:a65:620a:: with SMTP id d10mr3909327pgv.42.1558110833296; Fri, 17 May 2019 09:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558110833; cv=none; d=google.com; s=arc-20160816; b=gp/OMrKssdjKRbVQUhLtAiuhFCIEoaGP8kGWyMjAmFLzPnLzBDB0qS6pFjKQwb1zc3 NsT7Xvn4DlTMFaAz/pGLX3FIYJDTPN5UhjWChs4T78aOhhFfERnUtgQ1paNdaVGmQIm1 VTZ9JWs2RwAPxMscEWx7KShBlXz6bXYpCobibU/8aWOOhrznSZ3baWzmHMy99wOQUTqa fbiW5Z+NXn7hSmEBuUKpPU0OkcHgH4j9h4bGkc2e6nQ9bxDGqod+yZdgxVCO92/0WuAx YqYSnda+a3qgXeSK7/Hlrha23FE2Qa1cJSFJlWnDSNzgChECLN9yHEXl8b1iqjD7/ADw YIRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=0ljscussLX+Xz81jCi4NKL5yP2ulmpgvfBkZvg2epaI=; b=bZxvMR9vjm7V2eXbVRo6st0ooS8XbQ8pUU/vJdtjlxus2jkIUF0nRIipDi8bYgKwWB lNnEStK8i4YH5/1B+FRqwu5Tj6uTTdTNOi72FMVZgk9jcnmtuMvoxh6364wWAKEFETK/ cQdJmFT0wDyjxN+lCZODsvCuIpsKvhEpxYu5O8W/QdZx/GkiHoqSchg3OkFnyZC83O2b CyIwpE32VMMu7klhbZMx88nMsZEGFqx1Df0QAMldhe0T3KjVthEYKShqh8eoZwhVD7ut ZfWn5QIYDJfbIvZhaoNlr+qW5BNGGBTvonEXzammgM82u0a/P1SYui52/qC9fHK5ogO6 WmoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KLN3Piuq; 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 z185si8368060pgd.309.2019.05.17.09.33.38; Fri, 17 May 2019 09:33:53 -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=KLN3Piuq; 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 S1729289AbfEQPmX (ORCPT + 99 others); Fri, 17 May 2019 11:42:23 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36525 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729032AbfEQPmX (ORCPT ); Fri, 17 May 2019 11:42:23 -0400 Received: by mail-wm1-f68.google.com with SMTP id j187so7208060wmj.1 for ; Fri, 17 May 2019 08:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0ljscussLX+Xz81jCi4NKL5yP2ulmpgvfBkZvg2epaI=; b=KLN3PiuqIzN+THEIDcnop/qPR0Y7vjupFcPbrwQ4/jkRF1i+hANU9DyYhBQLHTDjql 2+beV/LtVp3OH2TKx/yIjC9YSTBru/lmVueKMI8GkXDFaxaduF2htTrDH4hhnNpKBMme 1Uq38vTSbEF4yrH5kd7hCWI+RCyY+za3ioxHsyyko+iGbEckxGsIhXnwfgH0VkJzsRjY KtcwPgo7nYWeNyPvSQR1C7nBJx136nDu4oWPTKNSsb7p0bMYFiAgS78Lnh/J2dlRwElU Xe1Z2boiIzhqXEyxt4XhC+HqEowZvfxJfDas9Men07mkoDF6SbQcLJ6f77pw2ctuVLRI OQ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0ljscussLX+Xz81jCi4NKL5yP2ulmpgvfBkZvg2epaI=; b=ccI7WY3DoKEzKdODEAbUsnaBLo4Oyr0Kb+fatYgMGjh6ZMMq4ilwkpDq3cN8SM6JZm p/RFjWwdXT4PflB2wZbJ0GM5nZBRqI2jV9QOG3Lk+0ELeGKYJzLPnKYVmxUZDYNFZE2C qFmtKxLY7YdinL+xu/byMsqFfzfNMIWy7F4RmlpxctViJSzzQWbo6ycRpvfZLEqndENh BflJm6RMIrbNrq9m+xkUp8OTmcoACiP593WdpqgciFV7pg159VA5nfyBXMpeSSAxJuip GuhK/mFtngLkV9Nww9X8+OxotxQMjtevE6ZIDSCgsbvT4ouRRJtRH7h/jOc1N3BElpYy ZtTQ== X-Gm-Message-State: APjAAAVQnCKX+XL6zl5gf0db1iL4+Y6+U+zLn3Dbf9VrS+j+Rh6yk/6q ag6cJV7w8Y5wkBLREI/Cvuchcw== X-Received: by 2002:a1c:9c03:: with SMTP id f3mr32886891wme.67.1558107741425; Fri, 17 May 2019 08:42:21 -0700 (PDT) Received: from [192.168.0.41] (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.googlemail.com with ESMTPSA id v11sm8441552wrq.80.2019.05.17.08.42.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 08:42:20 -0700 (PDT) Subject: Re: [PATCHv1 5/8] arm64: dts: qcom: qcs404: Add PSCI cpuidle low power states To: Amit Kucheria , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, David Brown , Li Yang , Shawn Guo Cc: Niklas Cassel , devicetree@vger.kernel.org References: From: Daniel Lezcano Message-ID: <6efa62cb-2f9b-f462-95fc-b9bcddac76b2@linaro.org> Date: Fri, 17 May 2019 17:42:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2019 13:29, Amit Kucheria wrote: > From: Niklas Cassel > > Add device bindings for cpuidle states for cpu devices. > > [amit: rename the idle-states to more generic names and fixups] > > Signed-off-by: Niklas Cassel > Reviewed-by: Vinod Koul > Signed-off-by: Amit Kucheria Acked-by: Daniel Lezcano > --- > 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..369c59c35bc7 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 { > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog