dt-bindings: interrupt-controller: apple,aic2: New binding for AICv2
authorHector Martin <marcan@marcan.st>
Wed, 9 Mar 2022 19:21:18 +0000 (04:21 +0900)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Mar 2022 08:59:00 +0000 (08:59 +0000)
commitab1fd5abb75001d37e1fef5f310951b56f41ad58
tree6f31d6952347f42eb71e898fc271b1e3c021032e
parent89eb1681b73ff584c5678f7185a2d8e3070e9b78
dt-bindings: interrupt-controller: apple,aic2: New binding for AICv2

This new incompatible revision of the AIC peripheral introduces
multi-die support. This binding is based on apple,aic, but
changes interrupt-cells to add a new die argument.

Also adds a second reg entry 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 also
specify the offset explicitly in their device tree...

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220309192123.152028-3-marcan@marcan.st
Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml [new file with mode: 0644]
MAINTAINERS