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: 9598839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0FEA960453 for ; Wed, 1 Mar 2017 17:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F18B028452 for ; Wed, 1 Mar 2017 17:09:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3EE128445; Wed, 1 Mar 2017 17:09:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6253B28445 for ; Wed, 1 Mar 2017 17:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=nbLLqh7zdnFf0LUo6gmQF4ZRE7dXRDdWBGTCmaObryM=; b=HoQ SqlE6aC8lGnEyYh17vG+7tkr7ijvd8lY83fhi5S6e1jJozBSm1VhfRrzV8f+iSdE0VhgNkX401man KzBDw4Ron1ndfjL+JnRGx8GqfAnPhXLw6jBCaYpichO8dRpK47OKh4go1vzB0CybsGHa+3RHaD/Qp 7HlvNwple5o6B0wX/N73Q6WNgZSXQqSnuduGvkMv8DHChjL+gxM39IfU900Ny9dLuNg2XhNe3xDCU 0We2e2VbNjMQbUf5/sXD7/ccDhg2EdTuGff0ncAUvaKe+8Dq+K7IA/+K7Gd8TCjk3tXO00FePL6xz tQ+y1ipm8eRCdeWTZthcA7B29fKsyeg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cj7kf-0001WC-NZ; Wed, 01 Mar 2017 17:09:21 +0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj7kH-0001UM-1o for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 17:08:58 +0000 Received: by mail-wr0-x231.google.com with SMTP id u108so34781605wrb.3 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=FCKrvqfHiV6lVZrX/4mgqRmj+95+7Hv0EndtGcxDn0WnYv8zjbBNQG+PrGvNoEfzYz kuBRXwOUKg/eVdUmKO2jPLZj3A1PIR25kvvDsGHTq69EdvnZTSUdhZ+zF94Pq1JDuU/2 MNgU7QFb7nN0cBfpNK1493++r6vSyKe+5GzVdUpSETZhJNukY23sE5oNhnbYqey5Jto6 0bpGaAnn7c1IBDSQCNVrMLw6yTLX5a1j0G5c5VfskiQqiH74uMlyaDKx8dewJmJ36Fb4 635aoubISxDX22eccdVlqqrbr33IYMziTT8ombs109H1SLSb2ooAO3gQ5eEB8wwczoNi cyyw== X-Gm-Message-State: AMke39nFGqgA8/zBnm8CW/IqaMxWpqEyPAKZ7pcnIzVZSRGe1ULzlPXaC8vuD0AZb9pxdA/b 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_090857_255685_D40B38F8 X-CRM114-Status: GOOD ( 13.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, peter.maydell@linaro.org, Jerome Forissier , robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, robin.murphy@arm.com, jens.wiklander@linaro.org, christoffer.dall@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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