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)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:32:45 +0000 (10:32 -0700)
commit15b390847105d283f0d076d4ec1dd1a404fbb072
tree3833d778e10dc74bbad0a9717c2785f1b2494e1c
parente6ada6df471f847da3b09b357e246c62335bc0bb
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