diff options
author | Olof Johansson <olof@lixom.net> | 2014-07-12 12:36:50 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-12 12:36:50 -0400 |
commit | 9641f4084aa3ac11cd47fa9b8325971769dac577 (patch) | |
tree | 66b225050f16ee90e1fab3042c671dd4fefe8375 | |
parent | 5db3f620073d380a0421da66f4e3248e6deee024 (diff) | |
parent | 113522ee3034427472bcb4b8665833719809b31a (diff) |
Merge tag 'renesas-soc-cleanup2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
Merge "Second Round of Renesas ARM Based SoC soc-cleanup Updates for v3.17"
from Simon Horman:
* Move SOC-specific headers out of mach directory.
This is part of a multi-stage effort to move headers
out of that directory.
* tag 'renesas-soc-cleanup2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: shmobile: Move sh7372.h
ARM: shmobile: Move sh73a0.h
ARM: shmobile: Move r8a7790.h
ARM: shmobile: Move r8a7778.h
ARM: shmobile: Move r8a7740.h
ARM: shmobile: Move r8a73a4.h
ARM: shmobile: Move r7s72100.h
Signed-off-by: Olof Johansson <olof@lixom.net>
35 files changed, 86 insertions, 33 deletions
diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c index 76e4ff14be68..2f7723e5fe91 100644 --- a/arch/arm/mach-shmobile/board-ape6evm-reference.c +++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c | |||
@@ -24,10 +24,12 @@ | |||
24 | #include <linux/pinctrl/machine.h> | 24 | #include <linux/pinctrl/machine.h> |
25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
26 | #include <linux/sh_clk.h> | 26 | #include <linux/sh_clk.h> |
27 | #include <mach/r8a73a4.h> | 27 | |
28 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
29 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
30 | |||
30 | #include "common.h" | 31 | #include "common.h" |
32 | #include "r8a73a4.h" | ||
31 | 33 | ||
32 | static void __init ape6evm_add_standard_devices(void) | 34 | static void __init ape6evm_add_standard_devices(void) |
33 | { | 35 | { |
diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c index 8f8da25310e7..485567876d39 100644 --- a/arch/arm/mach-shmobile/board-ape6evm.c +++ b/arch/arm/mach-shmobile/board-ape6evm.c | |||
@@ -33,11 +33,13 @@ | |||
33 | #include <linux/regulator/machine.h> | 33 | #include <linux/regulator/machine.h> |
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/r8a73a4.h> | 36 | |
37 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
38 | #include <asm/mach/arch.h> | 38 | #include <asm/mach/arch.h> |
39 | |||
39 | #include "common.h" | 40 | #include "common.h" |
40 | #include "irqs.h" | 41 | #include "irqs.h" |
42 | #include "r8a73a4.h" | ||
41 | 43 | ||
42 | /* LEDS */ | 44 | /* LEDS */ |
43 | static struct gpio_led ape6evm_leds[] = { | 45 | static struct gpio_led ape6evm_leds[] = { |
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c index 368518b3b8ec..208576667b22 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c | |||
@@ -24,10 +24,12 @@ | |||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <mach/r8a7740.h> | 27 | |
28 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
29 | #include <asm/hardware/cache-l2x0.h> | 29 | #include <asm/hardware/cache-l2x0.h> |
30 | |||
30 | #include "common.h" | 31 | #include "common.h" |
32 | #include "r8a7740.h" | ||
31 | 33 | ||
32 | /* | 34 | /* |
33 | * CON1 Camera Module | 35 | * CON1 Camera Module |
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 53d03e85750a..32339cf6ee7b 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/mmc/sh_mobile_sdhi.h> | 45 | #include <linux/mmc/sh_mobile_sdhi.h> |
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/r8a7740.h> | 48 | |
49 | #include <media/mt9t112.h> | 49 | #include <media/mt9t112.h> |
50 | #include <media/sh_mobile_ceu.h> | 50 | #include <media/sh_mobile_ceu.h> |
51 | #include <media/soc_camera.h> | 51 | #include <media/soc_camera.h> |
@@ -59,9 +59,11 @@ | |||
59 | #include <video/sh_mobile_hdmi.h> | 59 | #include <video/sh_mobile_hdmi.h> |
60 | #include <sound/sh_fsi.h> | 60 | #include <sound/sh_fsi.h> |
61 | #include <sound/simple_card.h> | 61 | #include <sound/simple_card.h> |
62 | |||
62 | #include "common.h" | 63 | #include "common.h" |
63 | #include "irqs.h" | 64 | #include "irqs.h" |
64 | #include "pm-rmobile.h" | 65 | #include "pm-rmobile.h" |
66 | #include "r8a7740.h" | ||
65 | #include "sh-gpio.h" | 67 | #include "sh-gpio.h" |
66 | 68 | ||
67 | /* | 69 | /* |
diff --git a/arch/arm/mach-shmobile/board-bockw-reference.c b/arch/arm/mach-shmobile/board-bockw-reference.c index 91ff3a27ccc7..ba840cd333b9 100644 --- a/arch/arm/mach-shmobile/board-bockw-reference.c +++ b/arch/arm/mach-shmobile/board-bockw-reference.c | |||
@@ -19,9 +19,11 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/of_platform.h> | 21 | #include <linux/of_platform.h> |
22 | #include <mach/r8a7778.h> | 22 | |
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | |||
24 | #include "common.h" | 25 | #include "common.h" |
26 | #include "r8a7778.h" | ||
25 | 27 | ||
26 | /* | 28 | /* |
27 | * see board-bock.c for checking detail of dip-switch | 29 | * see board-bock.c for checking detail of dip-switch |
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c index 8cb057f95c44..b4e4789017bc 100644 --- a/arch/arm/mach-shmobile/board-bockw.c +++ b/arch/arm/mach-shmobile/board-bockw.c | |||
@@ -34,13 +34,15 @@ | |||
34 | #include <linux/spi/spi.h> | 34 | #include <linux/spi/spi.h> |
35 | #include <linux/spi/flash.h> | 35 | #include <linux/spi/flash.h> |
36 | #include <linux/usb/renesas_usbhs.h> | 36 | #include <linux/usb/renesas_usbhs.h> |
37 | |||
37 | #include <media/soc_camera.h> | 38 | #include <media/soc_camera.h> |
38 | #include <mach/r8a7778.h> | ||
39 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
40 | #include <sound/rcar_snd.h> | 40 | #include <sound/rcar_snd.h> |
41 | #include <sound/simple_card.h> | 41 | #include <sound/simple_card.h> |
42 | |||
42 | #include "common.h" | 43 | #include "common.h" |
43 | #include "irqs.h" | 44 | #include "irqs.h" |
45 | #include "r8a7778.h" | ||
44 | 46 | ||
45 | #define FPGA 0x18200000 | 47 | #define FPGA 0x18200000 |
46 | #define IRQ0MR 0x30 | 48 | #define IRQ0MR 0x30 |
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c index c06dc5c12d1e..e5448f7b868a 100644 --- a/arch/arm/mach-shmobile/board-genmai-reference.c +++ b/arch/arm/mach-shmobile/board-genmai-reference.c | |||
@@ -20,11 +20,13 @@ | |||
20 | 20 | ||
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/of_platform.h> | 22 | #include <linux/of_platform.h> |
23 | #include <mach/r7s72100.h> | 23 | |
24 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
25 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
26 | |||
26 | #include "clock.h" | 27 | #include "clock.h" |
27 | #include "common.h" | 28 | #include "common.h" |
29 | #include "r7s72100.h" | ||
28 | 30 | ||
29 | /* | 31 | /* |
30 | * This is a really crude hack to provide clkdev support to platform | 32 | * This is a really crude hack to provide clkdev support to platform |
diff --git a/arch/arm/mach-shmobile/board-genmai.c b/arch/arm/mach-shmobile/board-genmai.c index a0994f36b348..e2a3ba4871c3 100644 --- a/arch/arm/mach-shmobile/board-genmai.c +++ b/arch/arm/mach-shmobile/board-genmai.c | |||
@@ -25,11 +25,13 @@ | |||
25 | #include <linux/sh_eth.h> | 25 | #include <linux/sh_eth.h> |
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/r7s72100.h> | 28 | |
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | |||
31 | #include "common.h" | 32 | #include "common.h" |
32 | #include "irqs.h" | 33 | #include "irqs.h" |
34 | #include "r7s72100.h" | ||
33 | 35 | ||
34 | /* Ether */ | 36 | /* Ether */ |
35 | static const struct sh_eth_plat_data ether_pdata __initconst = { | 37 | static const struct sh_eth_plat_data ether_pdata __initconst = { |
diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c index e6285de6bc87..5d2621f202d1 100644 --- a/arch/arm/mach-shmobile/board-kzm9g-reference.c +++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c | |||
@@ -25,11 +25,13 @@ | |||
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/input.h> | 26 | #include <linux/input.h> |
27 | #include <linux/of_platform.h> | 27 | #include <linux/of_platform.h> |
28 | #include <mach/sh73a0.h> | 28 | |
29 | #include <asm/hardware/cache-l2x0.h> | 29 | #include <asm/hardware/cache-l2x0.h> |
30 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
31 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
32 | |||
32 | #include "common.h" | 33 | #include "common.h" |
34 | #include "sh73a0.h" | ||
33 | 35 | ||
34 | static void __init kzm_init(void) | 36 | static void __init kzm_init(void) |
35 | { | 37 | { |
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index fff330f74925..1320e9d063b1 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c | |||
@@ -41,15 +41,17 @@ | |||
41 | #include <linux/usb/r8a66597.h> | 41 | #include <linux/usb/r8a66597.h> |
42 | #include <linux/usb/renesas_usbhs.h> | 42 | #include <linux/usb/renesas_usbhs.h> |
43 | #include <linux/videodev2.h> | 43 | #include <linux/videodev2.h> |
44 | |||
44 | #include <sound/sh_fsi.h> | 45 | #include <sound/sh_fsi.h> |
45 | #include <sound/simple_card.h> | 46 | #include <sound/simple_card.h> |
46 | #include <mach/sh73a0.h> | ||
47 | #include <asm/hardware/cache-l2x0.h> | 47 | #include <asm/hardware/cache-l2x0.h> |
48 | #include <asm/mach-types.h> | 48 | #include <asm/mach-types.h> |
49 | #include <asm/mach/arch.h> | 49 | #include <asm/mach/arch.h> |
50 | #include <video/sh_mobile_lcdc.h> | 50 | #include <video/sh_mobile_lcdc.h> |
51 | |||
51 | #include "common.h" | 52 | #include "common.h" |
52 | #include "irqs.h" | 53 | #include "irqs.h" |
54 | #include "sh73a0.h" | ||
53 | 55 | ||
54 | /* | 56 | /* |
55 | * external GPIO | 57 | * external GPIO |
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c index e30017b910b9..8dcff51a8f45 100644 --- a/arch/arm/mach-shmobile/board-lager-reference.c +++ b/arch/arm/mach-shmobile/board-lager-reference.c | |||
@@ -22,11 +22,13 @@ | |||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
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/r8a7790.h> | 25 | |
26 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
27 | |||
27 | #include "clock.h" | 28 | #include "clock.h" |
28 | #include "common.h" | 29 | #include "common.h" |
29 | #include "irqs.h" | 30 | #include "irqs.h" |
31 | #include "r8a7790.h" | ||
30 | #include "rcar-gen2.h" | 32 | #include "rcar-gen2.h" |
31 | 33 | ||
32 | /* DU */ | 34 | /* DU */ |
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index 72785cc7405b..bfd9e4846fc9 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c | |||
@@ -31,6 +31,8 @@ | |||
31 | #include <linux/mmc/host.h> | 31 | #include <linux/mmc/host.h> |
32 | #include <linux/mmc/sh_mmcif.h> | 32 | #include <linux/mmc/sh_mmcif.h> |
33 | #include <linux/mmc/sh_mobile_sdhi.h> | 33 | #include <linux/mmc/sh_mobile_sdhi.h> |
34 | #include <linux/mtd/partitions.h> | ||
35 | #include <linux/mtd/mtd.h> | ||
34 | #include <linux/pinctrl/machine.h> | 36 | #include <linux/pinctrl/machine.h> |
35 | #include <linux/platform_data/camera-rcar.h> | 37 | #include <linux/platform_data/camera-rcar.h> |
36 | #include <linux/platform_data/gpio-rcar.h> | 38 | #include <linux/platform_data/gpio-rcar.h> |
@@ -43,21 +45,21 @@ | |||
43 | #include <linux/regulator/gpio-regulator.h> | 45 | #include <linux/regulator/gpio-regulator.h> |
44 | #include <linux/regulator/machine.h> | 46 | #include <linux/regulator/machine.h> |
45 | #include <linux/sh_eth.h> | 47 | #include <linux/sh_eth.h> |
48 | #include <linux/spi/flash.h> | ||
49 | #include <linux/spi/rspi.h> | ||
50 | #include <linux/spi/spi.h> | ||
46 | #include <linux/usb/phy.h> | 51 | #include <linux/usb/phy.h> |
47 | #include <linux/usb/renesas_usbhs.h> | 52 | #include <linux/usb/renesas_usbhs.h> |
48 | #include <mach/r8a7790.h> | 53 | |
49 | #include <media/soc_camera.h> | 54 | #include <media/soc_camera.h> |
50 | #include <asm/mach-types.h> | 55 | #include <asm/mach-types.h> |
51 | #include <asm/mach/arch.h> | 56 | #include <asm/mach/arch.h> |
52 | #include <linux/mtd/partitions.h> | ||
53 | #include <linux/mtd/mtd.h> | ||
54 | #include <linux/spi/flash.h> | ||
55 | #include <linux/spi/rspi.h> | ||
56 | #include <linux/spi/spi.h> | ||
57 | #include <sound/rcar_snd.h> | 57 | #include <sound/rcar_snd.h> |
58 | #include <sound/simple_card.h> | 58 | #include <sound/simple_card.h> |
59 | |||
59 | #include "common.h" | 60 | #include "common.h" |
60 | #include "irqs.h" | 61 | #include "irqs.h" |
62 | #include "r8a7790.h" | ||
61 | #include "rcar-gen2.h" | 63 | #include "rcar-gen2.h" |
62 | 64 | ||
63 | /* | 65 | /* |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 0ece865cbc4d..304b76f3bf4a 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -51,6 +51,7 @@ | |||
51 | #include <linux/tca6416_keypad.h> | 51 | #include <linux/tca6416_keypad.h> |
52 | #include <linux/usb/renesas_usbhs.h> | 52 | #include <linux/usb/renesas_usbhs.h> |
53 | #include <linux/dma-mapping.h> | 53 | #include <linux/dma-mapping.h> |
54 | |||
54 | #include <video/sh_mobile_hdmi.h> | 55 | #include <video/sh_mobile_hdmi.h> |
55 | #include <video/sh_mobile_lcdc.h> | 56 | #include <video/sh_mobile_lcdc.h> |
56 | #include <media/sh_mobile_ceu.h> | 57 | #include <media/sh_mobile_ceu.h> |
@@ -58,13 +59,14 @@ | |||
58 | #include <media/soc_camera_platform.h> | 59 | #include <media/soc_camera_platform.h> |
59 | #include <sound/sh_fsi.h> | 60 | #include <sound/sh_fsi.h> |
60 | #include <sound/simple_card.h> | 61 | #include <sound/simple_card.h> |
61 | #include <mach/sh7372.h> | ||
62 | #include <asm/mach/arch.h> | 62 | #include <asm/mach/arch.h> |
63 | #include <asm/mach-types.h> | 63 | #include <asm/mach-types.h> |
64 | |||
64 | #include "common.h" | 65 | #include "common.h" |
65 | #include "irqs.h" | 66 | #include "irqs.h" |
66 | #include "pm-rmobile.h" | 67 | #include "pm-rmobile.h" |
67 | #include "sh-gpio.h" | 68 | #include "sh-gpio.h" |
69 | #include "sh7372.h" | ||
68 | 70 | ||
69 | /* | 71 | /* |
70 | * Address Interface BusWidth note | 72 | * Address Interface BusWidth note |
diff --git a/arch/arm/mach-shmobile/clock-r7s72100.c b/arch/arm/mach-shmobile/clock-r7s72100.c index 457dab0f8fc9..3eb2ec401e0c 100644 --- a/arch/arm/mach-shmobile/clock-r7s72100.c +++ b/arch/arm/mach-shmobile/clock-r7s72100.c | |||
@@ -19,8 +19,9 @@ | |||
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/sh_clk.h> | 20 | #include <linux/sh_clk.h> |
21 | #include <linux/clkdev.h> | 21 | #include <linux/clkdev.h> |
22 | #include <mach/r7s72100.h> | 22 | |
23 | #include "common.h" | 23 | #include "common.h" |
24 | #include "r7s72100.h" | ||
24 | 25 | ||
25 | /* Frequency Control Registers */ | 26 | /* Frequency Control Registers */ |
26 | #define FRQCR 0xfcfe0010 | 27 | #define FRQCR 0xfcfe0010 |
diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c index ffefec53b058..789091cfa37a 100644 --- a/arch/arm/mach-shmobile/clock-r8a7740.c +++ b/arch/arm/mach-shmobile/clock-r8a7740.c | |||
@@ -22,9 +22,10 @@ | |||
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/sh_clk.h> | 23 | #include <linux/sh_clk.h> |
24 | #include <linux/clkdev.h> | 24 | #include <linux/clkdev.h> |
25 | #include <mach/r8a7740.h> | 25 | |
26 | #include "clock.h" | 26 | #include "clock.h" |
27 | #include "common.h" | 27 | #include "common.h" |
28 | #include "r8a7740.h" | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * | MDx | XTAL1/EXTAL1 | System | EXTALR | | 31 | * | MDx | XTAL1/EXTAL1 | System | EXTALR | |
diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index ca980669806f..17435c1aa2fe 100644 --- a/arch/arm/mach-shmobile/clock-r8a7790.c +++ b/arch/arm/mach-shmobile/clock-r8a7790.c | |||
@@ -22,9 +22,10 @@ | |||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
23 | #include <linux/sh_clk.h> | 23 | #include <linux/sh_clk.h> |
24 | #include <linux/clkdev.h> | 24 | #include <linux/clkdev.h> |
25 | #include <mach/r8a7790.h> | 25 | |
26 | #include "clock.h" | 26 | #include "clock.h" |
27 | #include "common.h" | 27 | #include "common.h" |
28 | #include "r8a7790.h" | ||
28 | #include "rcar-gen2.h" | 29 | #include "rcar-gen2.h" |
29 | 30 | ||
30 | /* | 31 | /* |
diff --git a/arch/arm/mach-shmobile/intc-sh73a0.c b/arch/arm/mach-shmobile/intc-sh73a0.c index 1a8f9a7af983..44457a94897b 100644 --- a/arch/arm/mach-shmobile/intc-sh73a0.c +++ b/arch/arm/mach-shmobile/intc-sh73a0.c | |||
@@ -24,11 +24,13 @@ | |||
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/sh73a0.h> | 27 | |
28 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
29 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
30 | |||
30 | #include "intc.h" | 31 | #include "intc.h" |
31 | #include "irqs.h" | 32 | #include "irqs.h" |
33 | #include "sh73a0.h" | ||
32 | 34 | ||
33 | enum { | 35 | enum { |
34 | UNUSED = 0, | 36 | UNUSED = 0, |
diff --git a/arch/arm/mach-shmobile/pm-r8a7790.c b/arch/arm/mach-shmobile/pm-r8a7790.c index 0f1090d851e7..8845433a00b3 100644 --- a/arch/arm/mach-shmobile/pm-r8a7790.c +++ b/arch/arm/mach-shmobile/pm-r8a7790.c | |||
@@ -11,9 +11,11 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | |||
14 | #include <asm/io.h> | 15 | #include <asm/io.h> |
15 | #include <mach/r8a7790.h> | 16 | |
16 | #include "pm-rcar.h" | 17 | #include "pm-rcar.h" |
18 | #include "r8a7790.h" | ||
17 | 19 | ||
18 | /* SYSC */ | 20 | /* SYSC */ |
19 | #define SYSCIER 0x0c | 21 | #define SYSCIER 0x0c |
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index 7ef9a0126780..7e5c2676c489 100644 --- a/arch/arm/mach-shmobile/pm-sh7372.c +++ b/arch/arm/mach-shmobile/pm-sh7372.c | |||
@@ -21,13 +21,15 @@ | |||
21 | #include <linux/irq.h> | 21 | #include <linux/irq.h> |
22 | #include <linux/bitrev.h> | 22 | #include <linux/bitrev.h> |
23 | #include <linux/console.h> | 23 | #include <linux/console.h> |
24 | |||
24 | #include <asm/cpuidle.h> | 25 | #include <asm/cpuidle.h> |
25 | #include <asm/io.h> | 26 | #include <asm/io.h> |
26 | #include <asm/tlbflush.h> | 27 | #include <asm/tlbflush.h> |
27 | #include <asm/suspend.h> | 28 | #include <asm/suspend.h> |
28 | #include <mach/sh7372.h> | 29 | |
29 | #include "common.h" | 30 | #include "common.h" |
30 | #include "pm-rmobile.h" | 31 | #include "pm-rmobile.h" |
32 | #include "sh7372.h" | ||
31 | 33 | ||
32 | /* DBG */ | 34 | /* DBG */ |
33 | #define DBGREG1 IOMEM(0xe6100020) | 35 | #define DBGREG1 IOMEM(0xe6100020) |
diff --git a/arch/arm/mach-shmobile/include/mach/r7s72100.h b/arch/arm/mach-shmobile/r7s72100.h index efb723c88dd0..efb723c88dd0 100644 --- a/arch/arm/mach-shmobile/include/mach/r7s72100.h +++ b/arch/arm/mach-shmobile/r7s72100.h | |||
diff --git a/arch/arm/mach-shmobile/include/mach/r8a73a4.h b/arch/arm/mach-shmobile/r8a73a4.h index ce8bdd1d8a8a..ce8bdd1d8a8a 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a73a4.h +++ b/arch/arm/mach-shmobile/r8a73a4.h | |||
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7740.h b/arch/arm/mach-shmobile/r8a7740.h index 1d1a5fd78b6b..1d1a5fd78b6b 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7740.h +++ b/arch/arm/mach-shmobile/r8a7740.h | |||
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/r8a7778.h index f4076a50e970..f4076a50e970 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7778.h +++ b/arch/arm/mach-shmobile/r8a7778.h | |||
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7790.h b/arch/arm/mach-shmobile/r8a7790.h index 459827f1369b..459827f1369b 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7790.h +++ b/arch/arm/mach-shmobile/r8a7790.h | |||
diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c index a55d68d89e6e..4a98b232d316 100644 --- a/arch/arm/mach-shmobile/setup-r7s72100.c +++ b/arch/arm/mach-shmobile/setup-r7s72100.c | |||
@@ -22,10 +22,12 @@ | |||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
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/r7s72100.h> | 25 | |
26 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
27 | |||
27 | #include "common.h" | 28 | #include "common.h" |
28 | #include "irqs.h" | 29 | #include "irqs.h" |
30 | #include "r7s72100.h" | ||
29 | 31 | ||
30 | static struct resource mtu2_resources[] __initdata = { | 32 | static struct resource mtu2_resources[] __initdata = { |
31 | DEFINE_RES_MEM(0xfcff0000, 0x400), | 33 | DEFINE_RES_MEM(0xfcff0000, 0x400), |
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index da94d9b9292e..f470b3cc0b7b 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c | |||
@@ -24,11 +24,13 @@ | |||
24 | #include <linux/serial_sci.h> | 24 | #include <linux/serial_sci.h> |
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/r8a73a4.h> | 27 | |
28 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
29 | |||
29 | #include "common.h" | 30 | #include "common.h" |
30 | #include "dma-register.h" | 31 | #include "dma-register.h" |
31 | #include "irqs.h" | 32 | #include "irqs.h" |
33 | #include "r8a73a4.h" | ||
32 | 34 | ||
33 | static const struct resource pfc_resources[] = { | 35 | static const struct resource pfc_resources[] = { |
34 | DEFINE_RES_MEM(0xe6050000, 0x9000), | 36 | DEFINE_RES_MEM(0xe6050000, 0x9000), |
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 10170b3560c2..348af358a239 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
@@ -31,15 +31,17 @@ | |||
31 | #include <linux/sh_dma.h> | 31 | #include <linux/sh_dma.h> |
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 <mach/r8a7740.h> | 34 | |
35 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
36 | #include <asm/mach/map.h> | 36 | #include <asm/mach/map.h> |
37 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | |||
39 | #include "common.h" | 40 | #include "common.h" |
40 | #include "dma-register.h" | 41 | #include "dma-register.h" |
41 | #include "irqs.h" | 42 | #include "irqs.h" |
42 | #include "pm-rmobile.h" | 43 | #include "pm-rmobile.h" |
44 | #include "r8a7740.h" | ||
43 | 45 | ||
44 | static struct map_desc r8a7740_io_desc[] __initdata = { | 46 | static struct map_desc r8a7740_io_desc[] __initdata = { |
45 | /* | 47 | /* |
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index d9f4529d8e40..2ccc0128b469 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c | |||
@@ -37,11 +37,13 @@ | |||
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/r8a7778.h> | 40 | |
41 | #include <asm/mach/arch.h> | 41 | #include <asm/mach/arch.h> |
42 | #include <asm/hardware/cache-l2x0.h> | 42 | #include <asm/hardware/cache-l2x0.h> |
43 | |||
43 | #include "common.h" | 44 | #include "common.h" |
44 | #include "irqs.h" | 45 | #include "irqs.h" |
46 | #include "r8a7778.h" | ||
45 | 47 | ||
46 | /* SCIF */ | 48 | /* SCIF */ |
47 | #define R8A7778_SCIF(index, baseaddr, irq) \ | 49 | #define R8A7778_SCIF(index, baseaddr, irq) \ |
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index ee5daccf35ee..6bf84ec48907 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c | |||
@@ -26,11 +26,13 @@ | |||
26 | #include <linux/serial_sci.h> | 26 | #include <linux/serial_sci.h> |
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/r8a7790.h> | 29 | |
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | |||
31 | #include "common.h" | 32 | #include "common.h" |
32 | #include "dma-register.h" | 33 | #include "dma-register.h" |
33 | #include "irqs.h" | 34 | #include "irqs.h" |
35 | #include "r8a7790.h" | ||
34 | #include "rcar-gen2.h" | 36 | #include "rcar-gen2.h" |
35 | 37 | ||
36 | /* Audio-DMAC */ | 38 | /* Audio-DMAC */ |
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index 5571f867c611..9cdfcdfd38fc 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -33,15 +33,17 @@ | |||
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/sh7372.h> | 36 | |
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
39 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
40 | #include <asm/mach/time.h> | 40 | #include <asm/mach/time.h> |
41 | |||
41 | #include "common.h" | 42 | #include "common.h" |
42 | #include "dma-register.h" | 43 | #include "dma-register.h" |
43 | #include "irqs.h" | 44 | #include "irqs.h" |
44 | #include "pm-rmobile.h" | 45 | #include "pm-rmobile.h" |
46 | #include "sh7372.h" | ||
45 | 47 | ||
46 | static struct map_desc sh7372_io_desc[] __initdata = { | 48 | static struct map_desc sh7372_io_desc[] __initdata = { |
47 | /* create a 1:1 entity map for 0xe6xxxxxx | 49 | /* 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 b30bbee6dc65..224882151667 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
@@ -32,14 +32,16 @@ | |||
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/sh73a0.h> | 35 | |
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | #include <asm/mach/arch.h> | 38 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/time.h> | 39 | #include <asm/mach/time.h> |
40 | |||
40 | #include "common.h" | 41 | #include "common.h" |
41 | #include "dma-register.h" | 42 | #include "dma-register.h" |
42 | #include "irqs.h" | 43 | #include "irqs.h" |
44 | #include "sh73a0.h" | ||
43 | 45 | ||
44 | static struct map_desc sh73a0_io_desc[] __initdata = { | 46 | static struct map_desc sh73a0_io_desc[] __initdata = { |
45 | /* create a 1:1 entity map for 0xe6xxxxxx | 47 | /* create a 1:1 entity map for 0xe6xxxxxx |
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/sh7372.h index 4ad960d5075b..4ad960d5075b 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/sh7372.h | |||
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/sh73a0.h index 359b582dc270..359b582dc270 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/sh73a0.h | |||
diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c index a8ace58c3dd2..c256fdfbb5b0 100644 --- a/arch/arm/mach-shmobile/smp-r8a7790.c +++ b/arch/arm/mach-shmobile/smp-r8a7790.c | |||
@@ -17,10 +17,12 @@ | |||
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <linux/smp.h> | 18 | #include <linux/smp.h> |
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | |||
20 | #include <asm/smp_plat.h> | 21 | #include <asm/smp_plat.h> |
21 | #include <mach/r8a7790.h> | 22 | |
22 | #include "common.h" | 23 | #include "common.h" |
23 | #include "pm-rcar.h" | 24 | #include "pm-rcar.h" |
25 | #include "r8a7790.h" | ||
24 | 26 | ||
25 | #define RST 0xe6160000 | 27 | #define RST 0xe6160000 |
26 | #define CA15BAR 0x0020 | 28 | #define CA15BAR 0x0020 |
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c index bf4aff99ed1c..22d8f87b23e9 100644 --- a/arch/arm/mach-shmobile/smp-sh73a0.c +++ b/arch/arm/mach-shmobile/smp-sh73a0.c | |||
@@ -22,10 +22,12 @@ | |||
22 | #include <linux/smp.h> | 22 | #include <linux/smp.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <mach/sh73a0.h> | 25 | |
26 | #include <asm/smp_plat.h> | 26 | #include <asm/smp_plat.h> |
27 | #include <asm/smp_twd.h> | 27 | #include <asm/smp_twd.h> |
28 | |||
28 | #include "common.h" | 29 | #include "common.h" |
30 | #include "sh73a0.h" | ||
29 | 31 | ||
30 | #define WUPCR IOMEM(0xe6151010) | 32 | #define WUPCR IOMEM(0xe6151010) |
31 | #define SRESCR IOMEM(0xe6151018) | 33 | #define SRESCR IOMEM(0xe6151018) |