From patchwork Fri Apr 1 10:46:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 8722371 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 20903C0553 for ; Fri, 1 Apr 2016 10:49:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BA46203AE for ; Fri, 1 Apr 2016 10:49:42 +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 534E2201B4 for ; Fri, 1 Apr 2016 10:49:41 +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 1alwcF-0000p3-H4; Fri, 01 Apr 2016 10:47:47 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1alwc5-0000lU-5S for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2016 10:47:38 +0000 Received: by mail-lf0-x22f.google.com with SMTP id p188so51726000lfd.0 for ; Fri, 01 Apr 2016 03:47:16 -0700 (PDT) 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=08SLQgVrMmeIIG5zNR7REmbqbaEsv87c3KP44IXtWY4=; b=RxRxAYkScaHa8Abl7LtV1e/NZI99kJa5VRqX6lOyjKxHljlh6b4m3nyfUP2S4pKuJi YRpQaW1qCdU5FRaRmX087i+gX9BMVbl+2Gg6QmV0EjwVFHETwnQ+AMRzus1IXu9s0+K7 ugPBdBmNjuolvWbnVw1ri4ptXsT4aJevIkcto= 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=08SLQgVrMmeIIG5zNR7REmbqbaEsv87c3KP44IXtWY4=; b=hF+dFYyHFzGcleEFSsi2ZEHP693JLVto1sATj16EdaKoqTf5MeFBZI+Y+/LOYzVern JBaE+CkQWMnPIbydURqC/cUwRiPIWrvhyt/PqjCZf7kCzS9005EF9tFKzMrm3b4MV7SX lYJlZxj4V6IU5VUFUIh/Q/4tn+nba06uQXaupHAUIkRDR8jZcFApUnqY211KXb3xbBHk UOz+UkdIg4x7Lsp277UJyYznRSn3z/ki7OBVIVrxBpfgi3oZ0sXJ8UKWxlovBblJA5TE AO83WahYeZPMfNS3LspLrA7THJqCWoddgQlZhvjTt2UZQmX11jUk7ZTQ9eJZfxqjXSuP H7Aw== X-Gm-Message-State: AD7BkJKoDlZNSKPtvX/kyWz4jdLYd3cKrnBY7tgk2McTd2EiAUaeCXMuqw+proEGH7gTQSC9 X-Received: by 10.25.7.4 with SMTP id 4mr2225909lfh.147.1459507635188; Fri, 01 Apr 2016 03:47:15 -0700 (PDT) Received: from ermac.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id o10sm1999297lbp.47.2016.04.01.03.47.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 03:47:13 -0700 (PDT) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v9 1/4] dt/bindings: add bindings for optee Date: Fri, 1 Apr 2016 12:46:45 +0200 Message-Id: <1459507608-26582-2-git-send-email-jens.wiklander@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459507608-26582-1-git-send-email-jens.wiklander@linaro.org> References: <1459507608-26582-1-git-send-email-jens.wiklander@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160401_034737_505751_4FC8B7C8 X-CRM114-Status: GOOD ( 15.78 ) 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 , Greg Kroah-Hartman , Will Deacon , Michal Simek , jean-michel.delorme@st.com, Jason Gunthorpe , Rob Herring , Al Viro , Jens Wiklander , Andreas Dannenberg 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=-5.1 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 86740d4..0372fd7 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -136,6 +136,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