From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/4] arm: pxa: add device-tree irq init for pxa27x
Date: Mon, 3 Nov 2014 18:41:59 +0100 [thread overview]
Message-ID: <1415036522-7800-2-git-send-email-robert.jarzmik@free.fr> (raw)
In-Reply-To: <1415036522-7800-1-git-send-email-robert.jarzmik@free.fr>
Add the initializer for irqs in a device-tree machine on a pxa27x.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
Since v2: added if (IS_ENABLED(CONFIG_OF)) for non device-tree builds
---
arch/arm/mach-pxa/pxa27x.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index b040d7d..af423a4 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -398,6 +398,12 @@ void __init pxa27x_init_irq(void)
pxa_init_irq(34, pxa27x_set_wake);
}
+void __init pxa27x_dt_init_irq(void)
+{
+ if (IS_ENABLED(CONFIG_OF))
+ pxa_dt_irq_init(pxa27x_set_wake);
+}
+
static struct map_desc pxa27x_io_desc[] __initdata = {
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,
--
2.1.0
next prev parent reply other threads:[~2014-11-03 17:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 17:41 [PATCH v3 0/4] Add support for pxa27x device-tree machine Robert Jarzmik
2014-11-03 17:41 ` Robert Jarzmik [this message]
2014-11-03 17:42 ` [PATCH v3 2/4] arm: pxa: move init functions into generic.h Robert Jarzmik
2014-11-03 17:42 ` [PATCH v3 3/4] arm: pxa: remove unnecessary includes from pxa-dt Robert Jarzmik
2014-11-03 17:42 ` [PATCH v3 4/4] arm: pxa: add pxa27x device-tree support Robert Jarzmik
2014-11-04 9:42 ` [PATCH v3 0/4] Add support for pxa27x device-tree machine Arnd Bergmann
2014-11-08 10:09 ` Robert Jarzmik
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=1415036522-7800-2-git-send-email-robert.jarzmik@free.fr \
--to=robert.jarzmik@free.fr \
--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