Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+29
+29
Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
··· 70 70 power-domains: 71 71 maxItems: 1 72 72 73 + affinities: 74 + type: object 75 + additionalProperties: false 76 + description: 77 + FIQ affinity can be expressed as a single "affinities" node, 78 + containing a set of sub-nodes, one per FIQ with a non-default 79 + affinity. 80 + patternProperties: 81 + "^.+-affinity$": 82 + type: object 83 + additionalProperties: false 84 + properties: 85 + apple,fiq-index: 86 + description: 87 + The interrupt number specified as a FIQ, and for which 88 + the affinity is not the default. 89 + $ref: /schemas/types.yaml#/definitions/uint32 90 + maximum: 5 91 + 92 + cpus: 93 + $ref: /schemas/types.yaml#/definitions/phandle-array 94 + description: 95 + Should be a list of phandles to CPU nodes (as described in 96 + Documentation/devicetree/bindings/arm/cpus.yaml). 97 + 98 + required: 99 + - fiq-index 100 + - cpus 101 + 73 102 required: 74 103 - compatible 75 104 - '#interrupt-cells'