From patchwork Tue Mar 18 11:28:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Pieralisi X-Patchwork-Id: 26483 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 73E87203C3 for ; Tue, 18 Mar 2014 11:28:21 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id j5sf16012368qga.2 for ; Tue, 18 Mar 2014 04:28:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=T0YCnSm3pTKoRnXcXagw8smSDQZv0s4SX9Ke9mjuE4A=; b=htwx3h+oJPgtYl0uZyvUlOOsOmVIBAIpMI2HsY/2AOYq8t2DB4PeQDtFIZc5FaWBOT bao2HQBxgK6ExcXLW+tmc9dr6T0jsuVTwxy1Tbz8J5HnYPJ/IJASLv7MgBI35H9H2kl3 qfQdBU7dF6jACHDNAbNlh2qhzPOJuVIC0zYGo+FW1q+cKroDQFHOmflwxnXx94zfjS6X T8qWH3DLS3Y5D2GV189S83Rc1+SyFn+7pzOzNwy4PhQCnxgvQDD4jbErmV42KUGj8M65 VlPrLIZNF78+kcgILpSUvU/dfBJuYHfUR/IqI5eoemyjl8foxmoGJXWlRG03XOQajA9V Djyg== X-Gm-Message-State: ALoCoQnHk+dBdkGVV81v0nLYfuO6ep6S4EKdY5wpxP1q5Cp2JLxDTWpaIKzEBDurJesYbIhn4iUV X-Received: by 10.58.210.2 with SMTP id mq2mr1890198vec.3.1395142101265; Tue, 18 Mar 2014 04:28:21 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.117 with SMTP id z108ls2053045qge.51.gmail; Tue, 18 Mar 2014 04:28:21 -0700 (PDT) X-Received: by 10.52.69.146 with SMTP id e18mr20642969vdu.15.1395142101153; Tue, 18 Mar 2014 04:28:21 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id i1si6360567vcl.81.2014.03.18.04.28.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Mar 2014 04:28:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id ks9so7183092vcb.27 for ; Tue, 18 Mar 2014 04:28:21 -0700 (PDT) X-Received: by 10.221.37.1 with SMTP id tc1mr2388284vcb.32.1395142100912; Tue, 18 Mar 2014 04:28:20 -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.220.78.9 with SMTP id i9csp197463vck; Tue, 18 Mar 2014 04:28:20 -0700 (PDT) X-Received: by 10.194.249.194 with SMTP id yw2mr1637834wjc.18.1395142099825; Tue, 18 Mar 2014 04:28:19 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id e3si7350642wic.76.2014.03.18.04.28.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Mar 2014 04:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPsBl-000150-9g; Tue, 18 Mar 2014 11:28:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPsBj-00072Q-F2; Tue, 18 Mar 2014 11:28:07 +0000 Received: from service87.mimecast.com ([91.220.42.44]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPsBg-00070g-39 for linux-arm-kernel@lists.infradead.org; Tue, 18 Mar 2014 11:28:05 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Tue, 18 Mar 2014 11:27:41 +0000 Received: from red-moon.cambridge.arm.com ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 18 Mar 2014 11:27:50 +0000 From: Lorenzo Pieralisi To: devicetree@vger.kernel.org Subject: [PATCH RFC v5 1/3] Documentation: devicetree: psci: define CPU suspend parameter Date: Tue, 18 Mar 2014 11:28:50 +0000 Message-Id: <1395142132-20788-2-git-send-email-lorenzo.pieralisi@arm.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1395142132-20788-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1395142132-20788-1-git-send-email-lorenzo.pieralisi@arm.com> X-OriginalArrivalTime: 18 Mar 2014 11:27:50.0182 (UTC) FILETIME=[1849C460:01CF429D] X-MC-Unique: 114031811274109001 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140318_072804_291901_D2398A97 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [91.220.42.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Mark Rutland , Mike Turquette , Tomasz Figa , Mark Hambleton , Lorenzo Pieralisi , Russell King , Sebastian Capella , Nicolas Pitre , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, Grant Likely , Dave Martin , Charles Garcia Tobin , Kevin Hilman , linux-pm@vger.kernel.org, Kumar Gala , Rob Herring , Vincent Guittot , Antti Miettinen , Peter De Schrijver , Stephen Boyd , Amit Kucheria , Mark Brown , Santosh Shilimkar , Hanjun Guo , Sudeep Holla X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lorenzo.pieralisi@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 OS layers built on top of PSCI to enter low-power states require the power_state parameter to be passed to the PSCI CPU suspend method. This parameter is specific to a power state and platform specific, therefore must be provided by firmware to the OS in order to enable proper call sequence. This patch adds a property in the PSCI bindings that describes how the CPU suspend power_state parameter should be defined in DT in all device nodes that rely on PSCI CPU suspend method usage. Signed-off-by: Lorenzo Pieralisi --- Documentation/devicetree/bindings/arm/psci.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index 433afe9..797c48f 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt @@ -42,6 +42,14 @@ Main node optional properties: - migrate : Function ID for MIGRATE operation +Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle +states bindings[1]) must specify the following properties: + +- entry-method-param + Usage: Required for idle states bindings [1]. + Value type: + Definition: power_state parameter to pass to the PSCI + suspend call. Example: @@ -53,3 +61,6 @@ Example: cpu_on = <0x95c10002>; migrate = <0x95c10003>; }; + +[1] Kernel documentation - ARM idle states bindings + Documentation/devicetree/bindings/arm/idle-states.txt