From patchwork Mon Feb 1 09:15:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 8177071 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 397189F38B for ; Mon, 1 Feb 2016 09:17:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C7452040F for ; Mon, 1 Feb 2016 09:17:55 +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 940A7203F7 for ; Mon, 1 Feb 2016 09:17:54 +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 1aQAav-0005ZL-Tk; Mon, 01 Feb 2016 09:16:25 +0000 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQAae-0005JN-Tw for linux-arm-kernel@lists.infradead.org; Mon, 01 Feb 2016 09:16:10 +0000 Received: by mail-lb0-x229.google.com with SMTP id cl12so70850163lbc.1 for ; Mon, 01 Feb 2016 01:15:48 -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=EhZk/r+Xe+jSZcMtvzV9k8s1jD+eDgjQEcUPcBvf1ds=; b=W9KAAwXvnMRVZt200UKPLCUVgFFecVt6hmrPtE64T8o7/K9pHfrjvfn1c9qnKa+Vo+ NBWfgJHn769uxaKO+DeGSxcB9yBTfZO+ZilbI3tgogkqgB5A0w1G7bus8AOoh6e4LMz0 trMG8sLW1YLLQCLCu9K0uGOfYdsSMXGnF1afc= 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=EhZk/r+Xe+jSZcMtvzV9k8s1jD+eDgjQEcUPcBvf1ds=; b=ch5Fp9gmps3RdWVctSLcvoiMQA1blL+LCYdXsrb5lTLmSfgpcNpmopj41QGfvr7uH5 tq6GFswaQvPokvClDgXezA1XWzElrxweClvbZUO/XDuLkrMZK2Q16QeY4qEF4XCVdO8G VPhHF9cQhLwykQ72+8CyjXXaC5iPKvVri9/3CaOQ0hVxVlSlejelAbHE2OzZWoDBNAjl ieKNjJfZfPXV3o7mzt1zyKJ1s11/sIPsXRGPPfaS5l2ItYhFLQSVcKdm+ug8WxSai8XE TstC+FlNgkuy/mjvXUTUsQSh4pHdg45+rHMVSLDsBmnoORHuziXlZDTj3NBTz2obw8Rd CQsw== X-Gm-Message-State: AG10YOTtOZv889zPHuLoXrsPKDmEFvCeBl2M+uXQWJMfHUwpeXIdewlQeOcTGPWoutvs97DT X-Received: by 10.112.118.206 with SMTP id ko14mr8203678lbb.108.1454318147288; Mon, 01 Feb 2016 01:15:47 -0800 (PST) Received: from ermac.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id ne8sm3903402lbc.21.2016.02.01.01.15.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Feb 2016 01:15:46 -0800 (PST) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH v7 1/4] dt/bindings: add bindings for optee Date: Mon, 1 Feb 2016 10:15:37 +0100 Message-Id: <1454318140-7962-2-git-send-email-jens.wiklander@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454318140-7962-1-git-send-email-jens.wiklander@linaro.org> References: <1454318140-7962-1-git-send-email-jens.wiklander@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160201_011609_312322_32CCF44A X-CRM114-Status: GOOD ( 15.92 ) X-Spam-Score: -2.0 (--) 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, 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.6 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. Signed-off-by: Jens Wiklander Acked-by: Rob Herring --- .../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..7fd7e3e --- /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 porperty 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