From patchwork Mon Mar 9 15:16:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 45549 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E28AE20285 for ; Mon, 9 Mar 2015 15:18:41 +0000 (UTC) Received: by lbdu14 with SMTP id u14sf23789102lbd.3 for ; Mon, 09 Mar 2015 08:18:40 -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=pWXd3gLtgjOdRAScbqmoWfEuHb/l0w2ir3iebsUGCko=; b=gLc4PaB7jZkpfRbp/T5sLfO5hkErQT45QZLvA4fXPRPQKt6i0xbRKFtcnCOfca6UgH 437SdzWjF0Fktc/kIkwSDwD9sRgQTFRPHdGf/IcZJenpV/qoTo8fv/VouDMKrnOghG64 xBlYzlLtrMgNqGA/FRJal44JzTiCGrC+kIUnvYkE/9/auLVYpc8yyFzSLua/Ts/vh3v2 mit8TqLis/8s1lCoDkeJoHHv8WFQ332ggIBAlkS1HdGLEbIphFUJ00e1vJPpA2AjjAl0 j8b79kvQ1IU35dz7rCAeY++Vi8Ofv7zsIQizGWL3C4Mc/KLbLjewncYE6ZenpgUhSOb0 a6Ow== X-Gm-Message-State: ALoCoQl5JhrqXrAzCpIuBdtaR6oPO+z7kQHTnqlom8wP023ButVVKEnzkQ9MHRqGoLAWL7SfpCN3 X-Received: by 10.112.162.135 with SMTP id ya7mr3980756lbb.14.1425914320853; Mon, 09 Mar 2015 08:18:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.132 with SMTP id b4ls329565lah.33.gmail; Mon, 09 Mar 2015 08:18:40 -0700 (PDT) X-Received: by 10.112.130.100 with SMTP id od4mr3603180lbb.86.1425914320701; Mon, 09 Mar 2015 08:18:40 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id ls12si14509617lac.132.2015.03.09.08.18.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 08:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbdu10 with SMTP id u10so24843570lbd.4 for ; Mon, 09 Mar 2015 08:18:40 -0700 (PDT) X-Received: by 10.152.28.5 with SMTP id x5mr25920850lag.112.1425914320608; Mon, 09 Mar 2015 08:18:40 -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.35.133 with SMTP id h5csp1547469lbj; Mon, 9 Mar 2015 08:18:39 -0700 (PDT) X-Received: by 10.66.167.232 with SMTP id zr8mr26898325pab.23.1425914289223; Mon, 09 Mar 2015 08:18:09 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si31186330pde.58.2015.03.09.08.18.07; Mon, 09 Mar 2015 08:18:09 -0700 (PDT) Received-SPF: none (google.com: linux-pm-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 S1753062AbbCIPR4 (ORCPT + 11 others); Mon, 9 Mar 2015 11:17:56 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:46792 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753778AbbCIPRg (ORCPT ); Mon, 9 Mar 2015 11:17:36 -0400 Received: by pabli10 with SMTP id li10so73401174pab.13 for ; Mon, 09 Mar 2015 08:17:36 -0700 (PDT) X-Received: by 10.66.62.201 with SMTP id a9mr54850031pas.101.1425914255910; Mon, 09 Mar 2015 08:17:35 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by mx.google.com with ESMTPSA id pm9sm6639462pdb.59.2015.03.09.08.17.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Mar 2015 08:17:35 -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 v15 10/11] ARM: dts: qcom: Add idle state device nodes for 8064 Date: Mon, 9 Mar 2015 09:16:45 -0600 Message-Id: <1425914206-22295-11-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1425914206-22295-1-git-send-email-lina.iyer@linaro.org> References: <1425914206-22295-1-git-send-email-lina.iyer@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@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.173 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 for APQ 8064. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Cc: Kumar Gala Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 9fd24bc..08893fd 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,31 @@ 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 {