From patchwork Fri Oct 24 23:40:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 39507 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB8F920341 for ; Fri, 24 Oct 2014 23:41:22 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id a1sf1165687wgh.1 for ; Fri, 24 Oct 2014 16:41:22 -0700 (PDT) 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=rEqRXuNOlh7Cg2s1WEvoAqUYMJzzxW7m5ZccFz/veco=; b=UT0zYsGwWfue3W4Nf0kGiK9Z14JbSnKw+/awne2ydNSYoWAvyQSAOb+WWG9k3yYTDI gFy3iv3kL9/0BeloFzAXO/5fEpVvot3uG6Bv2LeLr675gbloO/yAWiKn1sUE0ciDRYiq 5fn/HmHEXEBb9DhFZCF/HsvQ22BwZKksgeEREsJq1RqWeqjFgb/lu04mQSKHmmvchuUd p90x9GCinnJt23+jn0dBuk3l1AC4vzLnI25vbnj0K4NaIv5Vk9tx64OYw0Bda1iNC8Ks ZQjdHbbIBlhG+j3LKKMIfaGnmiWUOTIJOnUTj6QslHFgb6Npkq4ILfFkH1bRCUxjsHjD nDig== X-Gm-Message-State: ALoCoQmgOV9v3hDskWg5nWWIW46q7IQ+jFq0e/NW2+z3VyAo/ZkoEY+XMrHdoZRZeL00PCfs+tx4 X-Received: by 10.112.247.74 with SMTP id yc10mr2938939lbc.8.1414194081938; Fri, 24 Oct 2014 16:41:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.41 with SMTP id s9ls503318lae.41.gmail; Fri, 24 Oct 2014 16:41:21 -0700 (PDT) X-Received: by 10.112.150.136 with SMTP id ui8mr7582756lbb.60.1414194081244; Fri, 24 Oct 2014 16:41:21 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id oi5si8894123lbb.135.2014.10.24.16.41.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Oct 2014 16:41:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id b6so3357869lbj.3 for ; Fri, 24 Oct 2014 16:41:21 -0700 (PDT) X-Received: by 10.152.27.38 with SMTP id q6mr5988211lag.92.1414194080897; Fri, 24 Oct 2014 16:41:20 -0700 (PDT) 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.84.229 with SMTP id c5csp519003lbz; Fri, 24 Oct 2014 16:41:20 -0700 (PDT) X-Received: by 10.70.102.205 with SMTP id fq13mr7746945pdb.136.1414194070689; Fri, 24 Oct 2014 16:41:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pw4si5282886pbb.98.2014.10.24.16.41.10 for ; Fri, 24 Oct 2014 16:41:10 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-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 S932977AbaJXXlH (ORCPT + 5 others); Fri, 24 Oct 2014 19:41:07 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:43728 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933050AbaJXXlE (ORCPT ); Fri, 24 Oct 2014 19:41:04 -0400 Received: by mail-pa0-f44.google.com with SMTP id et14so2019657pad.3 for ; Fri, 24 Oct 2014 16:41:03 -0700 (PDT) X-Received: by 10.68.228.102 with SMTP id sh6mr8053069pbc.12.1414194063492; Fri, 24 Oct 2014 16:41:03 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id fm15sm4774620pdb.58.2014.10.24.16.41.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Oct 2014 16:41:02 -0700 (PDT) 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 v9 9/9] arm: dts: qcom: Add idle state device nodes for 8064 Date: Fri, 24 Oct 2014 17:40:24 -0600 Message-Id: <1414194024-55547-10-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1414194024-55547-1-git-send-email-lina.iyer@linaro.org> References: <1414194024-55547-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@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.172 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 state device bindings for cpuidle support in APQ8064. Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-apq8064.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 9fd24bc..3eaf242 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -23,6 +23,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc0>; qcom,saw = <&saw0>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@1 { @@ -33,6 +34,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc1>; qcom,saw = <&saw1>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@2 { @@ -43,6 +45,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc2>; qcom,saw = <&saw2>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@3 { @@ -53,12 +56,30 @@ next-level-cache = <&L2>; qcom,acc = <&acc3>; qcom,saw = <&saw3>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; L2: l2-cache { compatible = "cache"; cache-level = <2>; }; + + 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 = <400>; + exit-latency-us = <900>; + min-residency-us = <3000>; + }; + }; + }; cpu-pmu {