From patchwork Thu Nov 27 00:13:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 41583 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 544C225E74 for ; Thu, 27 Nov 2014 00:14:10 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id ex7sf2558356wid.3 for ; Wed, 26 Nov 2014 16:14:09 -0800 (PST) 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=gBKnFR4Etr9/Rgf60i/fMnhyIgDSAGXA7r6zqmLOAGk=; b=f9FK7gbRDRKYN8CoGHV4dmGd4iI8YnA1D9sIHLWJG6S//lOgSzuCcFKMTz0PuMJcui P2EOsdk4ErH3wNV4lddytpf+4cttkV+M39Gzh9FkJr5tRIsAEZnpIsborLDjcpzUVinE WTzsDHKRukGyet9lDVkZjPMkvPwDN7NeWQipa3XwcQsRBJJ/oCGlqRDe+zAW5QTwWfJh mT4K2qr1WZBY2QfeR5iHPcsHd9lYIaHnkn7LYgAVayp9kvSYKpVamNEXxL3Y/IG9Y8Ld 85CQggEYWwRz54VrwY/oxSylKbyQaUCpWboxaFkGSVdW/yaZVpyDSp5wafaZO66EGMKY +u8w== X-Gm-Message-State: ALoCoQmV0WiuskPHZDEH2KPc8SmwtuNj1ygVYvkobvjaBbu9zeKvoy7Veg4u+dDE13JdMs0qXscO X-Received: by 10.112.14.2 with SMTP id l2mr4970636lbc.5.1417047249649; Wed, 26 Nov 2014 16:14:09 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.226 with SMTP id b2ls715000lak.36.gmail; Wed, 26 Nov 2014 16:14:09 -0800 (PST) X-Received: by 10.112.65.195 with SMTP id z3mr5993173lbs.36.1417047249241; Wed, 26 Nov 2014 16:14:09 -0800 (PST) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id f8si5722278lab.102.2014.11.26.16.14.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 16:14:09 -0800 (PST) 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 u10so3330790lbd.31 for ; Wed, 26 Nov 2014 16:14:09 -0800 (PST) X-Received: by 10.152.6.228 with SMTP id e4mr36412898laa.71.1417047249149; Wed, 26 Nov 2014 16:14:09 -0800 (PST) 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.184.201 with SMTP id ew9csp722279lbc; Wed, 26 Nov 2014 16:14:08 -0800 (PST) X-Received: by 10.70.126.38 with SMTP id mv6mr58592413pdb.28.1417047234535; Wed, 26 Nov 2014 16:13:54 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rb4si9151119pab.48.2014.11.26.16.13.53 for ; Wed, 26 Nov 2014 16:13:54 -0800 (PST) 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 S1753585AbaK0ANt (ORCPT + 5 others); Wed, 26 Nov 2014 19:13:49 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:61837 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753467AbaK0ANs (ORCPT ); Wed, 26 Nov 2014 19:13:48 -0500 Received: by mail-pd0-f178.google.com with SMTP id g10so3796403pdj.9 for ; Wed, 26 Nov 2014 16:13:48 -0800 (PST) X-Received: by 10.70.93.104 with SMTP id ct8mr58111716pdb.72.1417047228323; Wed, 26 Nov 2014 16:13:48 -0800 (PST) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id yb8sm5403070pab.7.2014.11.26.16.13.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Nov 2014 16:13:47 -0800 (PST) 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 v12 09/10] arm: dts: qcom: Add idle states device nodes for 8084 Date: Wed, 26 Nov 2014 17:13:14 -0700 Message-Id: <1417047195-18978-10-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417047195-18978-1-git-send-email-lina.iyer@linaro.org> References: <1417047195-18978-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 states device bindings for cpuidle support for APQ 8084. Support standby and standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8084.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index 71182bf..7172edf 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi @@ -22,6 +22,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc0>; qcom,saw = <&saw0>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@1 { @@ -32,6 +33,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc1>; qcom,saw = <&saw1>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@2 { @@ -42,6 +44,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc2>; qcom,saw = <&saw2>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; cpu@3 { @@ -52,6 +55,7 @@ next-level-cache = <&L2>; qcom,acc = <&acc3>; qcom,saw = <&saw3>; + cpu-idle-states = <&CPU_STBY &CPU_SPC>; }; L2: l2-cache { @@ -59,6 +63,22 @@ cache-level = <2>; qcom,saw = <&saw_l2>; }; + + 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 = <150>; + exit-latency-us = <200>; + min-residency-us = <2000>; + }; + }; }; cpu-pmu {