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

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: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Maxime Ripard and committed by
Thomas Gleixner
a7e8b4b5 ffb12cf0

+3 -3
+2 -2
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
··· 2 2 3 3 Required properties: 4 4 5 - - compatible : should be "allwinner,sun4i-ic" 5 + - compatible : should be "allwinner,sun4i-a10-ic" 6 6 - reg : Specifies base physical address and size of the registers. 7 7 - interrupt-controller : Identifies the node as an interrupt controller 8 8 - #interrupt-cells : Specifies the number of cells needed to encode an ··· 11 11 Example: 12 12 13 13 intc: interrupt-controller { 14 - compatible = "allwinner,sun4i-ic"; 14 + compatible = "allwinner,sun4i-a10-ic"; 15 15 reg = <0x01c20400 0x400>; 16 16 interrupt-controller; 17 17 #interrupt-cells = <1>;
+1 -1
drivers/irqchip/irq-sun4i.c
··· 134 134 135 135 return 0; 136 136 } 137 - IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-ic", sun4i_of_init); 137 + IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-a10-ic", sun4i_of_init); 138 138 139 139 static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs) 140 140 {