ARM: 6057/1: Realview: register PMU IRQs during board initialisation

Previous thread: ARM: Add Versatile Express CA9x4 processor support by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)

Next thread: ARM: 6136/1: ARCH_REQUIRE_GPIOLIB selects GENERIC_GPIO by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, May 19, 2010 - 1:01 pm

Gitweb:     http://git.kernel.org/linus/f417cbad7394fdccec850d13d7d5621516d693ce
Commit:     f417cbad7394fdccec850d13d7d5621516d693ce
Parent:     59ac59f6f1432aa9417d2592bdfd17c99804dd66
Author:     Will Deacon <will.deacon@arm.com>
AuthorDate: Thu Apr 15 10:16:26 2010 +0100
Committer:  Russell King <rmk+kernel@arm.linux.org.uk>
CommitDate: Sun May 2 09:35:40 2010 +0100

    ARM: 6057/1: Realview: register PMU IRQs during board initialisation
    
    This patch updates the initialisation routines for the Realview boards
    and the Versatile Express board [ca9x4 tile] so that they register their
    PMU IRQs with the PMU framework in the Kernel.
    
    Signed-off-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/mach-realview/realview_eb.c           |   32 ++++++++++++++++++++++
 arch/arm/mach-realview/realview_pb1176.c       |   15 ++++++++++
 arch/arm/mach-realview/realview_pb11mp.c       |   32 ++++++++++++++++++++++
 arch/arm/mach-realview/realview_pba8.c         |   15 ++++++++++
 arch/arm/mach-realview/realview_pbx.c          |   32 ++++++++++++++++++++++
 arch/arm/mach-vexpress/ct-ca9x4.c              |   34 ++++++++++++++++++++++++
 arch/arm/mach-vexpress/include/mach/ct-ca9x4.h |    4 +++
 7 files changed, 164 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 006765f..422ccd7 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -31,6 +31,7 @@
 #include <asm/irq.h>
 #include <asm/leds.h>
 #include <asm/mach-types.h>
+#include <asm/pmu.h>
 #include <asm/hardware/gic.h>
 #include <asm/hardware/cache-l2x0.h>
 #include <asm/localtimer.h>
@@ -292,6 +293,36 @@ static struct resource realview_eb_isp1761_resources[] = {
 	},
 };
 
+static struct resource pmu_resources[] = {
+	[0] = {
+		.start		= IRQ_EB11MP_PMU_CPU0,
+		.end		= IRQ_EB11MP_PMU_CPU0,
+		.flags		= ...
Previous thread: ARM: Add Versatile Express CA9x4 processor support by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)

Next thread: ARM: 6136/1: ARCH_REQUIRE_GPIOLIB selects GENERIC_GPIO by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)