dt-bindings: interrupt-controller: apple,aic2: Invert #interrupt-cells condition

The condition for 3 or 4 #interrupt-cells list compatibles for the 3
cells variant (not used in SoCs consisting out of multiple dies). This
includes the AICv3 base compatible "apple,t8122-aic3". This will match
    compatible = "apple,t6031-aic3", "apple,t8122-aic3";
shared for M3 Max and Ultra based devices which require the additional
interrupt cell for the die number.
Instead list the compatibles used for multi-die SoCs explicitly and use
4 #interrupt-cells for them.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Sven Peter <sven@kernel.org>
This commit is contained in:
Janne Grunau 2026-07-24 20:16:42 +02:00 committed by Sven Peter
parent 7a867322cd
commit 7482c38040

View File

@ -128,16 +128,16 @@ allOf:
compatible:
contains:
enum:
- apple,t8112-aic
- apple,t8122-aic3
- apple,t6000-aic
- apple,t6020-aic
then:
properties:
'#interrupt-cells':
const: 3
const: 4
else:
properties:
'#interrupt-cells':
const: 4
const: 3
examples:
- |