Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6542329yba; Tue, 14 May 2019 09:14:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjBylSHl1e+vEpZIBjsULKL/AmtP0rgbcmko/J8lKm3qi0S1cQH9mPZ34fJOUR5W3GzMqy X-Received: by 2002:aa7:96ec:: with SMTP id i12mr28720175pfq.82.1557850467504; Tue, 14 May 2019 09:14:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557850467; cv=none; d=google.com; s=arc-20160816; b=LEtOpaajWLHtVgGA0f+hoQyMVeMwu4blsH9YrGU0GHgRMmBgMdW/qtl833GkuYiVb7 Auo/EV1Q8BBn3zPJ96BvZXQBmxneh54BrJafrc3gNHdOjJORwxzhRrDZ2WSdO7bH5NOh a3Wj5zWSfqsP4usG/bN4CQ8RZBkKhb37D4ISAUT9CnQRLABiFX/ovRIwX6lh7yd6sPO8 OUNLRB3LFcmpN7w0pJNrhHW+Q/tL8F7AERHmUYgmEhRiSJimotC2IRY+sfFGZf0mjI2t IjDXXof71hJZyXCSiWImya73IdJigoUaPaaB+53SREcHT5OqFVY0mw1/ybf8xJ4c4vLf OBnA== 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=0QxQLniEtG81+kyArEQM4sajonuLI/d4dsOlin13g+k=; b=zQUkkA+oF/fgsAJXgO74ikmcOGzEk6cFhgXc7npSzShs5F45lRvgpOQA7UUdmXWMlQ fp1eoKs7IBxUqHZ2sWom0JRHR8ptNwH41fMvURlTaf3XnzaIqAFyb4VbAhSuHrEIxih/ w1+/60pKVpsjsXxDhx97EF8LqP/PU/TGNP/yLDjLMA2n+OqeDSBeCQth9Cqh1vhSlgM+ ku5Z/5jYIAuv0UTdtaNlfst3ojJ7ZVz6yRXG5kOmZrDcerYggwq3VMz6NwalX+C5hNkd w7F5v9SFKaSf9AmRo6VkcNMAnnU7L7/QzCk17qFxYEFpEWC4/aISGbAwA7Fcgc1FT9sT Shog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eenmdHUS; 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 o6si20492464plk.296.2019.05.14.09.14.12; Tue, 14 May 2019 09:14:27 -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=eenmdHUS; 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 S1726494AbfENQMk (ORCPT + 99 others); Tue, 14 May 2019 12:12:40 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:36247 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbfENQMj (ORCPT ); Tue, 14 May 2019 12:12:39 -0400 Received: by mail-lf1-f65.google.com with SMTP id y10so12353170lfl.3 for ; Tue, 14 May 2019 09:12:38 -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=0QxQLniEtG81+kyArEQM4sajonuLI/d4dsOlin13g+k=; b=eenmdHUSIm3Tz7X70d847Bpnla+2zhuJtXMT/tmzVk2AvrfI2No6UPc8DYYj2ZMaVt INXyC+MAH0BCNBy9W+jK1WWLPyLbKQkmY9O2xdenMkk8sVzmYpy0m6A9QiO7+yIULATg qQMqSa42+mQn5/eCYdtsdhrLjfBY9YpkDnwULLmqupWSnbwuz1uj7BWh9Ew13En70x5G 4LuYK+jxQ/0TQuj0xH8eSZIPlDXLyK7js7ve469VUwrx+MDmmNHxT+PTR/hvEEHE00KZ fwRaGiRa5cboHR48kbERBTIg6+jXKlOd8euphr53VklwV9N/wtoghNeIuwAtwbMx3TEm tPwQ== 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=0QxQLniEtG81+kyArEQM4sajonuLI/d4dsOlin13g+k=; b=RHh/VoDqc1W+o+odrAsT2QRSiUhI7R40XopOBx2J9uAkFTYZKR0O91VrKm7yU0PC5g 5gF4n2qT0Fnxjk2BJAqEzCSgCpTS3UZVjLuBAVEHgqxoIHjKIm+OpEnO9StU0TO+Rr7A uwo91IHEtHWqGw3sU0yXWLfHJV0T4/4OhGZKxuCIt4jA1CUcrld/Y4ylJcvfJmGne6jY CksHgHkl8To7rTVbolOxXXB87Tdj5n1yc8FPBT2eJeBbn1C86xk1IkoYE7zoRMMmNgJi MFaC3aSUAs3sXFSZHNY8y+6ZoAOoLLSNdbkDYTWGpG6X5265dTUY9EOgVPIdvEB1KrBW jXyg== X-Gm-Message-State: APjAAAUdCV+qY+dPTeiCOgAuNHvdiKGA9qIMMFiRCo7mIeWdND9uSIRf Qv3jIG2B4W3pfCzqZuIppavCXg== X-Received: by 2002:a19:81d4:: with SMTP id c203mr17305334lfd.160.1557850357833; Tue, 14 May 2019 09:12:37 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id x2sm3699922ljx.13.2019.05.14.09.12.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 14 May 2019 09:12:37 -0700 (PDT) Date: Tue, 14 May 2019 18:12:35 +0200 From: Niklas Cassel To: Amit Kucheria Cc: 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 , devicetree@vger.kernel.org Subject: Re: [PATCHv1 5/8] arm64: dts: qcom: qcs404: Add PSCI cpuidle low power states Message-ID: <20190514161235.GD1824@centauri.ideon.se> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 10, 2019 at 04:59:43PM +0530, 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 > --- > 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"; Please add a space before and after "=". > + > + CPU_SLEEP_0: cpu-sleep-0 { Regarding CPU_SLEEP_0 vs CPU_PC, see my comment on patch 4/8. > + 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 >