dt-bindings: interrupt-controller: apple,aic: Add apple,aic2 support
authorHector Martin <marcan@marcan.st>
Tue, 7 Dec 2021 15:54:40 +0000 (00:54 +0900)
committerHector Martin <marcan@marcan.st>
Sat, 19 Feb 2022 07:52:25 +0000 (16:52 +0900)
commita19ab8429a3d74512682201f804509d84ccad0fb
tree0db5de3d17e8c9c7e376b0eb04d9efd4eaeb3bfe
parent3c30cf91b5ecc7272b3d2942ae0505dd8320b81c
dt-bindings: interrupt-controller: apple,aic: Add apple,aic2 support

This new incompatible revision of the AIC peripheral introduces
multi-die support. To handle that, we introduce an optional
4-argument interrupt-cells form.

Also add an apple,event-reg property to specify the offset of the event
register. Inexplicably, the capability registers allow us to compute
other register offsets, but not this one. This allows us to keep
forward-compatibility with future SoCs that will likely implement
different die counts, thus shifting the event register. Apple do the
same thing in their device tree...

Signed-off-by: Hector Martin <marcan@marcan.st>
Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml