From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752104AbbIOWhL (ORCPT ); Tue, 15 Sep 2015 18:37:11 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:35953 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbbIOWhJ (ORCPT ); Tue, 15 Sep 2015 18:37:09 -0400 Subject: Re: [PATCH v5 2/5] dt/bindings: add bindings for optee To: Jens Wiklander References: <1439973629-19505-1-git-send-email-jens.wiklander@linaro.org> <1439973629-19505-3-git-send-email-jens.wiklander@linaro.org> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Kees Cook , valentin.manea@huawei.com, jean-michel.delorme@st.com, emmanuel.michel@st.com, javier@javigon.com, Jason Gunthorpe , Mark Rutland , Michal Simek , Rob Herring From: Rob Herring X-Enigmail-Draft-Status: N1110 Message-ID: <55F89D93.4080608@kernel.org> Date: Tue, 15 Sep 2015 17:37:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1439973629-19505-3-git-send-email-jens.wiklander@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/19/2015 03:40 AM, Jens Wiklander wrote: > Introduces optee prefix and adds bindings for ARM TrustZone based OP-TEE > implementation. > > Signed-off-by: Jens Wiklander > --- > Documentation/devicetree/bindings/optee/optee.txt | 17 +++++++++++++++++ How about bindings/arm/firmware/... where the *other* TZ binding is located. > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 2 files changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/optee/optee.txt > > diff --git a/Documentation/devicetree/bindings/optee/optee.txt b/Documentation/devicetree/bindings/optee/optee.txt > new file mode 100644 > index 0000000..4a6ff10 > --- /dev/null > +++ b/Documentation/devicetree/bindings/optee/optee.txt > @@ -0,0 +1,17 @@ > +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. As there's no single OP-TEE I don't see how the Linux side would not need to know what the communication channel is whether it is smc, hvc, or something else. > +vendor we're using "optee" as the first part of compatible property, > +indicating the OP-TEE protocol is used when communicating with the secure > +world. > + > +* OP-TEE based on ARM TrustZone required properties: > + > +- compatible="optee,optee-tz" > + > +Example: > + optee { > + compatible="optee,optee-tz"; > + }; > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > index 8033919..17c2a7e 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > @@ -141,6 +141,7 @@ nvidia NVIDIA > nxp NXP Semiconductors > onnn ON Semiconductor Corp. > opencores OpenCores.org > +optee OP-TEE, Open Portable Trusted Execution Environment > ortustech Ortus Technology Co., Ltd. > ovti OmniVision Technologies > panasonic Panasonic Corporation >