aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-09-16 23:05:06 -0400
committerOlof Johansson <olof@lixom.net>2012-09-16 23:05:06 -0400
commit8e51036d348956a3cdb5a977234c395fdb82e170 (patch)
tree4069298c12089ae7702c6b14a3640dcc376f199c /arch/arm/mach-omap2/devices.c
parenta73403d85ab43ca633e393bb130add337d69fadb (diff)
parent68cb700c59fae6cd539c9dc1e9f2584f671935a0 (diff)
Merge tag 'omap-cleanup-sparseirq-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
From Tony Lindgren: This branch contains changes needed to make omap2+ work properly with sparse IRQ. It also removes dependencies to mach/hardware.h. These help moving things towards ARM single zImage support. This branch is based on a commit in tty-next branch with omap-devel-gpmc-fixed-for-v3.7 and cleanup-omap-tags-for-v3.7 merged in to keep things compiling and sort out some merge conflicts. * tag 'omap-cleanup-sparseirq-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP1: Move SoC specific headers from plat to mach for omap1 ARM: OMAP2+ Move SoC specific headers to be local to mach-omap2 ARM: OMAP: Split plat/hardware.h, use local soc.h for omap2+ ARM: OMAP: Remove unused old gpio-switch.h ARM: OMAP1: Move plat/irqs.h to mach/irqs.h ARM: OMAP2+: Remove hardcoded IRQs and enable SPARSE_IRQ ARM: OMAP2+: Prepare for irqs.h removal W1: OMAP HDQ1W: Remove dependencies to mach/hardware.h Input: omap-keypad: Remove dependencies to mach includes ARM: OMAP: Move gpio.h to include/linux/platform_data ARM: OMAP2+: Remove hardcoded twl4030 gpio_base, irq_base and irq_end ARM: OMAP2+: Remove unused nand_irq for GPMC ARM: OMAP2+: Make INTCPS_NR_IRQS local for mach-omap2/irq.c ARM: OMAP1: Define OMAP1_INT_I2C locally ARM: OMAP1: Move define of OMAP_LCD_DMA to dma.h
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 2deec1749e0c..6f6893e38ffc 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -19,8 +19,6 @@
19#include <linux/of.h> 19#include <linux/of.h>
20#include <linux/platform_data/omap4-keypad.h> 20#include <linux/platform_data/omap4-keypad.h>
21 21
22#include <mach/hardware.h>
23#include <mach/irqs.h>
24#include <asm/mach-types.h> 22#include <asm/mach-types.h>
25#include <asm/mach/map.h> 23#include <asm/mach/map.h>
26 24
@@ -30,6 +28,8 @@
30#include <plat/omap_device.h> 28#include <plat/omap_device.h>
31#include <plat/omap4-keypad.h> 29#include <plat/omap4-keypad.h>
32 30
31#include "soc.h"
32#include "common.h"
33#include "mux.h" 33#include "mux.h"
34#include "control.h" 34#include "control.h"
35#include "devices.h" 35#include "devices.h"
@@ -110,7 +110,7 @@ static struct resource omap2cam_resources[] = {
110 .flags = IORESOURCE_MEM, 110 .flags = IORESOURCE_MEM,
111 }, 111 },
112 { 112 {
113 .start = INT_24XX_CAM_IRQ, 113 .start = 24 + OMAP_INTC_START,
114 .flags = IORESOURCE_IRQ, 114 .flags = IORESOURCE_IRQ,
115 } 115 }
116}; 116};
@@ -199,7 +199,7 @@ static struct resource omap3isp_resources[] = {
199 .flags = IORESOURCE_MEM, 199 .flags = IORESOURCE_MEM,
200 }, 200 },
201 { 201 {
202 .start = INT_34XX_CAM_IRQ, 202 .start = 24 + OMAP_INTC_START,
203 .flags = IORESOURCE_IRQ, 203 .flags = IORESOURCE_IRQ,
204 } 204 }
205}; 205};
@@ -433,14 +433,12 @@ static inline void omap_init_mcspi(void) {}
433#endif 433#endif
434 434
435static struct resource omap2_pmu_resource = { 435static struct resource omap2_pmu_resource = {
436 .start = 3, 436 .start = 3 + OMAP_INTC_START,
437 .end = 3,
438 .flags = IORESOURCE_IRQ, 437 .flags = IORESOURCE_IRQ,
439}; 438};
440 439
441static struct resource omap3_pmu_resource = { 440static struct resource omap3_pmu_resource = {
442 .start = INT_34XX_BENCH_MPU_EMUL, 441 .start = 3 + OMAP_INTC_START,
443 .end = INT_34XX_BENCH_MPU_EMUL,
444 .flags = IORESOURCE_IRQ, 442 .flags = IORESOURCE_IRQ,
445}; 443};
446 444
@@ -473,7 +471,7 @@ static struct resource omap2_sham_resources[] = {
473 .flags = IORESOURCE_MEM, 471 .flags = IORESOURCE_MEM,
474 }, 472 },
475 { 473 {
476 .start = INT_24XX_SHA1MD5, 474 .start = 51 + OMAP_INTC_START,
477 .flags = IORESOURCE_IRQ, 475 .flags = IORESOURCE_IRQ,
478 } 476 }
479}; 477};
@@ -491,7 +489,7 @@ static struct resource omap3_sham_resources[] = {
491 .flags = IORESOURCE_MEM, 489 .flags = IORESOURCE_MEM,
492 }, 490 },
493 { 491 {
494 .start = INT_34XX_SHA1MD52_IRQ, 492 .start = 49 + OMAP_INTC_START,
495 .flags = IORESOURCE_IRQ, 493 .flags = IORESOURCE_IRQ,
496 }, 494 },
497 { 495 {