Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3332016yba; Mon, 6 May 2019 22:37:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJwtaZKDZeUp853gvVmH5pyOHXfyyz+wDR0tb8P9v+GC3RzShWBobUc/HnMvAdACeEJFBb X-Received: by 2002:a62:544:: with SMTP id 65mr38456653pff.46.1557207462831; Mon, 06 May 2019 22:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557207462; cv=none; d=google.com; s=arc-20160816; b=dols78Hx6sIzK9VI1Nxfo6zsC+3JIeDq9K7TrnTZ/CbVDj2kUcXaI6oL/zxHerDfNQ xTkdce8lVhJBTfIKkMO/FCgSnjeLkZiqpbQMJX+gIUwzjnVKq1pBfkZIXVvN+aL2O6qt EQuMYjGBhRkeqIQTJwnzYisZJLgruhdlf4iAM+vIbIHZNQ5+PaeeJMrgX7RK4c8K4kve h6qa0XAfVX3jYWG60b6PFWMDgiSzMr1VIlKwrdYzKq2CS9QizIobfnFagI1FZ4+9ynKi yw4GEV9kmE3JX3DHbGJha4IRb0+S/g+T+zpqBYHv2f9slcITMkXzSt3GJ7ZSsSj88W7z Qyew== 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=KDYIsP7gSVTppe6DWdWIt+gxxMlPza/5ESHKpvYgI5s=; b=S5GwwGrgcaln+VD+NxyRdsmjqq8nsnLe089PhTpL1/HlhhQM10p+CLHANiNc/MXevY j9Mj7sTbLDa29BZD0+nbduBTTfLiyC2yvwDma1UcIz48rzEuf+rAVHr1RBgaONvObOIW 5GKvj5ygjLUX/hPhn6hw9q7rZkfFmjfPmZ9SnfQgYMt20zkCvbKYcYDkJv7f5BRc5p/Z 7MXzAzc5HrlNzcqZNZmB/nWAHrV3ukAtWK9p4u62Wz3zKh7b+OSfH8K9FZOmudJd/g8X sDNIfrslTvEcnCkJidBRQs4gRT/Gfb4BangDaOFPB51dYnSXmmtdZ3lGLpzW9ceOLV8W OmIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FqQwOTE8; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si9403964plr.69.2019.05.06.22.37.27; Mon, 06 May 2019 22:37:42 -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=@kernel.org header.s=default header.b=FqQwOTE8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727959AbfEGFgA (ORCPT + 99 others); Tue, 7 May 2019 01:36:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:55876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727921AbfEGFfx (ORCPT ); Tue, 7 May 2019 01:35:53 -0400 Received: from localhost (unknown [106.200.210.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BB9420C01; Tue, 7 May 2019 05:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557207353; bh=0L4usra1BWLLoQ6Ux30TjVYIwy8g90JNMEHJnbVW2bk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FqQwOTE8wHKh1em/Zw+yqD1h4HGq9lupWbgQrz3Bm+z+RBDstmOntfkEjUs9rx3Lm 1KMgqbvHgNrdG7Qw0Deeu4HAg+3I3eHQWYIDlxmcDAfcHhxl2UX6ZevSjoAg2Omf9z miHgPFGSBqPcBwBljOKqFhXBWZSaec0HfYrARRfU= Date: Tue, 7 May 2019 11:05:47 +0530 From: Vinod Koul To: Niklas Cassel Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , amit.kucheria@linaro.org, jorge.ramirez-ortiz@linaro.org, lina.iyer@linaro.org, ulf.hansson@linaro.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: qcs404: Add PSCI cpuidle support Message-ID: <20190507053547.GE16052@vkoul-mobl> References: <20190506193115.20909-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190506193115.20909-1-niklas.cassel@linaro.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06-05-19, 21:31, Niklas Cassel wrote: > Add device bindings for CPUs to suspend using PSCI as the enable-method. > > Signed-off-by: Niklas Cassel > --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi > index ffedf9640af7..f9db9f3ee10c 100644 > --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi > +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi > @@ -31,6 +31,7 @@ > reg = <0x100>; > enable-method = "psci"; > next-level-cache = <&L2_0>; > + cpu-idle-states = <&CPU_PC>; > }; > > CPU1: cpu@101 { > @@ -39,6 +40,7 @@ > reg = <0x101>; > enable-method = "psci"; > next-level-cache = <&L2_0>; > + cpu-idle-states = <&CPU_PC>; > }; > > CPU2: cpu@102 { > @@ -47,6 +49,7 @@ > reg = <0x102>; > enable-method = "psci"; > next-level-cache = <&L2_0>; > + cpu-idle-states = <&CPU_PC>; > }; > > CPU3: cpu@103 { > @@ -55,12 +58,24 @@ > reg = <0x103>; > enable-method = "psci"; > next-level-cache = <&L2_0>; > + cpu-idle-states = <&CPU_PC>; > }; > > L2_0: l2-cache { > compatible = "cache"; > cache-level = <2>; > }; > + > + idle-states { Since we are trying to sort the file per address and alphabetically, it would be great if this can be moved before l2-cache :) Other than that this lgtm > + CPU_PC: pc { > + compatible = "arm,idle-state"; > + arm,psci-suspend-param = <0x40000003>; > + entry-latency-us = <125>; > + exit-latency-us = <180>; > + min-residency-us = <595>; > + local-timer-stop; > + }; > + }; > }; > > firmware { > -- > 2.21.0 -- ~Vinod