diff options
Diffstat (limited to 'arch')
28 files changed, 30 insertions, 29 deletions
diff --git a/arch/arm/mach-omap1/pm_bus.c b/arch/arm/mach-omap1/pm_bus.c index 7868e75ad077..8a74ec5e3de2 100644 --- a/arch/arm/mach-omap1/pm_bus.c +++ b/arch/arm/mach-omap1/pm_bus.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/clk.h> | 19 | #include <linux/clk.h> |
20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
21 | 21 | ||
22 | #include <plat/omap_device.h> | ||
23 | #include <plat/omap-pm.h> | 22 | #include <plat/omap-pm.h> |
24 | 23 | ||
25 | #ifdef CONFIG_PM_RUNTIME | 24 | #ifdef CONFIG_PM_RUNTIME |
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index fe40d9e488c9..46d9071f0938 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -4,7 +4,8 @@ | |||
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ |
7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o | 7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ |
8 | omap_device.o | ||
8 | 9 | ||
9 | # INTCPS IP block support - XXX should be moved to drivers/ | 10 | # INTCPS IP block support - XXX should be moved to drivers/ |
10 | obj-$(CONFIG_ARCH_OMAP2) += irq.o | 11 | obj-$(CONFIG_ARCH_OMAP2) += irq.o |
diff --git a/arch/arm/mach-omap2/am35xx-emac.c b/arch/arm/mach-omap2/am35xx-emac.c index d0c54c573d34..af11dcdb7e2c 100644 --- a/arch/arm/mach-omap2/am35xx-emac.c +++ b/arch/arm/mach-omap2/am35xx-emac.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/err.h> | 18 | #include <linux/err.h> |
19 | #include <linux/davinci_emac.h> | 19 | #include <linux/davinci_emac.h> |
20 | #include <asm/system.h> | 20 | #include <asm/system.h> |
21 | #include <plat/omap_device.h> | 21 | #include "omap_device.h" |
22 | #include "am35xx.h" | 22 | #include "am35xx.h" |
23 | #include "control.h" | 23 | #include "control.h" |
24 | #include "am35xx-emac.h" | 24 | #include "am35xx-emac.h" |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index f11a5eb595f7..2064917874a7 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "gpmc.h" | 44 | #include "gpmc.h" |
45 | #include <linux/platform_data/mtd-nand-omap2.h> | 45 | #include <linux/platform_data/mtd-nand-omap2.h> |
46 | #include <plat/usb.h> | 46 | #include <plat/usb.h> |
47 | #include <plat/omap_device.h> | 47 | #include "omap_device.h" |
48 | 48 | ||
49 | #include "mux.h" | 49 | #include "mux.h" |
50 | #include "hsmmc.h" | 50 | #include "hsmmc.h" |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index e9ee9d99f881..48c0def2dbc2 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "iomap.h" | 26 | #include "iomap.h" |
27 | #include <plat-omap/dma-omap.h> | 27 | #include <plat-omap/dma-omap.h> |
28 | #include <plat/omap_hwmod.h> | 28 | #include <plat/omap_hwmod.h> |
29 | #include <plat/omap_device.h> | 29 | #include "omap_device.h" |
30 | #include "omap4-keypad.h" | 30 | #include "omap4-keypad.h" |
31 | 31 | ||
32 | #include "soc.h" | 32 | #include "soc.h" |
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 28f508724a56..55661d00423c 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include <video/omapdss.h> | 27 | #include <video/omapdss.h> |
28 | #include <plat/omap_hwmod.h> | 28 | #include <plat/omap_hwmod.h> |
29 | #include <plat/omap_device.h> | 29 | #include "omap_device.h" |
30 | #include <plat/omap-pm.h> | 30 | #include <plat/omap-pm.h> |
31 | #include "common.h" | 31 | #include "common.h" |
32 | 32 | ||
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index 4e3ac6b9449e..7ddc6c90ed71 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
@@ -29,9 +29,10 @@ | |||
29 | #include <linux/device.h> | 29 | #include <linux/device.h> |
30 | 30 | ||
31 | #include <plat/omap_hwmod.h> | 31 | #include <plat/omap_hwmod.h> |
32 | #include <plat/omap_device.h> | ||
33 | #include <plat-omap/dma-omap.h> | 32 | #include <plat-omap/dma-omap.h> |
34 | 33 | ||
34 | #include "omap_device.h" | ||
35 | |||
35 | #define OMAP2_DMA_STRIDE 0x60 | 36 | #define OMAP2_DMA_STRIDE 0x60 |
36 | 37 | ||
37 | static u32 errata; | 38 | static u32 errata; |
diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c index 72e0f01b715c..67991ea53ce7 100644 --- a/arch/arm/mach-omap2/drm.c +++ b/arch/arm/mach-omap2/drm.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
26 | 26 | ||
27 | #include <plat/omap_device.h> | 27 | #include "omap_device.h" |
28 | #include <plat/omap_hwmod.h> | 28 | #include <plat/omap_hwmod.h> |
29 | 29 | ||
30 | #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) | 30 | #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) |
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index d1058f16fb40..2bd24671bcf6 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/platform_data/gpio-omap.h> | 24 | #include <linux/platform_data/gpio-omap.h> |
25 | 25 | ||
26 | #include <plat/omap_hwmod.h> | 26 | #include <plat/omap_hwmod.h> |
27 | #include <plat/omap_device.h> | 27 | #include "omap_device.h" |
28 | #include <plat/omap-pm.h> | 28 | #include <plat/omap-pm.h> |
29 | 29 | ||
30 | #include "powerdomain.h" | 30 | #include "powerdomain.h" |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 9472541a4d8d..7dff7ffcb7ee 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -31,10 +31,10 @@ | |||
31 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
32 | 32 | ||
33 | #include <plat/cpu.h> | 33 | #include <plat/cpu.h> |
34 | #include <plat/omap_device.h> | ||
35 | 34 | ||
36 | #include "soc.h" | 35 | #include "soc.h" |
37 | #include "common.h" | 36 | #include "common.h" |
37 | #include "omap_device.h" | ||
38 | #include "gpmc.h" | 38 | #include "gpmc.h" |
39 | 39 | ||
40 | #define DEVICE_NAME "omap-gpmc" | 40 | #define DEVICE_NAME "omap-gpmc" |
diff --git a/arch/arm/mach-omap2/hdq1w.c b/arch/arm/mach-omap2/hdq1w.c index e003f2bba30c..a533ce33d112 100644 --- a/arch/arm/mach-omap2/hdq1w.c +++ b/arch/arm/mach-omap2/hdq1w.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | 29 | ||
30 | #include <plat/omap_hwmod.h> | 30 | #include <plat/omap_hwmod.h> |
31 | #include <plat/omap_device.h> | 31 | #include "omap_device.h" |
32 | #include "hdq1w.h" | 32 | #include "hdq1w.h" |
33 | 33 | ||
34 | #include "common.h" | 34 | #include "common.h" |
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index ec6c2230cb38..797e8c6a4130 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/platform_data/gpio-omap.h> | 18 | #include <linux/platform_data/gpio-omap.h> |
19 | 19 | ||
20 | #include <plat/omap-pm.h> | 20 | #include <plat/omap-pm.h> |
21 | #include <plat/omap_device.h> | 21 | #include "omap_device.h" |
22 | 22 | ||
23 | #include "mux.h" | 23 | #include "mux.h" |
24 | #include "mmc.h" | 24 | #include "mmc.h" |
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 8763c8520dc2..58565214b428 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/hwspinlock.h> | 22 | #include <linux/hwspinlock.h> |
23 | 23 | ||
24 | #include <plat/omap_hwmod.h> | 24 | #include <plat/omap_hwmod.h> |
25 | #include <plat/omap_device.h> | 25 | #include "omap_device.h" |
26 | 26 | ||
27 | static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = { | 27 | static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = { |
28 | .base_id = 0, | 28 | .base_id = 0, |
diff --git a/arch/arm/mach-omap2/i2c.c b/arch/arm/mach-omap2/i2c.c index 9f12f63ec54d..84b0d9f25a7b 100644 --- a/arch/arm/mach-omap2/i2c.c +++ b/arch/arm/mach-omap2/i2c.c | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include "common.h" | 22 | #include "common.h" |
23 | #include <plat/omap_hwmod.h> | 23 | #include <plat/omap_hwmod.h> |
24 | #include <plat/omap_device.h> | 24 | #include "omap_device.h" |
25 | 25 | ||
26 | #include "mux.h" | 26 | #include "mux.h" |
27 | #include "i2c.h" | 27 | #include "i2c.h" |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index b2c7f2300759..a106c75c5338 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -19,10 +19,11 @@ | |||
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 21 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
22 | #include <linux/pm_runtime.h> | ||
22 | 23 | ||
23 | #include <plat-omap/dma-omap.h> | 24 | #include <plat-omap/dma-omap.h> |
24 | #include <plat/omap_device.h> | 25 | |
25 | #include <linux/pm_runtime.h> | 26 | #include "omap_device.h" |
26 | 27 | ||
27 | /* | 28 | /* |
28 | * FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle. | 29 | * FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle. |
diff --git a/arch/arm/mach-omap2/msdi.c b/arch/arm/mach-omap2/msdi.c index a6020d750431..46bf98a99180 100644 --- a/arch/arm/mach-omap2/msdi.c +++ b/arch/arm/mach-omap2/msdi.c | |||
@@ -26,10 +26,9 @@ | |||
26 | #include <linux/platform_data/gpio-omap.h> | 26 | #include <linux/platform_data/gpio-omap.h> |
27 | 27 | ||
28 | #include <plat/omap_hwmod.h> | 28 | #include <plat/omap_hwmod.h> |
29 | #include <plat/omap_device.h> | ||
30 | |||
31 | #include "common.h" | 29 | #include "common.h" |
32 | #include "control.h" | 30 | #include "control.h" |
31 | #include "omap_device.h" | ||
33 | #include "mux.h" | 32 | #include "mux.h" |
34 | #include "mmc.h" | 33 | #include "mmc.h" |
35 | 34 | ||
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/mach-omap2/omap_device.c index 7a7d1f2a65e9..e5fbcb53c7cc 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c | |||
@@ -89,7 +89,7 @@ | |||
89 | #include <linux/of.h> | 89 | #include <linux/of.h> |
90 | #include <linux/notifier.h> | 90 | #include <linux/notifier.h> |
91 | 91 | ||
92 | #include <plat/omap_device.h> | 92 | #include "omap_device.h" |
93 | #include <plat/omap_hwmod.h> | 93 | #include <plat/omap_hwmod.h> |
94 | #include <plat/clock.h> | 94 | #include <plat/clock.h> |
95 | 95 | ||
diff --git a/arch/arm/plat-omap/include/plat/omap_device.h b/arch/arm/mach-omap2/omap_device.h index 106f50665804..106f50665804 100644 --- a/arch/arm/plat-omap/include/plat/omap_device.h +++ b/arch/arm/mach-omap2/omap_device.h | |||
diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c index 58e16aef40bb..bd41d59a7cab 100644 --- a/arch/arm/mach-omap2/opp.c +++ b/arch/arm/mach-omap2/opp.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/opp.h> | 20 | #include <linux/opp.h> |
21 | #include <linux/cpu.h> | 21 | #include <linux/cpu.h> |
22 | 22 | ||
23 | #include <plat/omap_device.h> | 23 | #include "omap_device.h" |
24 | 24 | ||
25 | #include "omap_opp_data.h" | 25 | #include "omap_opp_data.h" |
26 | 26 | ||
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index ea61c32957bd..4f749a1e3aa2 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/system_misc.h> | 21 | #include <asm/system_misc.h> |
22 | 22 | ||
23 | #include <plat/omap-pm.h> | 23 | #include <plat/omap-pm.h> |
24 | #include <plat/omap_device.h> | 24 | #include "omap_device.h" |
25 | #include "common.h" | 25 | #include "common.h" |
26 | 26 | ||
27 | #include "prcm-common.h" | 27 | #include "prcm-common.h" |
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c index 2a791766283d..4b3230fe228a 100644 --- a/arch/arm/mach-omap2/pmu.c +++ b/arch/arm/mach-omap2/pmu.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/pmu.h> | 16 | #include <asm/pmu.h> |
17 | 17 | ||
18 | #include <plat/omap_hwmod.h> | 18 | #include <plat/omap_hwmod.h> |
19 | #include <plat/omap_device.h> | 19 | #include "omap_device.h" |
20 | 20 | ||
21 | static char *omap2_pmu_oh_names[] = {"mpu"}; | 21 | static char *omap2_pmu_oh_names[] = {"mpu"}; |
22 | static char *omap3_pmu_oh_names[] = {"mpu", "debugss"}; | 22 | static char *omap3_pmu_oh_names[] = {"mpu", "debugss"}; |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 67c41961fa42..5df6dd96fd5c 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "common.h" | 31 | #include "common.h" |
32 | #include <plat-omap/dma-omap.h> | 32 | #include <plat-omap/dma-omap.h> |
33 | #include <plat/omap_hwmod.h> | 33 | #include <plat/omap_hwmod.h> |
34 | #include <plat/omap_device.h> | 34 | #include "omap_device.h" |
35 | #include <plat/omap-pm.h> | 35 | #include <plat/omap-pm.h> |
36 | #include <plat/serial.h> | 36 | #include <plat/serial.h> |
37 | 37 | ||
diff --git a/arch/arm/mach-omap2/sr_device.c b/arch/arm/mach-omap2/sr_device.c index f8217a5a4a26..1536aa8fffcf 100644 --- a/arch/arm/mach-omap2/sr_device.c +++ b/arch/arm/mach-omap2/sr_device.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | 25 | ||
26 | #include <plat/omap_device.h> | 26 | #include "omap_device.h" |
27 | 27 | ||
28 | #include "voltage.h" | 28 | #include "voltage.h" |
29 | #include "control.h" | 29 | #include "control.h" |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 44f9aa7ec0c0..a2ea2f30f7c9 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | #include <asm/arch_timer.h> | 45 | #include <asm/arch_timer.h> |
46 | #include <plat/omap_hwmod.h> | 46 | #include <plat/omap_hwmod.h> |
47 | #include <plat/omap_device.h> | 47 | #include "omap_device.h" |
48 | #include <plat/dmtimer.h> | 48 | #include <plat/dmtimer.h> |
49 | #include <plat/omap-pm.h> | 49 | #include <plat/omap-pm.h> |
50 | 50 | ||
diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index 3c434498e12e..84d82280d291 100644 --- a/arch/arm/mach-omap2/usb-host.c +++ b/arch/arm/mach-omap2/usb-host.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | 27 | ||
28 | #include <plat/usb.h> | 28 | #include <plat/usb.h> |
29 | #include <plat/omap_device.h> | 29 | #include "omap_device.h" |
30 | 30 | ||
31 | #include "mux.h" | 31 | #include "mux.h" |
32 | 32 | ||
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 51da21cb78f1..24f300a34904 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/usb/musb.h> | 26 | #include <linux/usb/musb.h> |
27 | 27 | ||
28 | #include <plat/usb.h> | 28 | #include <plat/usb.h> |
29 | #include <plat/omap_device.h> | 29 | #include "omap_device.h" |
30 | 30 | ||
31 | #include "am35xx.h" | 31 | #include "am35xx.h" |
32 | 32 | ||
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index dacaee009a4e..9c81cf539218 100644 --- a/arch/arm/plat-omap/Makefile +++ b/arch/arm/plat-omap/Makefile | |||
@@ -9,7 +9,6 @@ obj-n := | |||
9 | obj- := | 9 | obj- := |
10 | 10 | ||
11 | # omap_device support (OMAP2+ only at the moment) | 11 | # omap_device support (OMAP2+ only at the moment) |
12 | obj-$(CONFIG_ARCH_OMAP2PLUS) += omap_device.o | ||
13 | 12 | ||
14 | obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o | 13 | obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o |
15 | obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o | 14 | obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o |
diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index 9722f418ae1f..3c96b567370e 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c | |||
@@ -24,7 +24,8 @@ | |||
24 | 24 | ||
25 | /* Interface documentation is in mach/omap-pm.h */ | 25 | /* Interface documentation is in mach/omap-pm.h */ |
26 | #include <plat/omap-pm.h> | 26 | #include <plat/omap-pm.h> |
27 | #include <plat/omap_device.h> | 27 | |
28 | #include "../mach-omap2/omap_device.h" | ||
28 | 29 | ||
29 | static bool off_mode_enabled; | 30 | static bool off_mode_enabled; |
30 | static int dummy_context_loss_counter; | 31 | static int dummy_context_loss_counter; |