From patchwork Fri Aug 8 04:05:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 4693591 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 99452C033A for ; Fri, 8 Aug 2014 04:05:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6BED2018E for ; Fri, 8 Aug 2014 04:05:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5AC92018A for ; Fri, 8 Aug 2014 04:05:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752874AbaHHEFr (ORCPT ); Fri, 8 Aug 2014 00:05:47 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:58590 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761AbaHHEFr (ORCPT ); Fri, 8 Aug 2014 00:05:47 -0400 Received: by mail-pa0-f50.google.com with SMTP id et14so6482591pad.23 for ; Thu, 07 Aug 2014 21:05:47 -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=lQIZkdXbUqASfHdMPBO2oZWzYrWSoE4EvmNCwYbHMUE=; b=iIVHybcnEokfVRngElrBSX+eyLYE52Er8sNFiQiWvmVgmU3YFsuYfPiLYh6nEXH/i0 TuKfQl58hzbNtruBU/XopFy9eoCjYMdyeg9oVHwKeAytP/imN66T10LlVuwrPqpcEqeg x0aE6FrqFVa3Yh25jGxaXEU+9LIf/V8mF+WfVcg+UCxoiCj9RB4/taTG3TbbR2rAt2KF r2Eh/5rifjwdUVCBwdPfnKuWMlvcqp1aeinxv+z/EnBimNvyYxAJSILUUf2IzZU97HDj PhWaDR+x96ZWGS5Tu/LGhzcNBc9zn3wuzICECrx5ZIRO1yYRUide/pwcYORL3B+P3+jL lalQ== X-Gm-Message-State: ALoCoQnG+DKberHg9SxEfHB6iisgYVQCNSfMopIK/ypKC68dN+38NAeZIW1UIbw5G+/iOz4pllbX X-Received: by 10.66.100.170 with SMTP id ez10mr21646010pab.12.1407470746981; Thu, 07 Aug 2014 21:05:46 -0700 (PDT) Received: from localhost.localdomain (c-24-8-37-141.hsd1.co.comcast.net. [24.8.37.141]) by mx.google.com with ESMTPSA id n8sm2163342pdm.22.2014.08.07.21.05.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 21:05:46 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, amit.kucheria@linaro.org, sboyd@codeaurora.org, davidb@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: msivasub@codeaurora.org, bryanh@codeaurora.org, Lina Iyer Subject: [RFC] [PATCH 08/13] arm: dts: qcom: Add device binding for sleep status Date: Thu, 7 Aug 2014 22:05:17 -0600 Message-Id: <1407470722-23015-9-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407470722-23015-1-git-send-email-lina.iyer@linaro.org> References: <1407470722-23015-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=-7.6 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 QCOM processors get the feedback on the processor subsystem logic that notifies when the processor has entered the low power state. This is used for pm to gaurantee that the processor is indeed in its low power state before the associated resources can be turned off. Signed-off-by: Mahesh Sivasubramanian Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi index 8eb934e..8fe00f1 100644 --- a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi @@ -115,4 +115,11 @@ qcom,cpu-vctl-mask = <0xf>; qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; }; + + qcom,cpu-sleep-status@f9088008 { + compatible = "qcom,cpu-sleep-status"; + reg = <0xf9088008 0x100>; + qcom,cpu-alias-addr = <0x10000>; + qcom,sleep-status-mask= <0x80000>; + }; };