[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211103090255.998070-3-jens.wiklander@linaro.org>
Date: Wed, 3 Nov 2021 10:02:51 +0100
From: Jens Wiklander <jens.wiklander@...aro.org>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
op-tee@...ts.trustedfirmware.org, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org
Cc: Jerome Forissier <jerome@...issier.org>,
Etienne Carriere <etienne.carriere@...aro.org>,
Sumit Garg <sumit.garg@...aro.org>,
Vincent Guittot <vincent.guittot@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Jonathan Corbet <corbet@....net>,
Ard Biesheuvel <ardb@...nel.org>,
Marc Zyngier <maz@...nel.org>, jens.vankeirsbilck@...euven.be,
Jens Wiklander <jens.wiklander@...aro.org>,
Rob Herring <robh@...nel.org>
Subject: [PATCH v8 2/6] dt-bindings: arm: optee: add interrupt property
Adds an optional interrupt property to the optee binding.
Reviewed-by: Sumit Garg <sumit.garg@...aro.org>
Reviewed-by: Rob Herring <robh@...nel.org>
Acked-by: Marc Zyngier <maz@...nel.org>
Signed-off-by: Jens Wiklander <jens.wiklander@...aro.org>
---
.../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
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>;
};
};
--
2.31.1
Powered by blists - more mailing lists