diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 19:53:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 19:53:48 -0400 |
commit | 12679a2d7e3bfbdc7586e3e86d1ca90c46659363 (patch) | |
tree | d9c00f2e599d1c3e04a349229a6a19906d01f99e /arch/arm/mach-mmp | |
parent | 1c036588772d01655d851f75dffc27c971e072e2 (diff) | |
parent | b0df89868006517417251e02cc4ce5d4b0165885 (diff) |
Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm
Pull more ARM updates from Russell King.
This got a fair number of conflicts with the <asm/system.h> split, but
also with some other sparse-irq and header file include cleanups. They
all looked pretty trivial, though.
* 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (59 commits)
ARM: fix Kconfig warning for HAVE_BPF_JIT
ARM: 7361/1: provide XIP_VIRT_ADDR for no-MMU builds
ARM: 7349/1: integrator: convert to sparse irqs
ARM: 7259/3: net: JIT compiler for packet filters
ARM: 7334/1: add jump label support
ARM: 7333/2: jump label: detect %c support for ARM
ARM: 7338/1: add support for early console output via semihosting
ARM: use set_current_blocked() and block_sigmask()
ARM: exec: remove redundant set_fs(USER_DS)
ARM: 7332/1: extract out code patch function from kprobes
ARM: 7331/1: extract out insn generation code from ftrace
ARM: 7330/1: ftrace: use canonical Thumb-2 wide instruction format
ARM: 7351/1: ftrace: remove useless memory checks
ARM: 7316/1: kexec: EOI active and mask all interrupts in kexec crash path
ARM: Versatile Express: add NO_IOPORT
ARM: get rid of asm/irq.h in asm/prom.h
ARM: 7319/1: Print debug info for SIGBUS in user faults
ARM: 7318/1: gic: refactor irq_start assignment
ARM: 7317/1: irq: avoid NULL check in for_each_irq_desc loop
ARM: 7315/1: perf: add support for the Cortex-A7 PMU
...
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r-- | arch/arm/mach-mmp/aspenite.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-mmp/avengers_lite.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mmp/brownstone.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mmp/flint.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mmp/gplugd.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mmp/include/mach/irqs.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-mmp/irq-mmp2.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mmp/jasper.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-mmp/tavorevb.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mmp/teton_bga.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 4 |
11 files changed, 19 insertions, 13 deletions
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index 3588a5584153..bf5d8e195c3e 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <mach/addr-map.h> | 23 | #include <mach/addr-map.h> |
24 | #include <mach/mfp-pxa168.h> | 24 | #include <mach/mfp-pxa168.h> |
25 | #include <mach/pxa168.h> | 25 | #include <mach/pxa168.h> |
26 | #include <mach/irqs.h> | ||
26 | #include <video/pxa168fb.h> | 27 | #include <video/pxa168fb.h> |
27 | #include <linux/input.h> | 28 | #include <linux/input.h> |
28 | #include <plat/pxa27x_keypad.h> | 29 | #include <plat/pxa27x_keypad.h> |
@@ -239,7 +240,7 @@ static void __init common_init(void) | |||
239 | 240 | ||
240 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") | 241 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") |
241 | .map_io = mmp_map_io, | 242 | .map_io = mmp_map_io, |
242 | .nr_irqs = IRQ_BOARD_START, | 243 | .nr_irqs = MMP_NR_IRQS, |
243 | .init_irq = pxa168_init_irq, | 244 | .init_irq = pxa168_init_irq, |
244 | .timer = &pxa168_timer, | 245 | .timer = &pxa168_timer, |
245 | .init_machine = common_init, | 246 | .init_machine = common_init, |
@@ -248,7 +249,7 @@ MACHINE_END | |||
248 | 249 | ||
249 | MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform") | 250 | MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform") |
250 | .map_io = mmp_map_io, | 251 | .map_io = mmp_map_io, |
251 | .nr_irqs = IRQ_BOARD_START, | 252 | .nr_irqs = MMP_NR_IRQS, |
252 | .init_irq = pxa168_init_irq, | 253 | .init_irq = pxa168_init_irq, |
253 | .timer = &pxa168_timer, | 254 | .timer = &pxa168_timer, |
254 | .init_machine = common_init, | 255 | .init_machine = common_init, |
diff --git a/arch/arm/mach-mmp/avengers_lite.c b/arch/arm/mach-mmp/avengers_lite.c index b148a9dc5a44..603542ae6fbd 100644 --- a/arch/arm/mach-mmp/avengers_lite.c +++ b/arch/arm/mach-mmp/avengers_lite.c | |||
@@ -43,6 +43,7 @@ static void __init avengers_lite_init(void) | |||
43 | 43 | ||
44 | MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform") | 44 | MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform") |
45 | .map_io = mmp_map_io, | 45 | .map_io = mmp_map_io, |
46 | .nr_irqs = MMP_NR_IRQS, | ||
46 | .init_irq = pxa168_init_irq, | 47 | .init_irq = pxa168_init_irq, |
47 | .timer = &pxa168_timer, | 48 | .timer = &pxa168_timer, |
48 | .init_machine = avengers_lite_init, | 49 | .init_machine = avengers_lite_init, |
diff --git a/arch/arm/mach-mmp/brownstone.c b/arch/arm/mach-mmp/brownstone.c index d839fe6421e6..5cb769cd26d9 100644 --- a/arch/arm/mach-mmp/brownstone.c +++ b/arch/arm/mach-mmp/brownstone.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "common.h" | 29 | #include "common.h" |
30 | 30 | ||
31 | #define BROWNSTONE_NR_IRQS (IRQ_BOARD_START + 40) | 31 | #define BROWNSTONE_NR_IRQS (MMP_NR_IRQS + 40) |
32 | 32 | ||
33 | #define GPIO_5V_ENABLE (89) | 33 | #define GPIO_5V_ENABLE (89) |
34 | 34 | ||
@@ -158,7 +158,7 @@ static struct platform_device brownstone_v_5vp_device = { | |||
158 | }; | 158 | }; |
159 | 159 | ||
160 | static struct max8925_platform_data brownstone_max8925_info = { | 160 | static struct max8925_platform_data brownstone_max8925_info = { |
161 | .irq_base = IRQ_BOARD_START, | 161 | .irq_base = MMP_NR_IRQS, |
162 | }; | 162 | }; |
163 | 163 | ||
164 | static struct i2c_board_info brownstone_twsi1_info[] = { | 164 | static struct i2c_board_info brownstone_twsi1_info[] = { |
diff --git a/arch/arm/mach-mmp/flint.c b/arch/arm/mach-mmp/flint.c index 2ee8cd7829dd..8059cc0905c6 100644 --- a/arch/arm/mach-mmp/flint.c +++ b/arch/arm/mach-mmp/flint.c | |||
@@ -23,10 +23,11 @@ | |||
23 | #include <mach/addr-map.h> | 23 | #include <mach/addr-map.h> |
24 | #include <mach/mfp-mmp2.h> | 24 | #include <mach/mfp-mmp2.h> |
25 | #include <mach/mmp2.h> | 25 | #include <mach/mmp2.h> |
26 | #include <mach/irqs.h> | ||
26 | 27 | ||
27 | #include "common.h" | 28 | #include "common.h" |
28 | 29 | ||
29 | #define FLINT_NR_IRQS (IRQ_BOARD_START + 48) | 30 | #define FLINT_NR_IRQS (MMP_NR_IRQS + 48) |
30 | 31 | ||
31 | static unsigned long flint_pin_config[] __initdata = { | 32 | static unsigned long flint_pin_config[] __initdata = { |
32 | /* UART1 */ | 33 | /* UART1 */ |
diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index 87765467de63..f516e74ce0d5 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c | |||
@@ -191,7 +191,7 @@ static void __init gplugd_init(void) | |||
191 | 191 | ||
192 | MACHINE_START(GPLUGD, "PXA168-based GuruPlug Display (gplugD) Platform") | 192 | MACHINE_START(GPLUGD, "PXA168-based GuruPlug Display (gplugD) Platform") |
193 | .map_io = mmp_map_io, | 193 | .map_io = mmp_map_io, |
194 | .nr_irqs = IRQ_BOARD_START, | 194 | .nr_irqs = MMP_NR_IRQS, |
195 | .init_irq = pxa168_init_irq, | 195 | .init_irq = pxa168_init_irq, |
196 | .timer = &pxa168_timer, | 196 | .timer = &pxa168_timer, |
197 | .init_machine = gplugd_init, | 197 | .init_machine = gplugd_init, |
diff --git a/arch/arm/mach-mmp/include/mach/irqs.h b/arch/arm/mach-mmp/include/mach/irqs.h index 34635a0bbb59..d0e746626a3d 100644 --- a/arch/arm/mach-mmp/include/mach/irqs.h +++ b/arch/arm/mach-mmp/include/mach/irqs.h | |||
@@ -223,7 +223,6 @@ | |||
223 | #define MMP_GPIO_TO_IRQ(gpio) (IRQ_GPIO_START + (gpio)) | 223 | #define MMP_GPIO_TO_IRQ(gpio) (IRQ_GPIO_START + (gpio)) |
224 | 224 | ||
225 | #define IRQ_BOARD_START (IRQ_GPIO_START + MMP_NR_BUILTIN_GPIO) | 225 | #define IRQ_BOARD_START (IRQ_GPIO_START + MMP_NR_BUILTIN_GPIO) |
226 | 226 | #define MMP_NR_IRQS IRQ_BOARD_START | |
227 | #define NR_IRQS (IRQ_BOARD_START) | ||
228 | 227 | ||
229 | #endif /* __ASM_MACH_IRQS_H */ | 228 | #endif /* __ASM_MACH_IRQS_H */ |
diff --git a/arch/arm/mach-mmp/irq-mmp2.c b/arch/arm/mach-mmp/irq-mmp2.c index d21c5441a3d0..7895d277421e 100644 --- a/arch/arm/mach-mmp/irq-mmp2.c +++ b/arch/arm/mach-mmp/irq-mmp2.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | #include <mach/irqs.h> | ||
18 | #include <mach/regs-icu.h> | 19 | #include <mach/regs-icu.h> |
19 | #include <mach/mmp2.h> | 20 | #include <mach/mmp2.h> |
20 | 21 | ||
diff --git a/arch/arm/mach-mmp/jasper.c b/arch/arm/mach-mmp/jasper.c index 96cf5c8fe47d..ff73249884d0 100644 --- a/arch/arm/mach-mmp/jasper.c +++ b/arch/arm/mach-mmp/jasper.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/mfd/max8925.h> | 19 | #include <linux/mfd/max8925.h> |
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | 21 | ||
22 | #include <mach/irqs.h> | ||
22 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
24 | #include <mach/addr-map.h> | 25 | #include <mach/addr-map.h> |
@@ -27,7 +28,7 @@ | |||
27 | 28 | ||
28 | #include "common.h" | 29 | #include "common.h" |
29 | 30 | ||
30 | #define JASPER_NR_IRQS (IRQ_BOARD_START + 48) | 31 | #define JASPER_NR_IRQS (MMP_NR_IRQS + 48) |
31 | 32 | ||
32 | static unsigned long jasper_pin_config[] __initdata = { | 33 | static unsigned long jasper_pin_config[] __initdata = { |
33 | /* UART1 */ | 34 | /* UART1 */ |
@@ -135,7 +136,7 @@ static struct max8925_power_pdata jasper_power_data = { | |||
135 | static struct max8925_platform_data jasper_max8925_info = { | 136 | static struct max8925_platform_data jasper_max8925_info = { |
136 | .backlight = &jasper_backlight_data, | 137 | .backlight = &jasper_backlight_data, |
137 | .power = &jasper_power_data, | 138 | .power = &jasper_power_data, |
138 | .irq_base = IRQ_BOARD_START, | 139 | .irq_base = MMP_NR_IRQS, |
139 | }; | 140 | }; |
140 | 141 | ||
141 | static struct i2c_board_info jasper_twsi1_info[] = { | 142 | static struct i2c_board_info jasper_twsi1_info[] = { |
diff --git a/arch/arm/mach-mmp/tavorevb.c b/arch/arm/mach-mmp/tavorevb.c index bc97170125bf..b28f9084dfff 100644 --- a/arch/arm/mach-mmp/tavorevb.c +++ b/arch/arm/mach-mmp/tavorevb.c | |||
@@ -101,6 +101,7 @@ static void __init tavorevb_init(void) | |||
101 | 101 | ||
102 | MACHINE_START(TAVOREVB, "PXA910 Evaluation Board (aka TavorEVB)") | 102 | MACHINE_START(TAVOREVB, "PXA910 Evaluation Board (aka TavorEVB)") |
103 | .map_io = mmp_map_io, | 103 | .map_io = mmp_map_io, |
104 | .nr_irqs = MMP_NR_IRQS, | ||
104 | .init_irq = pxa910_init_irq, | 105 | .init_irq = pxa910_init_irq, |
105 | .timer = &pxa910_timer, | 106 | .timer = &pxa910_timer, |
106 | .init_machine = tavorevb_init, | 107 | .init_machine = tavorevb_init, |
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c index 0523e422990e..42bef6674ecf 100644 --- a/arch/arm/mach-mmp/teton_bga.c +++ b/arch/arm/mach-mmp/teton_bga.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <mach/mfp-pxa168.h> | 26 | #include <mach/mfp-pxa168.h> |
27 | #include <mach/pxa168.h> | 27 | #include <mach/pxa168.h> |
28 | #include <mach/teton_bga.h> | 28 | #include <mach/teton_bga.h> |
29 | #include <mach/irqs.h> | ||
29 | 30 | ||
30 | #include "common.h" | 31 | #include "common.h" |
31 | 32 | ||
@@ -83,7 +84,7 @@ static void __init teton_bga_init(void) | |||
83 | 84 | ||
84 | MACHINE_START(TETON_BGA, "PXA168-based Teton BGA Development Platform") | 85 | MACHINE_START(TETON_BGA, "PXA168-based Teton BGA Development Platform") |
85 | .map_io = mmp_map_io, | 86 | .map_io = mmp_map_io, |
86 | .nr_irqs = IRQ_BOARD_START, | 87 | .nr_irqs = MMP_NR_IRQS, |
87 | .init_irq = pxa168_init_irq, | 88 | .init_irq = pxa168_init_irq, |
88 | .timer = &pxa168_timer, | 89 | .timer = &pxa168_timer, |
89 | .init_machine = teton_bga_init, | 90 | .init_machine = teton_bga_init, |
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index e72c709da44f..3fc9ed21f97d 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c | |||
@@ -38,7 +38,7 @@ | |||
38 | * 16 board interrupts -- PCA9575 GPIO expander | 38 | * 16 board interrupts -- PCA9575 GPIO expander |
39 | * 24 board interrupts -- 88PM860x PMIC | 39 | * 24 board interrupts -- 88PM860x PMIC |
40 | */ | 40 | */ |
41 | #define TTCDKB_NR_IRQS (IRQ_BOARD_START + 16 + 16 + 24) | 41 | #define TTCDKB_NR_IRQS (MMP_NR_IRQS + 16 + 16 + 24) |
42 | 42 | ||
43 | static unsigned long ttc_dkb_pin_config[] __initdata = { | 43 | static unsigned long ttc_dkb_pin_config[] __initdata = { |
44 | /* UART2 */ | 44 | /* UART2 */ |
@@ -131,7 +131,7 @@ static struct platform_device *ttc_dkb_devices[] = { | |||
131 | static struct pca953x_platform_data max7312_data[] = { | 131 | static struct pca953x_platform_data max7312_data[] = { |
132 | { | 132 | { |
133 | .gpio_base = TTCDKB_GPIO_EXT0(0), | 133 | .gpio_base = TTCDKB_GPIO_EXT0(0), |
134 | .irq_base = IRQ_BOARD_START, | 134 | .irq_base = MMP_NR_IRQS, |
135 | }, | 135 | }, |
136 | }; | 136 | }; |
137 | 137 | ||