dt/bindings: add bindings for optee
authorJens Wiklander <jens.wiklander@linaro.org>
Thu, 21 May 2015 05:47:09 +0000 (07:47 +0200)
committerAlex Shi <alex.shi@linaro.org>
Thu, 6 Jul 2017 03:07:39 +0000 (11:07 +0800)
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>
(cherry picked from commit c8bfafb1594435889b571b79325011e8b7fd087b)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
Documentation/devicetree/bindings/vendor-prefixes.txt

Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.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 (file)
index 0000000..d38834c
--- /dev/null
@@ -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";
+               };
+       };
index 55df1d444e9f82c150ef144c02357d13169ead31..fa9eba8dae0702bf9ee6d1d4113d456a0c973b1a 100644 (file)
@@ -127,6 +127,8 @@ lacie       LaCie
 lantiq Lantiq Semiconductor
 lenovo Lenovo Group Ltd.
 lg     LG Corporation
+licheepi       Lichee Pi
+linaro Linaro Limited
 linux  Linux-specific binding
 lsi    LSI Corp. (LSI Logic)
 lltc   Linear Technology Corporation