From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] ARM: imx27: Use 'AITC' for the interrupt controller name
Date: Wed, 11 Apr 2012 22:12:10 -0300 [thread overview]
Message-ID: <1334193132-18944-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1334193132-18944-1-git-send-email-festevam@gmail.com>
On the MX27 Reference Manual the interrupt controller is named AITC:
ARM926EJ-S Interrupt Controller
So use the AITC term instead of AVIC.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx27.dtsi | 6 +++---
arch/arm/mach-imx/imx27-dt.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index bc5e7d5..b907277 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -21,8 +21,8 @@
serial5 = &uart6;
};
- avic: avic-interrupt-controller at e0000000 {
- compatible = "fsl,imx27-avic", "fsl,avic";
+ aitc: aitc-interrupt-controller at e0000000 {
+ compatible = "fsl,imx27-aitc", "fsl,aitc";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0x10040000 0x1000>;
@@ -42,7 +42,7 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
- interrupt-parent = <&avic>;
+ interrupt-parent = <&aitc>;
ranges;
aipi at 10000000 { /* AIPI1 */
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c
index ffff10c..51ad447 100644
--- a/arch/arm/mach-imx/imx27-dt.c
+++ b/arch/arm/mach-imx/imx27-dt.c
@@ -32,7 +32,7 @@ static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = {
{ /* sentinel */ }
};
-static int __init imx27_avic_add_irq_domain(struct device_node *np,
+static int __init imx27_aitc_add_irq_domain(struct device_node *np,
struct device_node *interrupt_parent)
{
irq_domain_add_legacy(np, 64, 0, 0, &irq_domain_simple_ops, NULL);
@@ -52,7 +52,7 @@ static int __init imx27_gpio_add_irq_domain(struct device_node *np,
}
static const struct of_device_id imx27_irq_match[] __initconst = {
- { .compatible = "fsl,imx27-avic", .data = imx27_avic_add_irq_domain, },
+ { .compatible = "fsl,imx27-aitc", .data = imx27_aitc_add_irq_domain, },
{ .compatible = "fsl,imx27-gpio", .data = imx27_gpio_add_irq_domain, },
{ /* sentinel */ }
};
--
1.7.1
next prev parent reply other threads:[~2012-04-12 1:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 1:12 [PATCH 1/4] ARM: imx27-dt: Fix build due to removal of irq_domain_add_simple() Fabio Estevam
2012-04-12 1:12 ` Fabio Estevam [this message]
2012-04-12 1:12 ` [PATCH 3/4] ARM: dts: Add basic support for mx27_3ds board Fabio Estevam
2012-04-12 1:12 ` [PATCH 4/4] ARM: imx_v4_v5_defconfig: Let CONFIG_MACH_IMX27_DT be built by default Fabio Estevam
2012-04-13 14:44 ` [PATCH 1/4] ARM: imx27-dt: Fix build due to removal of irq_domain_add_simple() Sascha Hauer
2012-04-25 18:15 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334193132-18944-2-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).