linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jens.wiklander@linaro.org (Jens Wiklander)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 2/5] dt/bindings: add bindings for optee
Date: Wed, 16 Sep 2015 09:13:31 +0200	[thread overview]
Message-ID: <20150916071330.GA4515@ermac> (raw)
In-Reply-To: <55F89D93.4080608@kernel.org>

On Tue, Sep 15, 2015 at 05:37:07PM -0500, Rob Herring wrote:
> 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 <jens.wiklander@linaro.org>
> > ---
> >  Documentation/devicetree/bindings/optee/optee.txt     | 17 +++++++++++++++++
> 
> How about bindings/arm/firmware/... where the *other* TZ binding is located.

OK, I'll move it.

> 
> >  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.

I assume you're missing something similar to the "method" property
defined for PSCI. I'll add that.

> 
> > +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
> > 
> 

Thanks,
Jens

  reply	other threads:[~2015-09-16  7:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  8:40 [PATCH v5 0/5] generic TEE subsystem Jens Wiklander
2015-08-19  8:40 ` [PATCH v5 1/5] arm/arm64: add smccc ARCH32 Jens Wiklander
2015-08-19 10:56   ` Yury
2015-08-20  7:23     ` Jens Wiklander
2015-08-19 16:50   ` Will Deacon
2015-08-20 11:35     ` Michal Simek
2015-08-20 11:37     ` Jens Wiklander
2015-08-20 21:30       ` Mark Rutland
2015-08-21  9:24       ` Will Deacon
2015-08-21 11:43         ` Jens Wiklander
2015-09-14  8:30           ` Jens Wiklander
2015-09-15 18:26             ` Will Deacon
2015-09-15 21:05               ` Jens Wiklander
2015-09-16 17:18                 ` Will Deacon
2015-08-19  8:40 ` [PATCH v5 2/5] dt/bindings: add bindings for optee Jens Wiklander
2015-09-15 22:37   ` Rob Herring
2015-09-16  7:13     ` Jens Wiklander [this message]
2015-08-19  8:40 ` [PATCH v5 3/5] tee: generic TEE subsystem Jens Wiklander
2015-08-19  8:40 ` [PATCH v5 4/5] tee: add OP-TEE driver Jens Wiklander
2015-08-19  8:40 ` [PATCH v5 5/5] Documentation: tee subsystem and op-tee driver Jens Wiklander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150916071330.GA4515@ermac \
    --to=jens.wiklander@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).