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: 5150591 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6E2659F374 for ; Fri, 24 Oct 2014 23:41:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9FC382026D for ; Fri, 24 Oct 2014 23:41:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B24E220295 for ; Fri, 24 Oct 2014 23:41:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932977AbaJXXlH (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xxj6QMUaZMSQaOXEIwRdOayB/FvQEhqLclxmW78A0pc=; b=DqFxrHVn+rMON/JNtKNxqt/tBFHm3kwTnmOAISmXGASs6YVFF5opaJpMFKybLr6MXR +QLOMBeRO/IqRy8Iulq6nVBv29rddfnFJYd2xWdE3TZrgWf1g1JtSeVkOLeXeoyjEJQQ qDo+xbGC9HKeLGHcUWdL4uqjZeQgVFcohYRmuNmqSmg3S88aX5ZvKwYuCbTaItppZBCw Becweql+zeGVF8LIQtDiYHcT9vzRPsLcIoHoBBCHMca9jZNvaSs5mqyN5jEdiba7b8QS Y/SFeez0GQuv8YgGYm5Cxd6fUlYc5ASnP+9/GaqRXrv+oafQ8hy+lKAmYK0nyEESXu+I 4r3g== X-Gm-Message-State: ALoCoQniRkDJrfEhab6LY8sncOjuUwroYckAATqBTaNfE7zoFlnM/P3dSKezgV6th18lV3HIOxtf 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: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {