summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-12-14 19:49:04 +0300
committerMarc Zyngier <maz@kernel.org>2022-02-07 19:00:42 +0300
commitdba07ad11384d6a4ece4acda1fbe726222ca7ad0 (patch)
tree6f22a702e6c7e175eda8f5cc286de083572b92f9 /Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
parent74703b13f9d2ef286ef588f29295a2fd30b5f295 (diff)
downloadlinux-dba07ad11384d6a4ece4acda1fbe726222ca7ad0.tar.xz
dt-bindings: apple,aic: Add affinity description for per-cpu pseudo-interrupts
Some of the FIQ per-cpu pseudo-interrupts are better described with a specific affinity, the most obvious candidate being the CPU PMUs. Augment the AIC binding to be able to specify that affinity in the interrupt controller node. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml')
-rw-r--r--Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
index c7577d401786..85c85b694217 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
@@ -70,6 +70,35 @@ properties:
power-domains:
maxItems: 1
+ affinities:
+ type: object
+ additionalProperties: false
+ description:
+ FIQ affinity can be expressed as a single "affinities" node,
+ containing a set of sub-nodes, one per FIQ with a non-default
+ affinity.
+ patternProperties:
+ "^.+-affinity$":
+ type: object
+ additionalProperties: false
+ properties:
+ apple,fiq-index:
+ description:
+ The interrupt number specified as a FIQ, and for which
+ the affinity is not the default.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ maximum: 5
+
+ cpus:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description:
+ Should be a list of phandles to CPU nodes (as described in
+ Documentation/devicetree/bindings/arm/cpus.yaml).
+
+ required:
+ - fiq-index
+ - cpus
+
required:
- compatible
- '#interrupt-cells'