aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2021-06-15 22:23:48 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2021-11-17 14:08:54 +0100
commitff5fdc34d0aed9931c01e6d50f7f873ecf8df8d3 (patch)
tree68142a87906771b8e3b15444e476b24ad67d9cf8
parentdocs: staging/tee.rst: add a section on OP-TEE notifications (diff)
downloadwireguard-linux-ff5fdc34d0aed9931c01e6d50f7f873ecf8df8d3.tar.xz
wireguard-linux-ff5fdc34d0aed9931c01e6d50f7f873ecf8df8d3.zip
dt-bindings: arm: optee: add interrupt property
Adds an optional interrupt property to the optee binding. Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
index c24047c1fdd5..9a426110a14a 100644
--- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
+++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
@@ -24,6 +24,12 @@ properties:
compatible:
const: linaro,optee-tz
+ interrupts:
+ maxItems: 1
+ description: |
+ This interrupt which is used to signal an event by the secure world
+ software is expected to be edge-triggered.
+
method:
enum: [smc, hvc]
description: |
@@ -42,10 +48,12 @@ additionalProperties: false
examples:
- |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
firmware {
optee {
compatible = "linaro,optee-tz";
method = "smc";
+ interrupts = <GIC_SPI 187 IRQ_TYPE_EDGE_RISING>;
};
};