mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
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>
This commit is contained in:
parent
63d5bc420f
commit
ff5fdc34d0
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue