Commit a7e8b4b5 authored by Maxime Ripard's avatar Maxime Ripard Committed by Thomas Gleixner

irqchip: sunxi: Change compatibles

The Allwinner A10 compatibles were following a slightly different compatible
patterns than the rest of the SoCs for historical reasons. Change the compatibles
to match the other pattern in the irq controller driver for consistency.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent ffb12cf0
...@@ -2,7 +2,7 @@ Allwinner Sunxi Interrupt Controller ...@@ -2,7 +2,7 @@ Allwinner Sunxi Interrupt Controller
Required properties: Required properties:
- compatible : should be "allwinner,sun4i-ic" - compatible : should be "allwinner,sun4i-a10-ic"
- reg : Specifies base physical address and size of the registers. - reg : Specifies base physical address and size of the registers.
- 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
...@@ -11,7 +11,7 @@ Required properties: ...@@ -11,7 +11,7 @@ Required properties:
Example: Example:
intc: interrupt-controller { intc: interrupt-controller {
compatible = "allwinner,sun4i-ic"; compatible = "allwinner,sun4i-a10-ic";
reg = <0x01c20400 0x400>; reg = <0x01c20400 0x400>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -134,7 +134,7 @@ static int __init sun4i_of_init(struct device_node *node, ...@@ -134,7 +134,7 @@ static int __init sun4i_of_init(struct device_node *node,
return 0; return 0;
} }
IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-ic", sun4i_of_init); IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-a10-ic", sun4i_of_init);
static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs) static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment