From patchwork Thu Mar 20 00:54:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 3862571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4F53B9F334 for ; Thu, 20 Mar 2014 00:55:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 784F020218 for ; Thu, 20 Mar 2014 00:55:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CE5820213 for ; Thu, 20 Mar 2014 00:55:37 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQRGR-0004Vt-UM; Thu, 20 Mar 2014 00:55:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQRGP-0006nn-Hb; Thu, 20 Mar 2014 00:55:17 +0000 Received: from mail-qc0-f172.google.com ([209.85.216.172]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQRGK-0006n8-RQ for linux-arm-kernel@lists.infradead.org; Thu, 20 Mar 2014 00:55:14 +0000 Received: by mail-qc0-f172.google.com with SMTP id i8so151095qcq.31 for ; Wed, 19 Mar 2014 17:54:51 -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=n9QXRaifFErhndyElOaqM8R1r+YOQhzCHofz/WhIJGc=; b=aKkaB2aMzSJ41AAlTBMY/8Bphobha0Eo+FGAYH+eeHKwGzbrFWNHufyon4DlvYAPBE ZGNOhjHo1KKo09kofy9n91EHl2JhzYrm8X9bGk32gPMM35Si2oVo612HcMKxX4hT6yYD 8I6QVrflJGqkUK5czmb341/LYvDEaDqmZc9j34yHkqgrzbXWqmnVDDd23Qw6Z8WLV3zu fJV9OO7bPkbZ6nnjz2deHzmFb674yERuzHegy74uwMUHFo9poJvyks2TUDQMsWF0lvXd Zjaj+kviJ3T++oXB94CNvRvz9JMn8612S8r/UAN0A1SiTN8dKqkJ4a+UbQpbdFaGlCk7 Y8Ww== X-Gm-Message-State: ALoCoQla8scag7ERhf07uzw7bRxoC1zlQfalVbNIhf6T12SltCeK1MOJbzmEdx5PWrj3VJcqjtBg X-Received: by 10.224.62.13 with SMTP id v13mr47762970qah.10.1395276890878; Wed, 19 Mar 2014 17:54:50 -0700 (PDT) Received: from localhost.localdomain (cpe-098-027-049-158.nc.res.rr.com. [98.27.49.158]) by mx.google.com with ESMTPSA id i14sm509019qaj.11.2014.03.19.17.54.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 17:54:50 -0700 (PDT) From: Ashwin Chaugule To: linaro-acpi@lists.linaro.org Subject: [PATCH v1 2/2] Documentation: devicetree: Add new binding for PSCIv0.2 Date: Wed, 19 Mar 2014 20:54:25 -0400 Message-Id: <1395276865-6868-2-git-send-email-ashwin.chaugule@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395276865-6868-1-git-send-email-ashwin.chaugule@linaro.org> References: <1395276865-6868-1-git-send-email-ashwin.chaugule@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140319_205512_923516_DE322B67 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: mark.rutland@arm.com, rob.herring@linaro.org, anup.patel@linaro.org, marc.zyngier@arm.com, Ashwin Chaugule , linux-arm-kernel@lists.infradead.org, christoffer.dall@linaro.org, Charles.Garcia-Tobin@arm.com 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 The PSCI v0.2+ spec defines static values for PSCI function IDs. Add a new binding entry so that pre v0.2 implementations can use DT entries for function IDs and v0.2+ implementations use static entries as defined by the PSCIv0.2 specification. Signed-off-by: Ashwin Chaugule --- Documentation/devicetree/bindings/arm/psci.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index 433afe9..a808284 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt @@ -21,7 +21,11 @@ to #0. Main node required properties: - - compatible : Must be "arm,psci" + - compatible : "arm,psci" : pre PSCIv0.2 spec implementations use this + to get the function IDs from DT entries. + + "arm,psci-0.2": PSCIv0.2+ spec implementations use static + values for function IDs as defined in the spec. - method : The method of calling the PSCI firmware. Permitted values are: