diff mbox series

[v7,2/6] dt-bindings: arm: optee: add interrupt property

Message ID 20211026083138.1818705-3-jens.wiklander@linaro.org
State Superseded
Headers show
Series Asynchronous notifications from secure world | expand

Commit Message

Jens Wiklander Oct. 26, 2021, 8:31 a.m. UTC
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>

---
 .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml  | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.31.1
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
index c24047c1fdd5..26d46ac0dbc2 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: |
@@ -46,6 +52,7 @@  examples:
         optee  {
             compatible = "linaro,optee-tz";
             method = "smc";
+            interrupts = <GIC_SPI 187 IRQ_TYPE_EDGE_RISING>;
         };
     };