Commit ff5fdc34 authored by Jens Wiklander's avatar Jens Wiklander

dt-bindings: arm: optee: add interrupt property

Adds an optional interrupt property to the optee binding.
Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 63d5bc42
...@@ -24,6 +24,12 @@ properties: ...@@ -24,6 +24,12 @@ properties:
compatible: compatible:
const: linaro,optee-tz 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: method:
enum: [smc, hvc] enum: [smc, hvc]
description: | description: |
...@@ -42,10 +48,12 @@ additionalProperties: false ...@@ -42,10 +48,12 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/arm-gic.h>
firmware { firmware {
optee { optee {
compatible = "linaro,optee-tz"; compatible = "linaro,optee-tz";
method = "smc"; method = "smc";
interrupts = <GIC_SPI 187 IRQ_TYPE_EDGE_RISING>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment