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>
This commit is contained in:
Andrew Jeffery 2017-05-16 15:57:47 +08:00 committed by Marc Zyngier
parent 13dcf12bf8
commit fa776a3f2b
2 changed files with 7 additions and 5 deletions

View file

@ -1,12 +1,13 @@
Aspeed Vectored Interrupt Controller Aspeed Vectored Interrupt Controller
These bindings are for the Aspeed AST2400 interrupt controller register layout. These bindings are for the Aspeed interrupt controller. The AST2400 and
The SoC has an legacy register layout, but this driver does not support that AST2500 SoC families include a legacy register layout before a re-designed
mode of operation. layout, but the bindings do not prescribe the use of one or the other.
Required properties: Required properties:
- compatible : should be "aspeed,ast2400-vic". - compatible : "aspeed,ast2400-vic"
"aspeed,ast2500-vic"
- interrupt-controller : Identifies the node as an interrupt controller - interrupt-controller : Identifies the node as an interrupt controller
- #interrupt-cells : Specifies the number of cells needed to encode an - #interrupt-cells : Specifies the number of cells needed to encode an

View file

@ -227,4 +227,5 @@ static int __init avic_of_init(struct device_node *node,
return 0; return 0;
} }
IRQCHIP_DECLARE(aspeed_new_vic, "aspeed,ast2400-vic", avic_of_init); IRQCHIP_DECLARE(ast2400_vic, "aspeed,ast2400-vic", avic_of_init);
IRQCHIP_DECLARE(ast2500_vic, "aspeed,ast2500-vic", avic_of_init);