* [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible
@ 2014-02-07 20:50 Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 1/2] irqchip: sunxi: Change compatibles Maxime Ripard
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Maxime Ripard @ 2014-02-07 20:50 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
This is the second version of the A10 irqchip compatible changes.
The only difference with the v1 being that we're now droping the old
compatibles, instead of keeping them, since the DT maintainers said it was
fine.
Thanks,
Maxime
Maxime Ripard (2):
irqchip: sunxi: Change compatibles
ARM: sunxi: dt: Convert to the new irq controller compatibles
.../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt | 4 ++--
arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
arch/arm/boot/dts/sun5i-a10s.dtsi | 2 +-
arch/arm/boot/dts/sun5i-a13.dtsi | 2 +-
drivers/irqchip/irq-sun4i.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
--
1.8.4.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] irqchip: sunxi: Change compatibles
2014-02-07 20:50 [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
@ 2014-02-07 20:50 ` Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 2/2] ARM: sunxi: dt: Convert to the new irq controller compatibles Maxime Ripard
2014-03-13 11:39 ` [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2014-02-07 20:50 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
.../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt | 4 ++--
drivers/irqchip/irq-sun4i.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
index 32cec4b..b290ca1 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
@@ -2,7 +2,7 @@ Allwinner Sunxi Interrupt Controller
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.
- interrupt-controller : Identifies the node as an interrupt controller
- #interrupt-cells : Specifies the number of cells needed to encode an
@@ -11,7 +11,7 @@ Required properties:
Example:
intc: interrupt-controller {
- compatible = "allwinner,sun4i-ic";
+ compatible = "allwinner,sun4i-a10-ic";
reg = <0x01c20400 0x400>;
interrupt-controller;
#interrupt-cells = <1>;
diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c
index a5438d8..69e4e2d 100644
--- a/drivers/irqchip/irq-sun4i.c
+++ b/drivers/irqchip/irq-sun4i.c
@@ -134,7 +134,7 @@ static int __init sun4i_of_init(struct device_node *node,
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 asmlinkage void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs)
{
--
1.8.4.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ARM: sunxi: dt: Convert to the new irq controller compatibles
2014-02-07 20:50 [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 1/2] irqchip: sunxi: Change compatibles Maxime Ripard
@ 2014-02-07 20:50 ` Maxime Ripard
2014-03-13 11:39 ` [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2014-02-07 20:50 UTC (permalink / raw)
To: linux-arm-kernel
Switch the device tree to the new compatibles introduced in the irqchip drivers
to have a common pattern accross all Allwinner SoCs.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
arch/arm/boot/dts/sun5i-a10s.dtsi | 2 +-
arch/arm/boot/dts/sun5i-a13.dtsi | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 26cf191..f9d902f 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -347,7 +347,7 @@
};
intc: interrupt-controller at 01c20400 {
- compatible = "allwinner,sun4i-ic";
+ compatible = "allwinner,sun4i-a10-ic";
reg = <0x01c20400 0x400>;
interrupt-controller;
#interrupt-cells = <1>;
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index b114be7..e65fbf26 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -308,7 +308,7 @@
};
intc: interrupt-controller at 01c20400 {
- compatible = "allwinner,sun4i-ic";
+ compatible = "allwinner,sun4i-a10-ic";
reg = <0x01c20400 0x400>;
interrupt-controller;
#interrupt-cells = <1>;
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
index 5c121fc..d209179 100644
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
@@ -290,7 +290,7 @@
ranges;
intc: interrupt-controller at 01c20400 {
- compatible = "allwinner,sun4i-ic";
+ compatible = "allwinner,sun4i-a10-ic";
reg = <0x01c20400 0x400>;
interrupt-controller;
#interrupt-cells = <1>;
--
1.8.4.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible
2014-02-07 20:50 [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 1/2] irqchip: sunxi: Change compatibles Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 2/2] ARM: sunxi: dt: Convert to the new irq controller compatibles Maxime Ripard
@ 2014-03-13 11:39 ` Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2014-03-13 11:39 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Feb 07, 2014 at 09:50:24PM +0100, Maxime Ripard wrote:
> Hi,
>
> This is the second version of the A10 irqchip compatible changes.
> The only difference with the v1 being that we're now droping the old
> compatibles, instead of keeping them, since the DT maintainers said it was
> fine.
Ping?
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140313/e957ac91/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-13 11:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-07 20:50 [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 1/2] irqchip: sunxi: Change compatibles Maxime Ripard
2014-02-07 20:50 ` [PATCH v2 2/2] ARM: sunxi: dt: Convert to the new irq controller compatibles Maxime Ripard
2014-03-13 11:39 ` [PATCH v2 0/2] irqchip: sun4i: Introduce a new compatible Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox