From patchwork Wed Mar 1 13:29:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 9598397 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 15A33604DC for ; Wed, 1 Mar 2017 13:32:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEEF9204BD for ; Wed, 1 Mar 2017 13:32:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E10E720700; Wed, 1 Mar 2017 13:32:12 +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 78C8E204BD for ; Wed, 1 Mar 2017 13:32:12 +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=A8rKiaSxIPaIgRuIryxcL+/2/7rJPpEUGzhaD6t9ZC4=; b=EgQ hH02gLsh1QmAorsPryEs5fIT4nIsZjydZiNiwA1NAjPljxE25GhLIDViXC3xL4or5+aHspPh3Xpfs SnGEDq9ubxW3LkrWfEneQISgo4eBjeH9GPZM1RZ+e1Qb2kYRAcrUOHDP8SbHIQrusbJBGydImQpmj luPZw/A/plpgo+R5lXfKZYizsbdXeqXJUPIKBpRk+rxVtvWrXMPTTaXb6ed90e3KxJxHVSnaA4BGz BpMLmxu1p38tzmzhyMm1ojBoyA6+ZEt/lPfzAIb7RVWftRPq2K9zkby+HIYenP7GAhvK0QDuMYYfR UjeXsXlJ/0Y/zLDaOI6rWtl+OAPMo2A==; 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 1cj4MV-0001Yp-Se; Wed, 01 Mar 2017 13:32:11 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj4M5-0001VJ-OA for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 13:31:48 +0000 Received: by mail-wm0-x22a.google.com with SMTP id v77so36224649wmv.0 for ; Wed, 01 Mar 2017 05:31:25 -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=vRDQQRpVMsyn4FHBKjQ25j9Rz0iJ9zwWBtFuNJhZVKQ=; b=GC7dbwX6SQL2MstjRpKk/cl8llGbjxbbpkZhhBzC6TF5rgmJc2TtEQal4lUIMA5rMf gflrWAGqYad1zIqxsCRZUoBDG5g8MND2q2tLwmzOcmUGnAf2nkje2qQ5GQ7QRpFQ+wLi nQ9e92v6ziLUbhWfO9yiyLBfsESKePU0Vqusg= 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=vRDQQRpVMsyn4FHBKjQ25j9Rz0iJ9zwWBtFuNJhZVKQ=; b=KYr+H98te7OOiYrUY5/NIYBwUfWVIk9ObyLpqf3t62Brsbrqq0IoSfXKSxt1gBv0Ju 8u6j2ySNpVLXFtXVEHmv4Uk95Jq1rGX0TC+87+uauX2raiI1ltKy8m8FWPCUFwd5OWys dtV/ZhrTC7coM5C+IxtJwaUC3vQROcK4PoOd4ebWUdmeashOuzt2pt73rMHs03/ZK91c 8QnPdffRxnrwGdpVqDcdrttVJIVisjUiCChwJBlZRFDqxVX21BK6oJaovEKqS4mJ5ANS xTggbuqpB8PTC2YRpWiB+RnsTC2j8QAnRMk5foisbYsF4JQbzSsnl8CixKjaZJAL2oRK 9K8w== X-Gm-Message-State: AMke39l2pxfDYxbbanwed6iPtV3c2WDx/Ys8SY6glZcn1Djhn0sSB2JzSczipSVbiIbcGOJQ X-Received: by 10.28.60.66 with SMTP id j63mr3490746wma.74.1488375083768; Wed, 01 Mar 2017 05:31:23 -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 m188sm22871819wma.27.2017.03.01.05.31.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Mar 2017 05:31:23 -0800 (PST) From: Jerome Forissier To: devicetree@vger.kernel.org Subject: [PATCH] Documentation: dt: Add binding for /chosen/secure-stdout-path Date: Wed, 1 Mar 2017 14:29:27 +0100 Message-Id: <06154a2280a8423af80405825d7201c7aa927696.1488374335.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_053146_101436_4468D42F X-CRM114-Status: GOOD ( 11.54 ) 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, 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"). We extend the use of the secure- prefix to the stdout-path property, so that the Secure firmware may use a different console device than the one used by the kernel. Signed-off-by: Jerome Forissier --- Documentation/devicetree/bindings/arm/secure.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/secure.txt b/Documentation/devicetree/bindings/arm/secure.txt index e31303f..558c9a1 100644 --- a/Documentation/devicetree/bindings/arm/secure.txt +++ b/Documentation/devicetree/bindings/arm/secure.txt @@ -51,3 +51,8 @@ Valid Secure world properties: status = "disabled"; secure-status = "okay"; /* S-only */ status = "disabled"; /* disabled in both */ status = "disabled"; secure-status = "disabled"; /* disabled in both */ + +- secure-stdout-path (/chosen node): specifies the device to be used +for console output by Secure firmware. The syntax is the same as for +"stdout-path". If "secure-stdout-path" is not specified it defaults to +the same value as "stdout-path".