diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2015-05-21 01:47:09 -0400 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2017-03-06 05:27:52 -0500 |
commit | c8bfafb1594435889b571b79325011e8b7fd087b (patch) | |
tree | 20264d9181008f553b97e3cb4a55f020b5a75e6f | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) |
dt/bindings: add bindings for optee
Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE
implementation.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt | 31 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/vendor-prefixes.txt | 1 |
2 files changed, 32 insertions, 0 deletions
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 000000000000..d38834c67dff --- /dev/null +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt | |||
@@ -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 | }; | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ec0bfb9bbebd..e18a96cf7c3a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -168,6 +168,7 @@ lego LEGO Systems A/S | |||
168 | lenovo Lenovo Group Ltd. | 168 | lenovo Lenovo Group Ltd. |
169 | lg LG Corporation | 169 | lg LG Corporation |
170 | licheepi Lichee Pi | 170 | licheepi Lichee Pi |
171 | linaro Linaro Limited | ||
171 | linux Linux-specific binding | 172 | linux Linux-specific binding |
172 | lltc Linear Technology Corporation | 173 | lltc Linear Technology Corporation |
173 | lsi LSI Corp. (LSI Logic) | 174 | lsi LSI Corp. (LSI Logic) |