From patchwork Tue Feb 11 14:17:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Pieralisi X-Patchwork-Id: 24460 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F7D0206FF for ; Tue, 11 Feb 2014 14:17:22 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf31050803obc.9 for ; Tue, 11 Feb 2014 06:17:21 -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:content-type :content-transfer-encoding; bh=suGMQym3CafU9tRP30VJfmiqvWrM93L+fZRvgMlfjdE=; b=fE6NN9DSmqjV3+nsWOln74SzRIufgKl0FvKdjPbfd9q3kBVw/SRU8i4vBjEuXWZH1h lyfa8ZHKCTc6vcRUpQwrvONvPEImIUIlgBi7ny9xofyroJFRDKjjbaUhGALuPv+P7u22 MprB/fkKpH0wycn+zcreSiaLtxjT9Du77jECrx8n7HjvTI18T9SRaZGu8OLDya87RRnh xvhVogORhHHuZ2bzgmK2AvMziip0Ia1c9Ar+QvgnkWqHyWsF1SxDDQepMHdSO0G41VZH qHBqmtHmJPCb+xH3SJspp02j45bz7sJit7O/06Dd/G5Xdyoxd5t/M30Jp529VLn21Db1 GF9A== X-Gm-Message-State: ALoCoQnZ1cVfB306oLpFjU451bBSlcOVkX5YaGobMt6l+UafjXgjU6o6F+79SueEvro6VX5PDgpf X-Received: by 10.43.78.135 with SMTP id zm7mr8029517icb.27.1392128241182; Tue, 11 Feb 2014 06:17:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.165 with SMTP id x34ls1481527qgx.53.gmail; Tue, 11 Feb 2014 06:17:21 -0800 (PST) X-Received: by 10.220.99.72 with SMTP id t8mr28647147vcn.10.1392128240753; Tue, 11 Feb 2014 06:17:20 -0800 (PST) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id cy15si5952645veb.30.2014.02.11.06.17.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Feb 2014 06:17:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id pa12so6189508veb.33 for ; Tue, 11 Feb 2014 06:17:20 -0800 (PST) X-Received: by 10.59.6.7 with SMTP id cq7mr29296238ved.14.1392128240671; Tue, 11 Feb 2014 06:17:20 -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 u4csp249600vcz; Tue, 11 Feb 2014 06:17:19 -0800 (PST) X-Received: by 10.66.142.42 with SMTP id rt10mr32805385pab.1.1392128239475; Tue, 11 Feb 2014 06:17:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf2si19114314pad.256.2014.02.11.06.17.18; Tue, 11 Feb 2014 06:17:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbaBKORI (ORCPT + 9 others); Tue, 11 Feb 2014 09:17:08 -0500 Received: from service87.mimecast.com ([91.220.42.44]:33419 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751435AbaBKORG (ORCPT ); Tue, 11 Feb 2014 09:17:06 -0500 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Tue, 11 Feb 2014 14:17:03 +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, 11 Feb 2014 14:17:02 +0000 From: Lorenzo Pieralisi To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Lorenzo Pieralisi , Dave Martin , Mark Rutland , Sudeep Holla , Charles Garcia Tobin , Nicolas Pitre , Rob Herring , Peter De Schrijver , Grant Likely , Kumar Gala , Santosh Shilimkar , Russell King , Mark Hambleton , Hanjun Guo , Daniel Lezcano , Amit Kucheria , Vincent Guittot , Antti Miettinen , Stephen Boyd , Tomasz Figa , Kevin Hilman , Mike Turquette , Mark Brown Subject: [PATCH RFC v3 1/3] Documentation: devicetree: psci: define CPU suspend parameter Date: Tue, 11 Feb 2014 14:17:51 +0000 Message-Id: <1392128273-8614-2-git-send-email-lorenzo.pieralisi@arm.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1392128273-8614-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1392128273-8614-1-git-send-email-lorenzo.pieralisi@arm.com> X-OriginalArrivalTime: 11 Feb 2014 14:17:02.0896 (UTC) FILETIME=[EF51BB00:01CF2733] X-MC-Unique: 114021114170319201 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.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.128.174 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index 433afe9..6fc32a5 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt @@ -42,6 +42,13 @@ 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) must specify the following properties: + +- power-state + Value type: + Definition: power_state parameter to pass to the PSCI + suspend call. Example: