From patchwork Fri Nov 21 18:03:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 41342 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EA7A921459 for ; Fri, 21 Nov 2014 18:04:37 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf18132wiw.8 for ; Fri, 21 Nov 2014 10:04:32 -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=RK8g7E08sQnlYMMqCqT+V5V16DCrPSrwawXP7ItUybw=; b=GOn8+KnG4h5M5Qv8BNg7+S6l4i5AWINCtg/ZHAyZwGesGwqDvZSfyHDXku/UwO6QFB q+dBi0YxUQJ6nXBfh1AjVZ9klA8gRHkgS8riGurib2Hjt1odMKmdO00Bnr53eG92EWbx 5/b4Y63VuiXmOxdqh69oGwoMiFC45azo5jWfD7eXSiKuk3X8thLmrPgIJ6bWIucWYvXb IRHetbXxBGb/srYp65ujTa0UkfxCHpwh0txfENLTE3DzwyiYpIXxweZRd3BFy75T3rid w9rmjQz/UZm6Mj/Z0zLrM7R34EwabKTtho1EN3LqG+FOJq4yoJeirVVd0u7xiSHPwnMh VvNw== X-Gm-Message-State: ALoCoQnfOikwvC84oEkUdo8tia7jZBHgu2z26cUEo1iFBHBBlYd1PEst7GNGJn+X9ukVUupOdoGn X-Received: by 10.180.189.116 with SMTP id gh20mr5343254wic.2.1416593072678; Fri, 21 Nov 2014 10:04:32 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.2 with SMTP id m2ls241221laj.70.gmail; Fri, 21 Nov 2014 10:04:31 -0800 (PST) X-Received: by 10.152.21.9 with SMTP id r9mr6880298lae.76.1416593071870; Fri, 21 Nov 2014 10:04:31 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id o2si6699350lal.101.2014.11.21.10.04.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Nov 2014 10:04:30 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id pv20so4692631lab.37 for ; Fri, 21 Nov 2014 10:04:30 -0800 (PST) X-Received: by 10.112.138.137 with SMTP id qq9mr6760976lbb.80.1416593070634; Fri, 21 Nov 2014 10:04:30 -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 ew9csp138587lbc; Fri, 21 Nov 2014 10:04:29 -0800 (PST) X-Received: by 10.70.100.227 with SMTP id fb3mr9342798pdb.159.1416593062573; Fri, 21 Nov 2014 10:04:22 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xj9si10077613pab.73.2014.11.21.10.04.21 for ; Fri, 21 Nov 2014 10:04:22 -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 S1750986AbaKUSET (ORCPT + 4 others); Fri, 21 Nov 2014 13:04:19 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:45061 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbaKUSER (ORCPT ); Fri, 21 Nov 2014 13:04:17 -0500 Received: by mail-pa0-f53.google.com with SMTP id kq14so5278879pab.26 for ; Fri, 21 Nov 2014 10:04:17 -0800 (PST) X-Received: by 10.66.90.230 with SMTP id bz6mr9167844pab.125.1416593057031; Fri, 21 Nov 2014 10:04:17 -0800 (PST) Received: from ubuntu.localdomain (pat_11.qualcomm.com. [192.35.156.11]) by mx.google.com with ESMTPSA id qh4sm5411466pbb.35.2014.11.21.10.04.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Nov 2014 10:04:16 -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 v10 08/10] arm: dts: qcom: Add idle states device nodes for 8074 Date: Fri, 21 Nov 2014 11:03:55 -0700 Message-Id: <1416593037-27527-9-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1416593037-27527-1-git-send-email-lina.iyer@linaro.org> References: <1416593037-27527-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.215.50 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 --- 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 80a4467..e68b40f 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 {