From patchwork Thu Feb 11 17:14:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 8283041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 88AABBEEE5 for ; Thu, 11 Feb 2016 17:17:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C6EB202EB for ; Thu, 11 Feb 2016 17:17:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C5E36202FE for ; Thu, 11 Feb 2016 17:17:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTupw-00037X-9K; Thu, 11 Feb 2016 17:15:24 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTupj-0001ZI-7I for linux-arm-kernel@lists.infradead.org; Thu, 11 Feb 2016 17:15:12 +0000 Received: by mail-wm0-x236.google.com with SMTP id c200so83312819wme.0 for ; Thu, 11 Feb 2016 09:14:50 -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:in-reply-to:references; bh=9pbXZpNQp3lA2CgRPWs/AHvxqCMQdr6GeYJDLQSa4QE=; b=fhgmyQQpyY82tShQA5hyJnYZNP3A9BlUIKsUS+YTLpSm7TsKZqlADteYBECP6xMaFh J9J5HBKkH2w7060dpFWDfuy3fFHxKUvXZlQJXFHqxCXrW+cfTZXyANabZbftA7CZdn6K zWkrTZ9fq/r5Qu6kkdFNLp2MGDzeaRzPcQ3mE= 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=9pbXZpNQp3lA2CgRPWs/AHvxqCMQdr6GeYJDLQSa4QE=; b=Et8wswlUQPupAxERDjImCF8cnOKYtooJrCWyxmRuHd+1vjpX9ESYQC5/5pxfyJQhbH nnUsu4dsM5I/Ok+4gf1EjFE/8mQM6msArOMs/kqz5vTr3jZ2XS0UhiyhoM05tNqds6lv 1t94YMVX53ycVs0Cs9lOkZrKt+MQVefy7ux+5nT/CJ0tUDdUXPQr4dTd/oyNhC4GtB9B ObpXAA2zYImi7si5RoF3pwwuELJmCy9KDDlKIMp6s4C4Rm22GDeQrIQdWDXp9gzcpX+5 jkh0MNA1BDSZtq+0eKC8/biM2B59hYKIuoZPi/cXYe/XHYZshf4nUnauzRIaWci+SK7e Jt7g== X-Gm-Message-State: AG10YOTwwA0MqVEfOBSw9mSCKN0bffkwiV7f/sNInZQQLhmsVRCr2RTmA6i/PhLwc0DNDedi X-Received: by 10.194.235.137 with SMTP id um9mr53369386wjc.146.1455210889766; Thu, 11 Feb 2016 09:14:49 -0800 (PST) Received: from ermac.urgonet (h-84-45.a175.priv.bahnhof.se. [79.136.84.45]) by smtp.gmail.com with ESMTPSA id v191sm8894326wme.1.2016.02.11.09.14.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Feb 2016 09:14:48 -0800 (PST) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH v8 1/4] dt/bindings: add bindings for optee Date: Thu, 11 Feb 2016 18:14:34 +0100 Message-Id: <1455210877-15748-2-git-send-email-jens.wiklander@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455210877-15748-1-git-send-email-jens.wiklander@linaro.org> References: <1455210877-15748-1-git-send-email-jens.wiklander@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160211_091511_471183_74529477 X-CRM114-Status: GOOD ( 15.54 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: valentin.manea@huawei.com, Mark Rutland , javier@javigon.com, emmanuel.michel@st.com, Arnd Bergmann , Will Deacon , Michal Simek , jean-michel.delorme@st.com, Jason Gunthorpe , Rob Herring , Jens Wiklander 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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE implementation. Acked-by: Rob Herring Signed-off-by: Jens Wiklander --- .../bindings/arm/firmware/linaro,optee-tz.txt | 31 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt new file mode 100644 index 0000000..d38834c --- /dev/null +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt @@ -0,0 +1,31 @@ +OP-TEE Device Tree Bindings + +OP-TEE is a piece of software using hardware features to provide a Trusted +Execution Environment. The security can be provided with ARM TrustZone, but +also by virtualization or a separate chip. + +We're using "linaro" as the first part of the compatible property for +the reference implementation maintained by Linaro. + +* OP-TEE based on ARM TrustZone required properties: + +- compatible : should contain "linaro,optee-tz" + +- method : The method of calling the OP-TEE Trusted OS. Permitted + values are: + + "smc" : SMC #0, with the register assignments specified + in drivers/tee/optee/optee_smc.h + + "hvc" : HVC #0, with the register assignments specified + in drivers/tee/optee/optee_smc.h + + + +Example: + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 72e2c5a..0c1e2f2 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -130,6 +130,7 @@ lacie LaCie lantiq Lantiq Semiconductor lenovo Lenovo Group Ltd. lg LG Corporation +linaro Linaro Limited linux Linux-specific binding lsi LSI Corp. (LSI Logic) lltc Linear Technology Corporation