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

irqchip/aspeed-vic: Add AST2500 compatible string

In addition to introducing the new compatible string the bindings
description is reworked to be more generic.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

authored by

Andrew Jeffery and committed by
Marc Zyngier
fa776a3f 13dcf12b

+7 -5
+5 -4
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt
··· 1 1 Aspeed Vectored Interrupt Controller 2 2 3 - These bindings are for the Aspeed AST2400 interrupt controller register layout. 4 - The SoC has an legacy register layout, but this driver does not support that 5 - mode of operation. 3 + These bindings are for the Aspeed interrupt controller. The AST2400 and 4 + AST2500 SoC families include a legacy register layout before a re-designed 5 + layout, but the bindings do not prescribe the use of one or the other. 6 6 7 7 Required properties: 8 8 9 - - compatible : should be "aspeed,ast2400-vic". 9 + - compatible : "aspeed,ast2400-vic" 10 + "aspeed,ast2500-vic" 10 11 11 12 - interrupt-controller : Identifies the node as an interrupt controller 12 13 - #interrupt-cells : Specifies the number of cells needed to encode an
+2 -1
drivers/irqchip/irq-aspeed-vic.c
··· 227 227 return 0; 228 228 } 229 229 230 - IRQCHIP_DECLARE(aspeed_new_vic, "aspeed,ast2400-vic", avic_of_init); 230 + IRQCHIP_DECLARE(ast2400_vic, "aspeed,ast2400-vic", avic_of_init); 231 + IRQCHIP_DECLARE(ast2500_vic, "aspeed,ast2500-vic", avic_of_init);