From patchwork Thu Nov 27 05:24:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 41601 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EA1AB25E18 for ; Thu, 27 Nov 2014 05:25:37 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf2724326eek.5 for ; Wed, 26 Nov 2014 21:25:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=rCfMKGqsQEZYdKTnNgwuJ1MPw1iSahfivJgACLEAg7s=; b=RnOHQXqj3rpq1Cn+tEwUAhQX+Iulx2JiC8DPNok0IW+6Fw0o/NO2d4sNNkPtmUjjS7 bi8a1lTfw4X/6dgfqRdXAkNcsiMEMBQa5q5wrm+I9Bb3S8I9Q2dGgIm9EJFhPp78aqWs YTVbgG8HXlIJ8K9cZTVUUdXCPa87ohGDV/rP5ZFaIeMfrXzGxYICbKfjnJGAZRacxdYu LICpaFXEQtIdReJK5jviHFXdMSNQw6ceXQ5s5dDLbHXHhTg+1GtuFQYLJmiQbi5OW5Pt QxMXn8U5z8nf/sqvw5lEPdlKhkrmipBMmbn7feie8LLSpv9Eg/aTsQ0dp/bcanHTafXk 3v+w== X-Gm-Message-State: ALoCoQnSXZ6g8IHmqiX4H65Qoikrw9+ia4jfUxFTNRlDJKO30BdB0L9M5sUANJkOAQfajpfYHE+z X-Received: by 10.112.168.228 with SMTP id zz4mr9120942lbb.7.1417065937159; Wed, 26 Nov 2014 21:25:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.137 with SMTP id o9ls650036lal.17.gmail; Wed, 26 Nov 2014 21:25:36 -0800 (PST) X-Received: by 10.112.234.201 with SMTP id ug9mr37690811lbc.14.1417065936694; Wed, 26 Nov 2014 21:25:36 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id e3si6175125lbc.112.2014.11.26.21.25.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 21:25:36 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id n15so3621452lbi.16 for ; Wed, 26 Nov 2014 21:25:36 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr36604082laz.27.1417065936616; Wed, 26 Nov 2014 21:25:36 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp747406lbc; Wed, 26 Nov 2014 21:25:35 -0800 (PST) X-Received: by 10.68.90.225 with SMTP id bz1mr58671220pbb.153.1417065915166; Wed, 26 Nov 2014 21:25:15 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sx4si4119657pbc.127.2014.11.26.21.25.12 for ; Wed, 26 Nov 2014 21:25:15 -0800 (PST) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751509AbaK0FYr (ORCPT + 4 others); Thu, 27 Nov 2014 00:24:47 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:37248 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753933AbaK0FYq (ORCPT ); Thu, 27 Nov 2014 00:24:46 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so4330404pab.0 for ; Wed, 26 Nov 2014 21:24:45 -0800 (PST) X-Received: by 10.70.26.35 with SMTP id i3mr60851356pdg.84.1417065885566; Wed, 26 Nov 2014 21:24:45 -0800 (PST) Received: from ubuntu.localdomain (c-24-8-37-141.hsd1.co.comcast.net. [24.8.37.141]) by mx.google.com with ESMTPSA id wl10sm5829131pbc.58.2014.11.26.21.24.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Nov 2014 21:24:44 -0800 (PST) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, sboyd@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lorenzo.pieralisi@arm.com, msivasub@codeaurora.org, devicetree@vger.kernel.org, Lina Iyer Subject: [PATCH v13 08/10] arm: dts: qcom: Add idle states device nodes for 8074 Date: Wed, 26 Nov 2014 22:24:12 -0700 Message-Id: <1417065854-37745-9-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417065854-37745-1-git-send-email-lina.iyer@linaro.org> References: <1417065854-37745-1-git-send-email-lina.iyer@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lina.iyer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add ARM common idle states device bindings for cpuidle support for APQ 8074/8974. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 5a41f44..6942b46 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -22,6 +22,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc0>; qcom,saw = <&saw0>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@1 { @@ -32,6 +33,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc1>; qcom,saw = <&saw1>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@2 { @@ -42,6 +44,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc2>; qcom,saw = <&saw2>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@3 { @@ -52,6 +55,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc3>; qcom,saw = <&saw3>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; L2: l2-cache { @@ -59,6 +63,22 @@ cache-level = <2>; qcom,saw = <&saw_l2>; }; + + idle-states { + CPU_STBY: standby { + compatible = "qcom,idle-state-stby", "arm,idle-state"; + entry-latency-us = <1>; + exit-latency-us = <1>; + min-residency-us = <2>; + }; + + CPU_SPC: spc { + compatible = "qcom,idle-state-spc", "arm,idle-state"; + entry-latency-us = <150>; + exit-latency-us = <200>; + min-residency-us = <2000>; + }; + }; }; cpu-pmu {