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: 47308 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 DB29220553 for ; Fri, 17 Apr 2015 23:49:59 +0000 (UTC) Received: by wicmx19 with SMTP id mx19sf121050wic.3 for ; Fri, 17 Apr 2015 16:49:59 -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=h5haRZe2XRuA0w2JSDZhszJZ2KbGREHOA3FsVsIE3XI=; b=d99sptilk7DTizjMuAE18bInJ7hEy79BrISh+YDKAbo95rC7qUhrqJwi0XBiK9XbVr hnm3k/z/D1yNcWwgh1pfo8x9hllTFfpjP+nALkgu+QgNyzVDP1Pkp2g10wjKxmBaGqy/ raEgOpZuZFOMjzQEPVRTZGBu174pTtL7Gt8qsY2AqziW9cIhVLvVRuE8izlVZWyTiBX9 N6yAuaiBQLMGfX8x+1pwWqAyBsYmUOndJ+PGz8DxEtrDGp4M3qxRvlj0cSqhzCmoHVmE Z48T9IMTwrssyCfaJOr0V5OUtf6+0j3In3T2MhmE+2Do9zuSwTpRmQWXTEf6tf2rMs/z Az0A== X-Gm-Message-State: ALoCoQmLnCOWhNfOHCJ5ZHhcfNtZ1h5yfab0kgTUgr8C4xWlCDoUWxVvivck6AV0D4lU1mPERI0k X-Received: by 10.194.95.67 with SMTP id di3mr2532675wjb.0.1429314599162; Fri, 17 Apr 2015 16:49:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.131 with SMTP id dg3ls604407lac.74.gmail; Fri, 17 Apr 2015 16:49:58 -0700 (PDT) X-Received: by 10.112.210.230 with SMTP id mx6mr6483065lbc.64.1429314598842; Fri, 17 Apr 2015 16:49:58 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id p3si9810648lae.151.2015.04.17.16.49.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Apr 2015 16:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbqq2 with SMTP id qq2so94217969lbb.3 for ; Fri, 17 Apr 2015 16:49:58 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr6237722lbb.76.1429314598579; Fri, 17 Apr 2015 16:49:58 -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.67.65 with SMTP id l1csp262566lbt; Fri, 17 Apr 2015 16:49:57 -0700 (PDT) X-Received: by 10.70.125.162 with SMTP id mr2mr9363318pdb.21.1429314580342; Fri, 17 Apr 2015 16:49:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id by2si18511564pbb.237.2015.04.17.16.49.39; Fri, 17 Apr 2015 16:49:40 -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 S932102AbbDQXti (ORCPT + 5 others); Fri, 17 Apr 2015 19:49:38 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35682 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932074AbbDQXth (ORCPT ); Fri, 17 Apr 2015 19:49:37 -0400 Received: by pabtp1 with SMTP id tp1so140336870pab.2 for ; Fri, 17 Apr 2015 16:49:37 -0700 (PDT) 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 Cc: 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, msivasub@codeaurora.org, agross@codeaurora.org, mlocke@codeaurora.org, bryanh@codeaurora.org, Lina Iyer 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> 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.169 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 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>; + }; }; };