Skip to contentSkip to conversation

omap1 sparse irq support for v4.2

GIT PULL Arnd Bergmann 1 participant 2 messages May 21, 2015

Subsystems (6)
lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · On Wednesday 20 May 2015 15:36:05 Tony Lindgren wrote:

Add support for CONFIG_SPARSE_IRQ for omap1. This takes us a bit closer to making omap1 support multiarch. After this series we still need to make omap1 use the common clock framework and fix up the drivers to not rely on includes from mach and plat directories.

Note that this branch depends on a GPIO driver fix in v4.1-rc3 d2d05c65c40e ("gpio: omap: Fix regression for MPUIO interrupts").

fwiw, I have another patch in my 'multiplatform' series that will add another baby step.

8<---
ARM: OMAP1: make header files local if possible

A number of header files in mach-omap1 are never included from outside of mach-omap1, so we can move them directly to that directory.

arch/arm/mach-omap1/board-ams-delta.c +1 -1
index a95499ea8706..9fc70978823b 100644
@@ -41,7 +41,7 @@
 
 #include <mach/hardware.h>
 #include <mach/ams-delta-fiq.h>
-#include <mach/camera.h>
+#include "camera.h"
 #include <mach/usb.h>
 
 #include "iomap.h"
arch/arm/mach-omap1/board-fsample.c +1 -1
index 0fb51d22c8b5..fad95b74bb65 100644
@@ -29,7 +29,7 @@
 
 #include <mach/tc.h>
 #include <mach/mux.h>
-#include <mach/flash.h>
+#include "flash.h"
 #include <linux/platform_data/keypad-omap.h>
 
 #include <mach/hardware.h>
arch/arm/mach-omap1/board-h2.c +1 -1
index 8340d684d8b6..cd146ed0538d 100644
@@ -42,7 +42,7 @@
 #include <linux/omap-dma.h>
 #include <mach/tc.h>
 #include <linux/platform_data/keypad-omap.h>
-#include <mach/flash.h>
+#include "flash.h"
 
 #include <mach/hardware.h>
 #include <mach/usb.h>
arch/arm/mach-omap1/board-h3.c +1 -1
index 086ff34e072b..f7c8c63dd532 100644
@@ -44,7 +44,7 @@
 #include <mach/tc.h>
 #include <linux/platform_data/keypad-omap.h>
 #include <linux/omap-dma.h>
-#include <mach/flash.h>
+#include "flash.h"
 
 #include <mach/hardware.h>
 #include <mach/irqs.h>
arch/arm/mach-omap1/board-innovator.c +1 -1
index ed4e045c2ad8..ae90bd02b3bf 100644
@@ -32,7 +32,7 @@
 #include <asm/mach/map.h>
 
 #include <mach/mux.h>
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/tc.h>
 #include <linux/platform_data/keypad-omap.h>
 
arch/arm/mach-omap1/board-osk.c +1 -1
index 0efd165b8227..209aecb0df68 100644
@@ -46,7 +46,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/mux.h>
 #include <mach/tc.h>
 
arch/arm/mach-omap1/board-palmte.c +1 -1
index 1142ae431fe0..e5288cda1a6a 100644
@@ -34,7 +34,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/mux.h>
 #include <mach/tc.h>
 #include <linux/omap-dma.h>
arch/arm/mach-omap1/board-palmtt.c +1 -1
index 54a547a96950..d672495f7441 100644
@@ -34,7 +34,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/mux.h>
 #include <linux/omap-dma.h>
 #include <mach/tc.h>
arch/arm/mach-omap1/board-palmz71.c +1 -1
index 87ec04ae40dd..aaf741b0aff6 100644
@@ -36,7 +36,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/mux.h>
 #include <linux/omap-dma.h>
 #include <mach/tc.h>
arch/arm/mach-omap1/board-perseus2.c +1 -1
index 3d76f05407f0..150b57ba42bf 100644
@@ -30,7 +30,7 @@
 
 #include <mach/tc.h>
 #include <mach/mux.h>
-#include <mach/flash.h>
+#include "flash.h"
 
 #include <mach/hardware.h>
 
arch/arm/mach-omap1/board-sx1-mmc.c +1 -1
index 4fcf19c78a08..a9373570bbb1 100644
@@ -16,7 +16,7 @@
 #include <linux/platform_device.h>
 
 #include <mach/hardware.h>
-#include <mach/board-sx1.h>
+#include "board-sx1.h"
 
 #include "mmc.h"
 
arch/arm/mach-omap1/board-sx1.c +2 -2
index 939991ea33d5..6c482254b37c 100644
@@ -34,11 +34,11 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/flash.h>
+#include "flash.h"
 #include <mach/mux.h>
 #include <linux/omap-dma.h>
 #include <mach/tc.h>
-#include <mach/board-sx1.h>
+#include "board-sx1.h"
 
 #include <mach/hardware.h>
 #include <mach/usb.h>
arch/arm/mach-omap1/board-sx1.h renamed from arch/arm/mach-omap1/include/mach/board-sx1.h +0 -0
similarity index 100%
rename from arch/arm/mach-omap1/include/mach/board-sx1.h
rename to arch/arm/mach-omap1/board-sx1.h
arch/arm/mach-omap1/board-voiceblue.c +2 -2
index e960687d0cb1..2c01147a27f9 100644
@@ -32,8 +32,8 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/board-voiceblue.h>
-#include <mach/flash.h>
+#include "board-voiceblue.h"
+#include "flash.h"
 #include <mach/mux.h>
 #include <mach/tc.h>
 
arch/arm/mach-omap1/board-voiceblue.h renamed from arch/arm/mach-omap1/include/mach/board-voiceblue.h +0 -0
similarity index 100%
rename from arch/arm/mach-omap1/include/mach/board-voiceblue.h
rename to arch/arm/mach-omap1/board-voiceblue.h
arch/arm/mach-omap1/camera.h renamed from arch/arm/mach-omap1/include/mach/camera.h +0 -0
similarity index 100%
rename from arch/arm/mach-omap1/include/mach/camera.h
rename to arch/arm/mach-omap1/camera.h
arch/arm/mach-omap1/devices.c +1 -1
index 325e6030095e..263c07a566cb 100644
@@ -25,7 +25,7 @@
 #include <mach/mux.h>
 
 #include <mach/omap7xx.h>
-#include <mach/camera.h>
+#include "camera.h"
 #include <mach/hardware.h>
 
 #include "common.h"
arch/arm/mach-omap1/flash.c +1 -1
index b3fb531af94e..99cda402e1e2 100644
@@ -11,7 +11,7 @@
 #include <linux/mtd/map.h>
 
 #include <mach/tc.h>
-#include <mach/flash.h>
+#include "flash.h"
 
 #include <mach/hardware.h>
 
arch/arm/mach-omap1/flash.h renamed from arch/arm/mach-omap1/include/mach/flash.h +0 -0
similarity index 100%
rename from arch/arm/mach-omap1/include/mach/flash.h
rename to arch/arm/mach-omap1/flash.h
#1 lore raw
Quoted 13 lines · On Thursday 21 May 2015 14:14:12 Arnd Bergmann wrote:
Quoted 8 lines · On Wednesday 20 May 2015 15:36:05 Tony Lindgren wrote:

Add support for CONFIG_SPARSE_IRQ for omap1. This takes us a bit closer to making omap1 support multiarch. After this series we still need to make omap1 use the common clock framework and fix up the drivers to not rely on includes from mach and plat directories.

Note that this branch depends on a GPIO driver fix in v4.1-rc3 d2d05c65c40e ("gpio: omap: Fix regression for MPUIO interrupts").

fwiw, I have another patch in my 'multiplatform' series that will add another baby step.

Quoted 7 lines

8<---
ARM: OMAP1: make header files local if possible

A number of header files in mach-omap1 are never included from outside of mach-omap1, so we can move them directly to that directory.

and three more:

arch/arm/mach-omap1/board-h3.h +2 -0
index 78de535be3c5..f70c42801969 100644
@@ -27,6 +27,8 @@
 #ifndef __ASM_ARCH_OMAP_H3_H
 #define __ASM_ARCH_OMAP_H3_H
 
+#include <mach/irqs.h>
+
 #define H3_TPS_GPIO_BASE		(OMAP_MAX_GPIO_LINES + 16 /* MPUIO */)
 #	define H3_TPS_GPIO_MMC_PWR_EN	(H3_TPS_GPIO_BASE + 4)
 
drivers/usb/gadget/udc/omap_udc.c +1 -0
index e2fcdb8e5596..8a3690b2acbd 100644
@@ -45,6 +45,7 @@
 
 #include <linux/omap-dma.h>
 
+#include <mach/hardware.h>
 #include <mach/usb.h>
 
 #include "omap_udc.h"
sound/soc/omap/omap-pcm.c +1 -0
index 6bb623a2a4df..1f6c8d91f738 100644
@@ -34,6 +34,7 @@
 #include <sound/omap-pcm.h>
 
 #ifdef CONFIG_ARCH_OMAP1
+#include <mach/soc.h>
 #define pcm_omap1510()	cpu_is_omap1510()
 #else
 #define pcm_omap1510()	0