From patchwork Tue Feb 18 11:47:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Pieralisi X-Patchwork-Id: 24837 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8FB8A203BE for ; Tue, 18 Feb 2014 11:47:11 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id x10sf36874889pdj.4 for ; Tue, 18 Feb 2014 03:47:10 -0800 (PST) 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=WEtgMi+N9yMmk3jJ55AnV7M/P/ZoXtNyoIU9R/LiisY=; b=g8nZQsm6xEfoBQ6KJZD1rka7kQX81TQlQF2SB38HZYX9OdBGLMz7t4xiJZDoYW/eK1 V9ZFx1Zegy7bNKU6NVADqzqMhKMFrqaCFqzGsSTgBo9IJNA0dtgXtdr8XpzAcKraWABj yHu+yAaWANkPYEUyV5qOyEPP7mS3VGpwvSjMMg61D9YDhdy4IkhVXmaOQAvchRX/HFqA UMqk5cLl0VMGSg1lJD6fjv/dis1Z2E5XXTGBIEjDv4Eit04C2vWFIfsBK1KeHvUAqNli eMwkDNHxBJAApMFBdrR1NfIwrTD52W1jrPKZ11Zo8I2s+Ki7hRi0Lrh4P+C82aQEIbZ+ GEEw== X-Gm-Message-State: ALoCoQkVGXClg6WQYvpTChDq22tbZpjBpER5fNDutJxNbGcvq0aPUPE7MSKWmxshGgOtz1fq80dW X-Received: by 10.67.14.70 with SMTP id fe6mr12492064pad.15.1392724030704; Tue, 18 Feb 2014 03:47:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.20 with SMTP id e20ls1293042qgd.58.gmail; Tue, 18 Feb 2014 03:47:10 -0800 (PST) X-Received: by 10.221.29.196 with SMTP id rz4mr20927286vcb.8.1392724030540; Tue, 18 Feb 2014 03:47:10 -0800 (PST) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id eb8si5415525vdb.47.2014.02.18.03.47.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 03:47:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.170 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.170; Received: by mail-vc0-f170.google.com with SMTP id hu8so13277783vcb.1 for ; Tue, 18 Feb 2014 03:47:10 -0800 (PST) X-Received: by 10.52.65.207 with SMTP id z15mr7210vds.61.1392724030422; Tue, 18 Feb 2014 03:47:10 -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.220.174.196 with SMTP id u4csp210397vcz; Tue, 18 Feb 2014 03:47:09 -0800 (PST) X-Received: by 10.194.60.16 with SMTP id d16mr7904178wjr.46.1392724029033; Tue, 18 Feb 2014 03:47:09 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id hk7si14257392wjb.30.2014.02.18.03.47.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Feb 2014 03:47:09 -0800 (PST) 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 ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFj8f-00028Q-HB; Tue, 18 Feb 2014 11:47:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFj8c-0007lW-Vc; Tue, 18 Feb 2014 11:46:58 +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 1WFj8Z-0007kZ-WF for linux-arm-kernel@lists.infradead.org; Tue, 18 Feb 2014 11:46:56 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Tue, 18 Feb 2014 11:46:31 +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 Feb 2014 11:46:30 +0000 From: Lorenzo Pieralisi To: devicetree@vger.kernel.org Subject: [PATCH RFC v4 1/3] Documentation: devicetree: psci: define CPU suspend parameter Date: Tue, 18 Feb 2014 11:47:29 +0000 Message-Id: <1392724051-11950-2-git-send-email-lorenzo.pieralisi@arm.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1392724051-11950-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1392724051-11950-1-git-send-email-lorenzo.pieralisi@arm.com> X-OriginalArrivalTime: 18 Feb 2014 11:46:30.0368 (UTC) FILETIME=[10679600:01CF2C9F] X-MC-Unique: 114021811463122701 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140218_064656_264097_01F0D96B X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.3 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] 2.9 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -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.170 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