2021-07-23 09:45:37

by Jens Wiklander

[permalink] [raw]
Subject: [PATCH v3 2/6] dt-bindings: arm: optee: add interrupt property

Adds an optional interrupt property to the optee binding.

Signed-off-by: Jens Wiklander <[email protected]>
---
.../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 4 ++++
1 file changed, 4 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..73811a5d1714 100644
--- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
+++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml
@@ -24,6 +24,9 @@ properties:
compatible:
const: linaro,optee-tz

+ interrupts:
+ maxItems: 1
+
method:
enum: [smc, hvc]
description: |
@@ -46,6 +49,7 @@ examples:
optee {
compatible = "linaro,optee-tz";
method = "smc";
+ interrupts = <0 187 4>;
};
};

--
2.31.1