Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4234533ybl; Tue, 21 Jan 2020 15:46:46 -0800 (PST) X-Google-Smtp-Source: APXvYqx93WpG9kZujlN8dzfGrAwUYq9ORyBwRHkkhPsAV8xIBjGCXq0Btb2XOYIw94tquAkSGGNR X-Received: by 2002:a9d:3ea:: with SMTP id f97mr5246823otf.42.1579650404525; Tue, 21 Jan 2020 15:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579650404; cv=none; d=google.com; s=arc-20160816; b=IT/VIFSv8sexlVUI4MgkE7zEhlVxhW/k4Wnrwe5uVhS4ykELptiUvOVk6wMyI0RNTH OL6+02tNbxBbjqs7jFER3JfBzCko7VUjgVldv0h1RcuVbgx03jbruUq9bgduJ36ttnXV i6PG6OE7gxloSqIk+xBS7VANGP+NXaxntVGbxLy1TnicjWtnmG8Jdescn50MzZ4MkwEK jBSd2m7Uh7foa+20wrOZjESVzsLqZUCJLmWSON0V7smSNgzLL0UQGVVCESWHgNHl8rpa 4gpCJvl9zEhKMi+JhPduRxrN4gDYfY2VBqzRdpbeoWFTFgfZG7jS7GTzKhFP+YMwfxhM 4zrA== 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=HjUpoeX4YdaRqbuTABV6ngWl1iP5khVVeq5ucr6BmI4=; b=AkQaJTkrddmrQYM7qmD9zB4e0KjNNVb/mo+4Oiyw8b4B3z2HIjcz3KxLEDXVjT4lCn EbDp3QG6CRvPy33KSBGqj9dSwnteJ4SRIj/RwGB22nA6in3OicHDZmIl2r9pyeF4f7Gd PjHwaDx8augkgJ7mgua5jP1mSNK2RvXLLSxju0k2DB9nuYGN1pgSVf110Mxz+iFb2D/a PttgiwF39gVJpdeqBPn2EjixfmF1T2X5LnuEleWa3Zeq7oQLDkjHwcQwiLJRrf2JkjC1 ieq3gyJkjR3jp6odxtcFueXHpmZqnS2aV6rvPvWlhKT5PIH+ytXVI001TpzjVaEShK3v lJzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=A8+hE7I8; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y126si20495158oiy.235.2020.01.21.15.46.33; Tue, 21 Jan 2020 15:46:44 -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=@chromium.org header.s=google header.b=A8+hE7I8; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728901AbgAUXo4 (ORCPT + 99 others); Tue, 21 Jan 2020 18:44:56 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39770 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbgAUXo4 (ORCPT ); Tue, 21 Jan 2020 18:44:56 -0500 Received: by mail-pg1-f195.google.com with SMTP id 4so2387576pgd.6 for ; Tue, 21 Jan 2020 15:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HjUpoeX4YdaRqbuTABV6ngWl1iP5khVVeq5ucr6BmI4=; b=A8+hE7I8Bs79HcypjskxtoOMrmYsHUnGQYYKjvbT05uwioIjpjROOii8SdChwAwTRo n5FPoC5p9ffecmhCYCk7bac7FfCDg7KNxvC8f5tu1euT0ibfyKWgHJNsrDGrwkENbDTV iMxG8gErHP/g5bEM2WuA6rKRB2/y+t3rMK7lQ= 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=HjUpoeX4YdaRqbuTABV6ngWl1iP5khVVeq5ucr6BmI4=; b=NMSkv9a3O206znJ/JHano4NlQsQ4s97Bf3H7OVWZFy/oQ0gYyjm+bDyyWPuMjn5sY3 1udZTrg0wzvpe5jqHcMRF6BDXPYpOLgOqCTdi8Md4SqK7zT27YoF2PijP5acKtZdGiLD WiOePGgEsr2JhHzgTa4SdVfdmDaAVOiwusgh1C7v0xySBx9e0mGRFVtrfDzMbN9T/EGd HrfHoo3PT9VWPaiOLAIAxifd9rSqqs4/alXZZPD0cH66T19epu6+auofOfR23Iaq3B9+ RL/mB4cnQLNIvBcBnWrWQPwvjW06pThZLN/hUVceC2aG5YuHQpPFqLIOjUtVmfJKBp8M XDyg== X-Gm-Message-State: APjAAAVW76oc4qGUWrAnjQyTB+oab9Am90uDz6XCd2EkLg2TIo9ROnrM pjEPNbm5Ro0vez8YHs36PWG/gg== X-Received: by 2002:a62:788a:: with SMTP id t132mr14342pfc.134.1579650294897; Tue, 21 Jan 2020 15:44:54 -0800 (PST) Received: from localhost ([2620:15c:202:1:4fff:7a6b:a335:8fde]) by smtp.gmail.com with ESMTPSA id p28sm42695027pgb.93.2020.01.21.15.44.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 15:44:54 -0800 (PST) Date: Tue, 21 Jan 2020 15:44:52 -0800 From: Matthias Kaehlcke To: Maulik Shah Cc: agross@kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, swboyd@chromium.org, evgreen@chromium.org, dianders@chromium.org, devicetree@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Add cpuidle low power states Message-ID: <20200121234452.GW89495@google.com> References: <1572408318-28681-1-git-send-email-mkshah@codeaurora.org> <1572408318-28681-2-git-send-email-mkshah@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1572408318-28681-2-git-send-email-mkshah@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maulik, what is the state of this patch? Sudeep and Stephen had comments requesting minor changes, do you plan to send a v2 soon? Thanks Matthias On Wed, Oct 30, 2019 at 09:35:18AM +0530, Maulik Shah wrote: > Add device bindings for cpuidle states for cpu devices. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Maulik Shah > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 78 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 78 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index fceac50..69d5e2c 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -70,6 +70,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x0>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_0>; > L2_0: l2-cache { > compatible = "cache"; > @@ -85,6 +88,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x100>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_100>; > L2_100: l2-cache { > compatible = "cache"; > @@ -97,6 +103,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x200>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_200>; > L2_200: l2-cache { > compatible = "cache"; > @@ -109,6 +118,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x300>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_300>; > L2_300: l2-cache { > compatible = "cache"; > @@ -121,6 +133,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x400>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_400>; > L2_400: l2-cache { > compatible = "cache"; > @@ -133,6 +148,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x500>; > enable-method = "psci"; > + cpu-idle-states = <&LITTLE_CPU_SLEEP_0 > + &LITTLE_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_500>; > L2_500: l2-cache { > compatible = "cache"; > @@ -145,6 +163,9 @@ > compatible = "arm,armv8"; > reg = <0x0 0x600>; > enable-method = "psci"; > + cpu-idle-states = <&BIG_CPU_SLEEP_0 > + &BIG_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_600>; > L2_600: l2-cache { > compatible = "cache"; > @@ -157,12 +178,69 @@ > compatible = "arm,armv8"; > reg = <0x0 0x700>; > enable-method = "psci"; > + cpu-idle-states = <&BIG_CPU_SLEEP_0 > + &BIG_CPU_SLEEP_1 > + &CLUSTER_SLEEP_0>; > next-level-cache = <&L2_700>; > L2_700: l2-cache { > compatible = "cache"; > next-level-cache = <&L3_0>; > }; > }; > + > + idle-states { > + entry-method = "psci"; > + > + LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { > + compatible = "arm,idle-state"; > + idle-state-name = "little-power-down"; > + arm,psci-suspend-param = <0x40000003>; > + entry-latency-us = <350>; > + exit-latency-us = <461>; > + min-residency-us = <1890>; > + local-timer-stop; > + }; > + > + LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { > + compatible = "arm,idle-state"; > + idle-state-name = "little-rail-power-down"; > + arm,psci-suspend-param = <0x40000004>; > + entry-latency-us = <360>; > + exit-latency-us = <531>; > + min-residency-us = <3934>; > + local-timer-stop; > + }; > + > + BIG_CPU_SLEEP_0: cpu-sleep-1-0 { > + compatible = "arm,idle-state"; > + idle-state-name = "big-power-down"; > + arm,psci-suspend-param = <0x40000003>; > + entry-latency-us = <264>; > + exit-latency-us = <621>; > + min-residency-us = <952>; > + local-timer-stop; > + }; > + > + BIG_CPU_SLEEP_1: cpu-sleep-1-1 { > + compatible = "arm,idle-state"; > + idle-state-name = "big-rail-power-down"; > + arm,psci-suspend-param = <0x40000004>; > + entry-latency-us = <702>; > + exit-latency-us = <1061>; > + min-residency-us = <4488>; > + local-timer-stop; > + }; > + > + CLUSTER_SLEEP_0: cluster-sleep-0 { > + compatible = "arm,idle-state"; > + idle-state-name = "cluster-power-down"; > + arm,psci-suspend-param = <0x400000F4>; > + entry-latency-us = <3263>; > + exit-latency-us = <6562>; > + min-residency-us = <9987>; > + local-timer-stop; > + }; > + }; > }; > > memory@80000000 { > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >