irqchip/aspeed-vic: Add AST2500 compatible string
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 16 May 2017 07:57:47 +0000 (15:57 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:13:39 +0000 (14:13 +0100)
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>
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.txt
drivers/irqchip/irq-aspeed-vic.c

index 6c6e85324b9db0cec116af86d710db1ca94161b9..e3fea0758d2535cb0598337941a7a995a275651f 100644 (file)
@@ -1,12 +1,13 @@
 Aspeed Vectored Interrupt Controller
 
-These bindings are for the Aspeed AST2400 interrupt controller register layout.
-The SoC has an legacy register layout, but this driver does not support that
-mode of operation.
+These bindings are for the Aspeed interrupt controller. The AST2400 and
+AST2500 SoC families include a legacy register layout before a re-designed
+layout, but the bindings do not prescribe the use of one or the other.
 
 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-cells : Specifies the number of cells needed to encode an
index 88e139e4c1f90799c0ffb9027fff083be5a319c0..03ba477ea0d0c4d69b7e5facd16e538ee5ffc1c7 100644 (file)
@@ -227,4 +227,5 @@ static int __init avic_of_init(struct device_node *node,
        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);