omap1 sparse irq support for v4.2
Subsystems (6)
Quoted 8 lines · On Wednesday 20 May 2015 15:36:05 Tony Lindgren wrote:
Add support for
CONFIG_SPARSE_IRQfor 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
arch/arm/mach-omap1/board-voiceblue.c +2 -2
@@ -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
arch/arm/mach-omap1/camera.h renamed from arch/arm/mach-omap1/include/mach/camera.h +0 -0
arch/arm/mach-omap1/devices.c +1 -1
@@ -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
@@ -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
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_IRQfor 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 possibleA number of header files in mach-omap1 are never included from outside of mach-omap1, so we can move them directly to that directory.
Signed-off-by Arnd Bergmann <[email protected]>
and three more:
arch/arm/mach-omap1/board-h3.h +2 -0
@@ -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
@@ -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
@@ -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