diff options
Diffstat (limited to 'arch/arm')
25 files changed, 45 insertions, 42 deletions
diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c index fe071a9130b7..48ec1449bd02 100644 --- a/arch/arm/mach-shmobile/board-ape6evm.c +++ b/arch/arm/mach-shmobile/board-ape6evm.c | |||
@@ -34,10 +34,10 @@ | |||
34 | #include <linux/sh_clk.h> | 34 | #include <linux/sh_clk.h> |
35 | #include <linux/smsc911x.h> | 35 | #include <linux/smsc911x.h> |
36 | #include <mach/common.h> | 36 | #include <mach/common.h> |
37 | #include <mach/irqs.h> | ||
38 | #include <mach/r8a73a4.h> | 37 | #include <mach/r8a73a4.h> |
39 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
40 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
40 | #include "irqs.h" | ||
41 | 41 | ||
42 | /* LEDS */ | 42 | /* LEDS */ |
43 | static struct gpio_led ape6evm_leds[] = { | 43 | static struct gpio_led ape6evm_leds[] = { |
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 30fcac73a540..252e689429a2 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/i2c-gpio.h> | 46 | #include <linux/i2c-gpio.h> |
47 | #include <linux/reboot.h> | 47 | #include <linux/reboot.h> |
48 | #include <mach/common.h> | 48 | #include <mach/common.h> |
49 | #include <mach/irqs.h> | ||
50 | #include <mach/r8a7740.h> | 49 | #include <mach/r8a7740.h> |
51 | #include <media/mt9t112.h> | 50 | #include <media/mt9t112.h> |
52 | #include <media/sh_mobile_ceu.h> | 51 | #include <media/sh_mobile_ceu.h> |
@@ -61,7 +60,7 @@ | |||
61 | #include <video/sh_mobile_hdmi.h> | 60 | #include <video/sh_mobile_hdmi.h> |
62 | #include <sound/sh_fsi.h> | 61 | #include <sound/sh_fsi.h> |
63 | #include <sound/simple_card.h> | 62 | #include <sound/simple_card.h> |
64 | 63 | #include "irqs.h" | |
65 | #include "sh-gpio.h" | 64 | #include "sh-gpio.h" |
66 | 65 | ||
67 | /* | 66 | /* |
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c index f444be2f241e..22252fb31ec5 100644 --- a/arch/arm/mach-shmobile/board-bockw.c +++ b/arch/arm/mach-shmobile/board-bockw.c | |||
@@ -36,11 +36,11 @@ | |||
36 | #include <linux/usb/renesas_usbhs.h> | 36 | #include <linux/usb/renesas_usbhs.h> |
37 | #include <media/soc_camera.h> | 37 | #include <media/soc_camera.h> |
38 | #include <mach/common.h> | 38 | #include <mach/common.h> |
39 | #include <mach/irqs.h> | ||
40 | #include <mach/r8a7778.h> | 39 | #include <mach/r8a7778.h> |
41 | #include <asm/mach/arch.h> | 40 | #include <asm/mach/arch.h> |
42 | #include <sound/rcar_snd.h> | 41 | #include <sound/rcar_snd.h> |
43 | #include <sound/simple_card.h> | 42 | #include <sound/simple_card.h> |
43 | #include "irqs.h" | ||
44 | 44 | ||
45 | #define FPGA 0x18200000 | 45 | #define FPGA 0x18200000 |
46 | #define IRQ0MR 0x30 | 46 | #define IRQ0MR 0x30 |
diff --git a/arch/arm/mach-shmobile/board-genmai.c b/arch/arm/mach-shmobile/board-genmai.c index c94201ee8596..5ce1025a662b 100644 --- a/arch/arm/mach-shmobile/board-genmai.c +++ b/arch/arm/mach-shmobile/board-genmai.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <linux/spi/rspi.h> | 26 | #include <linux/spi/rspi.h> |
27 | #include <linux/spi/spi.h> | 27 | #include <linux/spi/spi.h> |
28 | #include <mach/common.h> | 28 | #include <mach/common.h> |
29 | #include <mach/irqs.h> | ||
30 | #include <mach/r7s72100.h> | 29 | #include <mach/r7s72100.h> |
31 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
32 | #include "irqs.h" | ||
33 | 33 | ||
34 | /* Ether */ | 34 | /* Ether */ |
35 | static const struct sh_eth_plat_data ether_pdata __initconst = { | 35 | static const struct sh_eth_plat_data ether_pdata __initconst = { |
diff --git a/arch/arm/mach-shmobile/board-koelsch-reference.c b/arch/arm/mach-shmobile/board-koelsch-reference.c index 4a6dd63f75a8..fc174e199cb3 100644 --- a/arch/arm/mach-shmobile/board-koelsch-reference.c +++ b/arch/arm/mach-shmobile/board-koelsch-reference.c | |||
@@ -24,11 +24,11 @@ | |||
24 | #include <linux/of_platform.h> | 24 | #include <linux/of_platform.h> |
25 | #include <linux/platform_data/rcar-du.h> | 25 | #include <linux/platform_data/rcar-du.h> |
26 | #include <mach/common.h> | 26 | #include <mach/common.h> |
27 | #include <mach/irqs.h> | ||
28 | #include <mach/rcar-gen2.h> | 27 | #include <mach/rcar-gen2.h> |
29 | #include <mach/r8a7791.h> | 28 | #include <mach/r8a7791.h> |
30 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
31 | #include "clock.h" | 30 | #include "clock.h" |
31 | #include "irqs.h" | ||
32 | 32 | ||
33 | /* DU */ | 33 | /* DU */ |
34 | static struct rcar_du_encoder_data koelsch_du_encoders[] = { | 34 | static struct rcar_du_encoder_data koelsch_du_encoders[] = { |
diff --git a/arch/arm/mach-shmobile/board-koelsch.c b/arch/arm/mach-shmobile/board-koelsch.c index c6c68892caa3..52665adf0b41 100644 --- a/arch/arm/mach-shmobile/board-koelsch.c +++ b/arch/arm/mach-shmobile/board-koelsch.c | |||
@@ -46,11 +46,11 @@ | |||
46 | #include <linux/spi/rspi.h> | 46 | #include <linux/spi/rspi.h> |
47 | #include <linux/spi/spi.h> | 47 | #include <linux/spi/spi.h> |
48 | #include <mach/common.h> | 48 | #include <mach/common.h> |
49 | #include <mach/irqs.h> | ||
50 | #include <mach/r8a7791.h> | 49 | #include <mach/r8a7791.h> |
51 | #include <mach/rcar-gen2.h> | 50 | #include <mach/rcar-gen2.h> |
52 | #include <asm/mach-types.h> | 51 | #include <asm/mach-types.h> |
53 | #include <asm/mach/arch.h> | 52 | #include <asm/mach/arch.h> |
53 | #include "irqs.h" | ||
54 | 54 | ||
55 | /* DU */ | 55 | /* DU */ |
56 | static struct rcar_du_encoder_data koelsch_du_encoders[] = { | 56 | static struct rcar_du_encoder_data koelsch_du_encoders[] = { |
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index f94ec8ca42c1..ae8692eafdc9 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c | |||
@@ -43,13 +43,13 @@ | |||
43 | #include <linux/videodev2.h> | 43 | #include <linux/videodev2.h> |
44 | #include <sound/sh_fsi.h> | 44 | #include <sound/sh_fsi.h> |
45 | #include <sound/simple_card.h> | 45 | #include <sound/simple_card.h> |
46 | #include <mach/irqs.h> | ||
47 | #include <mach/sh73a0.h> | 46 | #include <mach/sh73a0.h> |
48 | #include <mach/common.h> | 47 | #include <mach/common.h> |
49 | #include <asm/hardware/cache-l2x0.h> | 48 | #include <asm/hardware/cache-l2x0.h> |
50 | #include <asm/mach-types.h> | 49 | #include <asm/mach-types.h> |
51 | #include <asm/mach/arch.h> | 50 | #include <asm/mach/arch.h> |
52 | #include <video/sh_mobile_lcdc.h> | 51 | #include <video/sh_mobile_lcdc.h> |
52 | #include "irqs.h" | ||
53 | 53 | ||
54 | /* | 54 | /* |
55 | * external GPIO | 55 | * external GPIO |
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c index 1d198b029c07..31cf06d2629b 100644 --- a/arch/arm/mach-shmobile/board-lager-reference.c +++ b/arch/arm/mach-shmobile/board-lager-reference.c | |||
@@ -23,11 +23,11 @@ | |||
23 | #include <linux/of_platform.h> | 23 | #include <linux/of_platform.h> |
24 | #include <linux/platform_data/rcar-du.h> | 24 | #include <linux/platform_data/rcar-du.h> |
25 | #include <mach/common.h> | 25 | #include <mach/common.h> |
26 | #include <mach/irqs.h> | ||
27 | #include <mach/rcar-gen2.h> | 26 | #include <mach/rcar-gen2.h> |
28 | #include <mach/r8a7790.h> | 27 | #include <mach/r8a7790.h> |
29 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
30 | #include "clock.h" | 29 | #include "clock.h" |
30 | #include "irqs.h" | ||
31 | 31 | ||
32 | /* DU */ | 32 | /* DU */ |
33 | static struct rcar_du_encoder_data lager_du_encoders[] = { | 33 | static struct rcar_du_encoder_data lager_du_encoders[] = { |
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index f8b1e05463cc..8f6d4e626273 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/usb/phy.h> | 46 | #include <linux/usb/phy.h> |
47 | #include <linux/usb/renesas_usbhs.h> | 47 | #include <linux/usb/renesas_usbhs.h> |
48 | #include <mach/common.h> | 48 | #include <mach/common.h> |
49 | #include <mach/irqs.h> | ||
50 | #include <mach/r8a7790.h> | 49 | #include <mach/r8a7790.h> |
51 | #include <media/soc_camera.h> | 50 | #include <media/soc_camera.h> |
52 | #include <asm/mach-types.h> | 51 | #include <asm/mach-types.h> |
@@ -58,6 +57,7 @@ | |||
58 | #include <linux/spi/spi.h> | 57 | #include <linux/spi/spi.h> |
59 | #include <sound/rcar_snd.h> | 58 | #include <sound/rcar_snd.h> |
60 | #include <sound/simple_card.h> | 59 | #include <sound/simple_card.h> |
60 | #include "irqs.h" | ||
61 | 61 | ||
62 | /* | 62 | /* |
63 | * SSI-AK4643 | 63 | * SSI-AK4643 |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 0864a63291d9..92fbc4752733 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -57,14 +57,11 @@ | |||
57 | #include <media/soc_camera_platform.h> | 57 | #include <media/soc_camera_platform.h> |
58 | #include <sound/sh_fsi.h> | 58 | #include <sound/sh_fsi.h> |
59 | #include <sound/simple_card.h> | 59 | #include <sound/simple_card.h> |
60 | |||
61 | #include <mach/common.h> | 60 | #include <mach/common.h> |
62 | #include <mach/irqs.h> | ||
63 | #include <mach/sh7372.h> | 61 | #include <mach/sh7372.h> |
64 | |||
65 | #include <asm/mach/arch.h> | 62 | #include <asm/mach/arch.h> |
66 | #include <asm/mach-types.h> | 63 | #include <asm/mach-types.h> |
67 | 64 | #include "irqs.h" | |
68 | #include "sh-gpio.h" | 65 | #include "sh-gpio.h" |
69 | 66 | ||
70 | /* | 67 | /* |
diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c index 2773936bf7dc..08eb1c08e0d0 100644 --- a/arch/arm/mach-shmobile/board-marzen-reference.c +++ b/arch/arm/mach-shmobile/board-marzen-reference.c | |||
@@ -21,9 +21,9 @@ | |||
21 | 21 | ||
22 | #include <mach/r8a7779.h> | 22 | #include <mach/r8a7779.h> |
23 | #include <mach/common.h> | 23 | #include <mach/common.h> |
24 | #include <mach/irqs.h> | ||
25 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
26 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
26 | #include "irqs.h" | ||
27 | 27 | ||
28 | static void __init marzen_init(void) | 28 | static void __init marzen_init(void) |
29 | { | 29 | { |
diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c index d832a4477b4b..a9529bad4d60 100644 --- a/arch/arm/mach-shmobile/board-marzen.c +++ b/arch/arm/mach-shmobile/board-marzen.c | |||
@@ -44,10 +44,10 @@ | |||
44 | #include <media/soc_camera.h> | 44 | #include <media/soc_camera.h> |
45 | #include <mach/r8a7779.h> | 45 | #include <mach/r8a7779.h> |
46 | #include <mach/common.h> | 46 | #include <mach/common.h> |
47 | #include <mach/irqs.h> | ||
48 | #include <asm/mach-types.h> | 47 | #include <asm/mach-types.h> |
49 | #include <asm/mach/arch.h> | 48 | #include <asm/mach/arch.h> |
50 | #include <asm/traps.h> | 49 | #include <asm/traps.h> |
50 | #include "irqs.h" | ||
51 | 51 | ||
52 | /* Fixed 3.3V regulator to be used by SDHI0 */ | 52 | /* Fixed 3.3V regulator to be used by SDHI0 */ |
53 | static struct regulator_consumer_supply fixed3v3_power_consumers[] = { | 53 | static struct regulator_consumer_supply fixed3v3_power_consumers[] = { |
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h index d241bfd6926d..5aee83f079e2 100644 --- a/arch/arm/mach-shmobile/include/mach/irqs.h +++ b/arch/arm/mach-shmobile/include/mach/irqs.h | |||
@@ -1,24 +1,10 @@ | |||
1 | #ifndef __ASM_MACH_IRQS_H | 1 | #ifndef __ASM_MACH_IRQS_H |
2 | #define __ASM_MACH_IRQS_H | 2 | #define __ASM_MACH_IRQS_H |
3 | 3 | ||
4 | #include <linux/sh_intc.h> | 4 | /* Stuck here until drivers/pinctl/sh-pfc gets rid of legacy code */ |
5 | |||
6 | /* GIC */ | ||
7 | #define gic_spi(nr) ((nr) + 32) | ||
8 | #define gic_iid(nr) (nr) /* ICCIAR / interrupt ID */ | ||
9 | |||
10 | /* INTCS */ | ||
11 | #define INTCS_VECT_BASE 0x3400 | ||
12 | #define INTCS_VECT(n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect)) | ||
13 | #define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt)) | ||
14 | 5 | ||
15 | /* External IRQ pins */ | 6 | /* External IRQ pins */ |
16 | #define IRQPIN_BASE 2000 | 7 | #define IRQPIN_BASE 2000 |
17 | #define irq_pin(nr) ((nr) + IRQPIN_BASE) | 8 | #define irq_pin(nr) ((nr) + IRQPIN_BASE) |
18 | 9 | ||
19 | /* GPIO IRQ */ | ||
20 | #define _GPIO_IRQ_BASE 2500 | ||
21 | #define GPIO_IRQ_BASE(x) (_GPIO_IRQ_BASE + (32 * x)) | ||
22 | #define GPIO_IRQ(x, y) (_GPIO_IRQ_BASE + (32 * x) + y) | ||
23 | |||
24 | #endif /* __ASM_MACH_IRQS_H */ | 10 | #endif /* __ASM_MACH_IRQS_H */ |
diff --git a/arch/arm/mach-shmobile/intc-sh7372.c b/arch/arm/mach-shmobile/intc-sh7372.c index bd021238c77b..e2af00b1bd9d 100644 --- a/arch/arm/mach-shmobile/intc-sh7372.c +++ b/arch/arm/mach-shmobile/intc-sh7372.c | |||
@@ -22,10 +22,10 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <mach/irqs.h> | ||
26 | #include <asm/mach-types.h> | 25 | #include <asm/mach-types.h> |
27 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
28 | #include "intc.h" | 27 | #include "intc.h" |
28 | #include "irqs.h" | ||
29 | 29 | ||
30 | enum { | 30 | enum { |
31 | UNUSED_INTCA = 0, | 31 | UNUSED_INTCA = 0, |
diff --git a/arch/arm/mach-shmobile/intc-sh73a0.c b/arch/arm/mach-shmobile/intc-sh73a0.c index facb70e6a0b0..1a8f9a7af983 100644 --- a/arch/arm/mach-shmobile/intc-sh73a0.c +++ b/arch/arm/mach-shmobile/intc-sh73a0.c | |||
@@ -24,11 +24,11 @@ | |||
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/irqchip.h> | 25 | #include <linux/irqchip.h> |
26 | #include <linux/irqchip/arm-gic.h> | 26 | #include <linux/irqchip/arm-gic.h> |
27 | #include <mach/irqs.h> | ||
28 | #include <mach/sh73a0.h> | 27 | #include <mach/sh73a0.h> |
29 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
30 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
31 | #include "intc.h" | 30 | #include "intc.h" |
31 | #include "irqs.h" | ||
32 | 32 | ||
33 | enum { | 33 | enum { |
34 | UNUSED = 0, | 34 | UNUSED = 0, |
diff --git a/arch/arm/mach-shmobile/irqs.h b/arch/arm/mach-shmobile/irqs.h new file mode 100644 index 000000000000..4ff2d2aa94f0 --- /dev/null +++ b/arch/arm/mach-shmobile/irqs.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef __SHMOBILE_IRQS_H | ||
2 | #define __SHMOBILE_IRQS_H | ||
3 | |||
4 | #include <linux/sh_intc.h> | ||
5 | #include <mach/irqs.h> | ||
6 | |||
7 | /* GIC */ | ||
8 | #define gic_spi(nr) ((nr) + 32) | ||
9 | #define gic_iid(nr) (nr) /* ICCIAR / interrupt ID */ | ||
10 | |||
11 | /* INTCS */ | ||
12 | #define INTCS_VECT_BASE 0x3400 | ||
13 | #define INTCS_VECT(n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect)) | ||
14 | #define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt)) | ||
15 | |||
16 | /* GPIO IRQ */ | ||
17 | #define _GPIO_IRQ_BASE 2500 | ||
18 | #define GPIO_IRQ_BASE(x) (_GPIO_IRQ_BASE + (32 * x)) | ||
19 | #define GPIO_IRQ(x, y) (_GPIO_IRQ_BASE + (32 * x) + y) | ||
20 | |||
21 | #endif /* __SHMOBILE_IRQS_H */ | ||
diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c index 412e179429cd..a185f691b917 100644 --- a/arch/arm/mach-shmobile/setup-r7s72100.c +++ b/arch/arm/mach-shmobile/setup-r7s72100.c | |||
@@ -23,9 +23,9 @@ | |||
23 | #include <linux/of_platform.h> | 23 | #include <linux/of_platform.h> |
24 | #include <linux/sh_timer.h> | 24 | #include <linux/sh_timer.h> |
25 | #include <mach/common.h> | 25 | #include <mach/common.h> |
26 | #include <mach/irqs.h> | ||
27 | #include <mach/r7s72100.h> | 26 | #include <mach/r7s72100.h> |
28 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
28 | #include "irqs.h" | ||
29 | 29 | ||
30 | static struct resource mtu2_resources[] __initdata = { | 30 | static struct resource mtu2_resources[] __initdata = { |
31 | DEFINE_RES_MEM(0xfcff0000, 0x400), | 31 | DEFINE_RES_MEM(0xfcff0000, 0x400), |
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index 985739e1885d..7efa77d74d69 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c | |||
@@ -25,10 +25,10 @@ | |||
25 | #include <linux/sh_dma.h> | 25 | #include <linux/sh_dma.h> |
26 | #include <linux/sh_timer.h> | 26 | #include <linux/sh_timer.h> |
27 | #include <mach/common.h> | 27 | #include <mach/common.h> |
28 | #include <mach/irqs.h> | ||
29 | #include <mach/r8a73a4.h> | 28 | #include <mach/r8a73a4.h> |
30 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
31 | #include "dma-register.h" | 30 | #include "dma-register.h" |
31 | #include "irqs.h" | ||
32 | 32 | ||
33 | static const struct resource pfc_resources[] = { | 33 | static const struct resource pfc_resources[] = { |
34 | DEFINE_RES_MEM(0xe6050000, 0x9000), | 34 | DEFINE_RES_MEM(0xe6050000, 0x9000), |
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 7cf4bbd90aa8..e87c642f047d 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
@@ -34,12 +34,12 @@ | |||
34 | #include <mach/r8a7740.h> | 34 | #include <mach/r8a7740.h> |
35 | #include <mach/pm-rmobile.h> | 35 | #include <mach/pm-rmobile.h> |
36 | #include <mach/common.h> | 36 | #include <mach/common.h> |
37 | #include <mach/irqs.h> | ||
38 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
39 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
40 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
41 | #include <asm/mach/time.h> | 40 | #include <asm/mach/time.h> |
42 | #include "dma-register.h" | 41 | #include "dma-register.h" |
42 | #include "irqs.h" | ||
43 | 43 | ||
44 | static struct map_desc r8a7740_io_desc[] __initdata = { | 44 | static struct map_desc r8a7740_io_desc[] __initdata = { |
45 | /* | 45 | /* |
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index d311ef903b39..d8ae96837666 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c | |||
@@ -37,11 +37,11 @@ | |||
37 | #include <linux/usb/ehci_pdriver.h> | 37 | #include <linux/usb/ehci_pdriver.h> |
38 | #include <linux/usb/ohci_pdriver.h> | 38 | #include <linux/usb/ohci_pdriver.h> |
39 | #include <linux/dma-mapping.h> | 39 | #include <linux/dma-mapping.h> |
40 | #include <mach/irqs.h> | ||
41 | #include <mach/r8a7778.h> | 40 | #include <mach/r8a7778.h> |
42 | #include <mach/common.h> | 41 | #include <mach/common.h> |
43 | #include <asm/mach/arch.h> | 42 | #include <asm/mach/arch.h> |
44 | #include <asm/hardware/cache-l2x0.h> | 43 | #include <asm/hardware/cache-l2x0.h> |
44 | #include "irqs.h" | ||
45 | 45 | ||
46 | /* SCIF */ | 46 | /* SCIF */ |
47 | #define R8A7778_SCIF(index, baseaddr, irq) \ | 47 | #define R8A7778_SCIF(index, baseaddr, irq) \ |
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c index aba4ed652d54..ffbe331a4256 100644 --- a/arch/arm/mach-shmobile/setup-r8a7779.c +++ b/arch/arm/mach-shmobile/setup-r8a7779.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/usb/ehci_pdriver.h> | 40 | #include <linux/usb/ehci_pdriver.h> |
41 | #include <linux/usb/ohci_pdriver.h> | 41 | #include <linux/usb/ohci_pdriver.h> |
42 | #include <linux/pm_runtime.h> | 42 | #include <linux/pm_runtime.h> |
43 | #include <mach/irqs.h> | ||
44 | #include <mach/r8a7779.h> | 43 | #include <mach/r8a7779.h> |
45 | #include <mach/common.h> | 44 | #include <mach/common.h> |
46 | #include <asm/mach-types.h> | 45 | #include <asm/mach-types.h> |
@@ -48,6 +47,7 @@ | |||
48 | #include <asm/mach/time.h> | 47 | #include <asm/mach/time.h> |
49 | #include <asm/mach/map.h> | 48 | #include <asm/mach/map.h> |
50 | #include <asm/hardware/cache-l2x0.h> | 49 | #include <asm/hardware/cache-l2x0.h> |
50 | #include "irqs.h" | ||
51 | 51 | ||
52 | static struct map_desc r8a7779_io_desc[] __initdata = { | 52 | static struct map_desc r8a7779_io_desc[] __initdata = { |
53 | /* 2M entity map for 0xf0000000 (MPCORE) */ | 53 | /* 2M entity map for 0xf0000000 (MPCORE) */ |
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index 3eed62673bf4..925327d48bc1 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c | |||
@@ -27,10 +27,10 @@ | |||
27 | #include <linux/sh_dma.h> | 27 | #include <linux/sh_dma.h> |
28 | #include <linux/sh_timer.h> | 28 | #include <linux/sh_timer.h> |
29 | #include <mach/common.h> | 29 | #include <mach/common.h> |
30 | #include <mach/irqs.h> | ||
31 | #include <mach/r8a7790.h> | 30 | #include <mach/r8a7790.h> |
32 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
33 | #include "dma-register.h" | 32 | #include "dma-register.h" |
33 | #include "irqs.h" | ||
34 | 34 | ||
35 | /* Audio-DMAC */ | 35 | /* Audio-DMAC */ |
36 | #define AUDIO_DMAC_SLAVE(_id, _addr, t, r) \ | 36 | #define AUDIO_DMAC_SLAVE(_id, _addr, t, r) \ |
diff --git a/arch/arm/mach-shmobile/setup-r8a7791.c b/arch/arm/mach-shmobile/setup-r8a7791.c index 04a96ddb3224..8055cff2d953 100644 --- a/arch/arm/mach-shmobile/setup-r8a7791.c +++ b/arch/arm/mach-shmobile/setup-r8a7791.c | |||
@@ -27,10 +27,10 @@ | |||
27 | #include <linux/serial_sci.h> | 27 | #include <linux/serial_sci.h> |
28 | #include <linux/sh_timer.h> | 28 | #include <linux/sh_timer.h> |
29 | #include <mach/common.h> | 29 | #include <mach/common.h> |
30 | #include <mach/irqs.h> | ||
31 | #include <mach/r8a7791.h> | 30 | #include <mach/r8a7791.h> |
32 | #include <mach/rcar-gen2.h> | 31 | #include <mach/rcar-gen2.h> |
33 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
33 | #include "irqs.h" | ||
34 | 34 | ||
35 | static const struct resource pfc_resources[] __initconst = { | 35 | static const struct resource pfc_resources[] __initconst = { |
36 | DEFINE_RES_MEM(0xe6060000, 0x250), | 36 | DEFINE_RES_MEM(0xe6060000, 0x250), |
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index 062929b303f7..0fab666fdf64 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/pm_domain.h> | 33 | #include <linux/pm_domain.h> |
34 | #include <linux/dma-mapping.h> | 34 | #include <linux/dma-mapping.h> |
35 | #include <linux/platform_data/sh_ipmmu.h> | 35 | #include <linux/platform_data/sh_ipmmu.h> |
36 | #include <mach/irqs.h> | ||
37 | #include <mach/sh7372.h> | 36 | #include <mach/sh7372.h> |
38 | #include <mach/common.h> | 37 | #include <mach/common.h> |
39 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
@@ -41,6 +40,7 @@ | |||
41 | #include <asm/mach/arch.h> | 40 | #include <asm/mach/arch.h> |
42 | #include <asm/mach/time.h> | 41 | #include <asm/mach/time.h> |
43 | #include "dma-register.h" | 42 | #include "dma-register.h" |
43 | #include "irqs.h" | ||
44 | 44 | ||
45 | static struct map_desc sh7372_io_desc[] __initdata = { | 45 | static struct map_desc sh7372_io_desc[] __initdata = { |
46 | /* create a 1:1 entity map for 0xe6xxxxxx | 46 | /* create a 1:1 entity map for 0xe6xxxxxx |
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index 370d55c400e8..bb5100205866 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/sh_timer.h> | 32 | #include <linux/sh_timer.h> |
33 | #include <linux/platform_data/sh_ipmmu.h> | 33 | #include <linux/platform_data/sh_ipmmu.h> |
34 | #include <linux/platform_data/irq-renesas-intc-irqpin.h> | 34 | #include <linux/platform_data/irq-renesas-intc-irqpin.h> |
35 | #include <mach/irqs.h> | ||
36 | #include <mach/sh73a0.h> | 35 | #include <mach/sh73a0.h> |
37 | #include <mach/common.h> | 36 | #include <mach/common.h> |
38 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
@@ -40,6 +39,7 @@ | |||
40 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
41 | #include <asm/mach/time.h> | 40 | #include <asm/mach/time.h> |
42 | #include "dma-register.h" | 41 | #include "dma-register.h" |
42 | #include "irqs.h" | ||
43 | 43 | ||
44 | static struct map_desc sh73a0_io_desc[] __initdata = { | 44 | static struct map_desc sh73a0_io_desc[] __initdata = { |
45 | /* create a 1:1 entity map for 0xe6xxxxxx | 45 | /* create a 1:1 entity map for 0xe6xxxxxx |