Skip to content

Commit c8bfafb

Browse files
committed
dt/bindings: add bindings for optee
Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE implementation. Acked-by: Rob Herring <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
1 parent c1ae3cf commit c8bfafb

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
OP-TEE Device Tree Bindings
2+
3+
OP-TEE is a piece of software using hardware features to provide a Trusted
4+
Execution Environment. The security can be provided with ARM TrustZone, but
5+
also by virtualization or a separate chip.
6+
7+
We're using "linaro" as the first part of the compatible property for
8+
the reference implementation maintained by Linaro.
9+
10+
* OP-TEE based on ARM TrustZone required properties:
11+
12+
- compatible : should contain "linaro,optee-tz"
13+
14+
- method : The method of calling the OP-TEE Trusted OS. Permitted
15+
values are:
16+
17+
"smc" : SMC #0, with the register assignments specified
18+
in drivers/tee/optee/optee_smc.h
19+
20+
"hvc" : HVC #0, with the register assignments specified
21+
in drivers/tee/optee/optee_smc.h
22+
23+
24+
25+
Example:
26+
firmware {
27+
optee {
28+
compatible = "linaro,optee-tz";
29+
method = "smc";
30+
};
31+
};

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ lego LEGO Systems A/S
168168
lenovo Lenovo Group Ltd.
169169
lg LG Corporation
170170
licheepi Lichee Pi
171+
linaro Linaro Limited
171172
linux Linux-specific binding
172173
lltc Linear Technology Corporation
173174
lsi LSI Corp. (LSI Logic)

0 commit comments

Comments
 (0)