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>
Tue, 18 Jan 2022 11:19:49 +0000 (20:19 +0900)
commit77c28c19309d32a8a1564da66951b643de79cae2
treedd670bea15124085e97edc9ff7a13b129a96c5f1
parent121ebf235daeb26408ac666721823cd8cb6cefec
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