> On 31. Aug 2024, at 07:57, Nick Chan <towinchenmi@xxxxxxxxx> wrote: > > Document and describe the compatibles for Apple A7-A11 SoCs. > > There are three feature levels: > - apple,aic: No fast IPI, for A7-A10 > - apple,t8015-aic: fast IPI, global only, for A11 > - apple,t8103-aic: fast IPI with local and global support, for M1 > > Each feature level is an extension of the previous, for example, M1 will > also work with the A7 feature level. > > All of A7-M1 gets its own SoC-specific compatible, and the "apple,aic" > compatible as a fallback. > > Signed-off-by: Nick Chan <towinchenmi@xxxxxxxxx> > --- Reviewed-by: Sven Peter <sven@xxxxxxxxxxxxx> > .../bindings/interrupt-controller/apple,aic.yaml | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml > index 698588e9aa86..4be9b596a790 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml > @@ -31,13 +31,25 @@ description: | > This device also represents the FIQ interrupt sources on platforms using AIC, > which do not go through a discrete interrupt controller. > > + IPIs may be performed via MMIO registers on all variants of AIC. Starting > + from A11, system registers may also be used for "fast" IPIs. Starting from > + M1, even faster IPIs within the same cluster may be achieved by writing to > + a "local" fast IPI register as opposed to using the "global" fast IPI > + register. > + > allOf: > - $ref: /schemas/interrupt-controller.yaml# > > properties: > compatible: > items: > - - const: apple,t8103-aic > + - enum: > + - apple,s5l8960x-aic > + - apple,t7000-aic > + - apple,s8000-aic > + - apple,t8010-aic > + - apple,t8015-aic > + - apple,t8103-aic > - const: apple,aic > > interrupt-controller: true > -- > 2.46.0 >