Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interrupt-controller: apple,aic2: Add AICv3

AIC version 3 as found on the Apple M3 (t8122) is very similar to AICv2 in
its base functionality. It can use the same device tree bindings as AICv2
so add it to the AICv2 bindings. This interrupt controller is used on all
Apple SoCs starting with M3 up to at least M5.

The only apparent difference is the increased IRQ config offset. Apple's
device tree codes this new offset as property of the "aic" node but the
value stayed constant for all SoCs with "aic,3". Since the SoC specific
compatible "apple,t8122-aic3" will be only used in the driver this offset
can remain a driver implementation detail.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260223-irq-apple-aic3-v3-1-2b7328076b8d@jannau.net

authored by

Janne Grunau and committed by
Thomas Gleixner
0db190e6 5e729178

+21 -9
+21 -9
Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
··· 4 4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Apple Interrupt Controller 2 7 + title: Apple Interrupt Controller 2 and 3 8 8 9 9 maintainers: 10 - - Hector Martin <marcan@marcan.st> 10 + - Janne Grunau <j@jannau.net> 11 11 12 12 description: | 13 13 The Apple Interrupt Controller 2 is a simple interrupt controller present on ··· 28 28 which do not go through a discrete interrupt controller. It also handles 29 29 FIQ-based Fast IPIs. 30 30 31 + The Apple Interrupt Controller 3 is in its base functionality very similar to 32 + the Apple Interrupt Controller 2 and uses the same device tree bindings. It is 33 + found on Apple ARM SoCs platforms starting with t8122 (M3). 34 + 31 35 properties: 32 36 compatible: 33 - items: 34 - - enum: 35 - - apple,t8112-aic 36 - - apple,t6000-aic 37 - - apple,t6020-aic 38 - - const: apple,aic2 37 + oneOf: 38 + - items: 39 + - enum: 40 + - apple,t6000-aic 41 + - apple,t6020-aic 42 + - apple,t8112-aic 43 + - const: apple,aic2 44 + - items: 45 + - enum: 46 + - apple,t6030-aic3 47 + - const: apple,t8122-aic3 48 + - const: apple,t8122-aic3 39 49 40 50 interrupt-controller: true 41 51 ··· 127 117 properties: 128 118 compatible: 129 119 contains: 130 - const: apple,t8112-aic 120 + enum: 121 + - apple,t8112-aic 122 + - apple,t8122-aic3 131 123 then: 132 124 properties: 133 125 '#interrupt-cells':