From patchwork Fri Apr 17 23:49:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 6236041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 46FB49F2EC for ; Fri, 17 Apr 2015 23:53:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7973E20398 for ; Fri, 17 Apr 2015 23:53:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A113120394 for ; Fri, 17 Apr 2015 23:53:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjG2g-0007l2-T7; Fri, 17 Apr 2015 23:51:26 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjG1G-0005zV-PR for linux-arm-kernel@lists.infradead.org; Fri, 17 Apr 2015 23:49:59 +0000 Received: by paboj16 with SMTP id oj16so140455108pab.0 for ; Fri, 17 Apr 2015 16:49:37 -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=3sAR/U1s1bI+KfcbFDoFrlLh+xQsMlYJo5bzGPg8jqc=; b=g1nk5dOksvIp8SchWOfvV4Ivw5CnbboaUjlgXV4T70moDns2JbBVm569YtnSr5w3fN cjtHc7mo2yIlqTtUXx+IdZexxVTYZgEI2zTAMCgBwe6xypyk7pw1Hhmu2UIvU7Y9/qJv bJFPvPH3USuPt00i9UYs+mQlBje+GqpXVgh1OqLIvekEx5XqhkzVMi0xpPL8OA61F/cz rt+J8I/6xIYRMfxxStA8yWXPSVZCSwT4Ia1ahdB8vZMEm4RgEkhngWNcjyX6f3vG3WHB 7Vd//2l0rgKFquzemS0RFdQ2Pccrdwwr3AFHN9NKMryAzIqmiWA7Adru6nYWeUhRGVNw 0iOQ== X-Gm-Message-State: ALoCoQkAylWmRQ36qT7Y1M9MYv72uofRBOsnzmUc0epPVYnHXUbncfhOZxIB4D7lsQoN4WxcrmVD X-Received: by 10.68.222.231 with SMTP id qp7mr9372903pbc.7.1429314577507; Fri, 17 Apr 2015 16:49:37 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by mx.google.com with ESMTPSA id hv7sm11157144pdb.86.2015.04.17.16.49.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Apr 2015 16:49:36 -0700 (PDT) From: Lina Iyer To: arnd@arndb.de, catalin.marinas@arm.com, mark.rutland@arm.com, Will.Deacon@arm.com, lorenzo.pieralisi@arm.com Subject: [PATCH RFC 6/7] arm64: dts: Add cpu idle states for 8916 Date: Fri, 17 Apr 2015 17:49:08 -0600 Message-Id: <1429314549-6730-7-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1429314549-6730-1-git-send-email-lina.iyer@linaro.org> References: <1429314549-6730-1-git-send-email-lina.iyer@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150417_164958_927169_B4C96E7C X-CRM114-Status: UNSURE ( 6.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: khilman@linaro.org, mlocke@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, sboyd@codeaurora.org, msivasub@codeaurora.org, bryanh@codeaurora.org, Lina Iyer , galak@codeaurora.org, linux-arm-kernel@lists.infradead.org, agross@codeaurora.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 states device bindings for cpuidle support for 8916 SOC. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index a3232be..3c46898 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -52,6 +52,7 @@ qcom,acc = <&acc0>; next-level-cache = <&L2_0>; qcom,saw = <&saw0>; + cpu-idle-states = <&CPU_SPC>; L2_0: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -67,6 +68,7 @@ qcom,acc = <&acc1>; next-level-cache = <&L2_0>; qcom,saw = <&saw1>; + cpu-idle-states = <&CPU_SPC>; }; CPU2: cpu@2 { @@ -77,6 +79,7 @@ qcom,acc = <&acc2>; next-level-cache = <&L2_0>; qcom,saw = <&saw2>; + cpu-idle-states = <&CPU_SPC>; }; CPU3: cpu@3 { @@ -87,6 +90,17 @@ qcom,acc = <&acc3>; next-level-cache = <&L2_0>; qcom,saw = <&saw3>; + cpu-idle-states = <&CPU_SPC>; + }; + + idle-states { + CPU_SPC: spc { + compatible = "qcom,idle-state-spc", + "arm,idle-state"; + entry-latency-us = <130>; + exit-latency-us = <150>; + min-residency-us = <2000>; + }; }; };