Message ID | 1395142132-20788-2-git-send-email-lorenzo.pieralisi@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCXK7HEV3YBRBVO3UCMQKGQEDHZB44A@linaro.org> 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 <linaro@patches.linaro.org>; Tue, 18 Mar 2014 11:28:21 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id j5sf16012368qga.2 for <linaro@patches.linaro.org>; 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 <patchwork-forward@linaro.org> (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 <patchwork-forward@linaro.org>; 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 <patch@linaro.org> (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 <lorenzo.pieralisi@arm.com> 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 <mark.rutland@arm.com>, Mike Turquette <mturquette@linaro.org>, Tomasz Figa <t.figa@samsung.com>, Mark Hambleton <mark.hambleton@broadcom.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Russell King <linux@arm.linux.org.uk>, Sebastian Capella <sebastian.capella@linaro.org>, Nicolas Pitre <nico@linaro.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, linux-arm-kernel@lists.infradead.org, Grant Likely <grant.likely@linaro.org>, Dave Martin <dave.martin@arm.com>, Charles Garcia Tobin <Charles.Garcia-Tobin@arm.com>, Kevin Hilman <khilman@linaro.org>, linux-pm@vger.kernel.org, Kumar Gala <galak@codeaurora.org>, Rob Herring <robh+dt@kernel.org>, Vincent Guittot <vincent.guittot@linaro.org>, Antti Miettinen <ananaza@iki.fi>, Peter De Schrijver <pdeschrijver@nvidia.com>, Stephen Boyd <sboyd@codeaurora.org>, Amit Kucheria <amit.kucheria@linaro.org>, Mark Brown <broonie@kernel.org>, Santosh Shilimkar <santosh.shilimkar@ti.com>, Hanjun Guo <hanjun.guo@linaro.org>, Sudeep Holla <sudeep.holla@arm.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
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: <u32> + 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
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 <lorenzo.pieralisi@arm.com> --- Documentation/devicetree/bindings/arm/psci.txt | 11 +++++++++++ 1 file changed, 11 insertions(+)