From patchwork Wed Mar 1 17:08:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 94727 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp1896732qgi; Wed, 1 Mar 2017 09:08:40 -0800 (PST) X-Received: by 10.84.232.5 with SMTP id h5mr11664711plk.134.1488388120330; Wed, 01 Mar 2017 09:08:40 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 43si5091316pla.244.2017.03.01.09.08.39; Wed, 01 Mar 2017 09:08:40 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583AbdCARIj (ORCPT + 7 others); Wed, 1 Mar 2017 12:08:39 -0500 Received: from mail-wr0-f173.google.com ([209.85.128.173]:34635 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752570AbdCARIh (ORCPT ); Wed, 1 Mar 2017 12:08:37 -0500 Received: by mail-wr0-f173.google.com with SMTP id l37so34739250wrc.1 for ; Wed, 01 Mar 2017 09:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7zhpjAdTo8DNHoT6kiYRAtYaNyVw4LWqH0HX9FEKkHA=; b=SZqvtKjXNStNvKQvxRjffR4flPk3CNX89O0KgCWOpvB36q7Thg+rMdATE0vHALQVE9 MKgWKdcQBvM7f4nLxUk4+hIFEjwbv5sh8Qm7FaEj3Sr98QYDqHokjkgr0LERyyuZI362 GR36xdlLQXeMAEjwdA0rEmHi93kkHcpErXXgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7zhpjAdTo8DNHoT6kiYRAtYaNyVw4LWqH0HX9FEKkHA=; b=MvcOEgwTBWBziiKJL+9yAepE/CY6IzBY7lej/45P17MR7dd6XItRNOIAjN2q/Xpt9l RR2VPos4d2kE7AzhY8VWbU8dYhra2daw/VYmxEsfsFHnGh01DeBRyGmZJ7f8+vpAS9Zc FJDV0FKnNsy30EysgWLai9dPBAIHhKQ0hkm+UzMTgpXVi02J7Pyd2gSQ38fojuyzUGJ9 3THv6nxtB5bQx7H705gLVIuyaHjhHHE9hpZEOey10kg4Vs9gsukf/PdooaF1R0wICwlU T845ndekL7cMFrRbpxCkm082ECKbGaCIx8Qa0BbPS+BrMITG3+ewhpwagaSkublq0wP+ eFiA== X-Gm-Message-State: AMke39kg7dz4Ec7TLAMIcLpz7bDixyrPmNe4hjxa32foDwMuNLAwIIdCAwkyd4PxGidykpHS X-Received: by 10.223.154.50 with SMTP id z47mr8180157wrb.76.1488388114988; Wed, 01 Mar 2017 09:08:34 -0800 (PST) Received: from jfw540.home (ANice-653-1-542-88.w86-205.abo.wanadoo.fr. [86.205.250.88]) by smtp.gmail.com with ESMTPSA id j18sm7372215wrb.33.2017.03.01.09.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Mar 2017 09:08:34 -0800 (PST) From: Jerome Forissier To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, jens.wiklander@linaro.org, christoffer.dall@linaro.org, peter.maydell@linaro.org, robin.murphy@arm.com, Jerome Forissier Subject: [PATCH] Documentation: dt: Add binding for /secure-chosen/stdout-path Date: Wed, 1 Mar 2017 18:08:10 +0100 Message-Id: <55a2f3cbe477bc876a7547eeb4693218698b87fe.1488387801.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some platforms may use a single device tree to describe two address spaces, as described in d9f43babb998 ("Documentation: dt: Add bindings for Secure-only devices"). For these platforms it makes sense to define a secure counterpart of /chosen, namely: /secure-chosen. This new node is meant to be used by the secure firmware to pass data to the secure OS. Only the stdout-path property is supported for now. Signed-off-by: Jerome Forissier --- Documentation/devicetree/bindings/arm/secure.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/arm/secure.txt b/Documentation/devicetree/bindings/arm/secure.txt index e31303f..e7c596a 100644 --- a/Documentation/devicetree/bindings/arm/secure.txt +++ b/Documentation/devicetree/bindings/arm/secure.txt @@ -32,7 +32,8 @@ describe the view of Secure world using the standard bindings. These secure- bindings only need to be used where both the Secure and Normal world views need to be described in a single device tree. -Valid Secure world properties: +Valid Secure world properties +----------------------------- - secure-status : specifies whether the device is present and usable in the secure world. The combination of this with "status" allows @@ -51,3 +52,15 @@ Valid Secure world properties: status = "disabled"; secure-status = "okay"; /* S-only */ status = "disabled"; /* disabled in both */ status = "disabled"; secure-status = "disabled"; /* disabled in both */ + +The secure-chosen node +---------------------- + +Similar to the /chosen node which serves as a place for passing data +between firmware and the operating system, the /secure-chosen node may +be used to pass data to the secure OS. Only the properties defined +below may appear in the /secure-chosen node. They have the same +definition as when used under /chosen, unless explicitely stated +otherwise. + +- stdout-path