diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-17 13:01:30 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-17 13:01:30 -0400 |
commit | 94c657853bd228ebbc2c590b7f81efcc1dde3329 (patch) | |
tree | 4fb0a566594ed2bbbf1dd2076806335a29c1e2cc | |
parent | 27615a97b2dc7e98b925973b78d1cdc3ee288ab0 (diff) | |
parent | 2b6c4e73248758bac8e1ed81b0d0664da0fff6f8 (diff) |
Merge branch 'omap-for-v3.8/cleanup-headers-dma' into omap-for-v3.8/cleanup-headers
Conflicts:
drivers/crypto/omap-aes.c
drivers/crypto/omap-sham.c
drivers/dma/omap-dma.c
52 files changed, 302 insertions, 374 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index 376f7f29ef77..fc84e2b3400a 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | 40 | ||
41 | #include <mach/mux.h> | 41 | #include <mach/mux.h> |
42 | #include <plat/dma.h> | 42 | #include <plat-omap/dma-omap.h> |
43 | #include <plat/tc.h> | 43 | #include <plat/tc.h> |
44 | #include <mach/irda.h> | 44 | #include <mach/irda.h> |
45 | #include <linux/platform_data/keypad-omap.h> | 45 | #include <linux/platform_data/keypad-omap.h> |
@@ -50,6 +50,7 @@ | |||
50 | 50 | ||
51 | #include "common.h" | 51 | #include "common.h" |
52 | #include "board-h2.h" | 52 | #include "board-h2.h" |
53 | #include "dma.h" | ||
53 | 54 | ||
54 | /* At OMAP1610 Innovator the Ethernet is directly connected to CS1 */ | 55 | /* At OMAP1610 Innovator the Ethernet is directly connected to CS1 */ |
55 | #define OMAP1610_ETHR_START 0x04000300 | 56 | #define OMAP1610_ETHR_START 0x04000300 |
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index ededdb7ef28c..81f55a6c5678 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <mach/mux.h> | 43 | #include <mach/mux.h> |
44 | #include <plat/tc.h> | 44 | #include <plat/tc.h> |
45 | #include <linux/platform_data/keypad-omap.h> | 45 | #include <linux/platform_data/keypad-omap.h> |
46 | #include <plat/dma.h> | 46 | #include <plat-omap/dma-omap.h> |
47 | #include <mach/flash.h> | 47 | #include <mach/flash.h> |
48 | 48 | ||
49 | #include <mach/hardware.h> | 49 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 1c578d58923a..eac94c267f5b 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <mach/flash.h> | 37 | #include <mach/flash.h> |
38 | #include <mach/mux.h> | 38 | #include <mach/mux.h> |
39 | #include <plat/tc.h> | 39 | #include <plat/tc.h> |
40 | #include <plat/dma.h> | 40 | #include <plat-omap/dma-omap.h> |
41 | #include <mach/irda.h> | 41 | #include <mach/irda.h> |
42 | #include <linux/platform_data/keypad-omap.h> | 42 | #include <linux/platform_data/keypad-omap.h> |
43 | 43 | ||
@@ -45,6 +45,7 @@ | |||
45 | #include <mach/usb.h> | 45 | #include <mach/usb.h> |
46 | 46 | ||
47 | #include "common.h" | 47 | #include "common.h" |
48 | #include "dma.h" | ||
48 | 49 | ||
49 | #define PALMTE_USBDETECT_GPIO 0 | 50 | #define PALMTE_USBDETECT_GPIO 0 |
50 | #define PALMTE_USB_OR_DC_GPIO 1 | 51 | #define PALMTE_USB_OR_DC_GPIO 1 |
diff --git a/arch/arm/mach-omap1/board-palmtt.c b/arch/arm/mach-omap1/board-palmtt.c index 97158095083c..5b8ac0fcf451 100644 --- a/arch/arm/mach-omap1/board-palmtt.c +++ b/arch/arm/mach-omap1/board-palmtt.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <plat/led.h> | 36 | #include <plat/led.h> |
37 | #include <mach/flash.h> | 37 | #include <mach/flash.h> |
38 | #include <mach/mux.h> | 38 | #include <mach/mux.h> |
39 | #include <plat/dma.h> | 39 | #include <plat-omap/dma-omap.h> |
40 | #include <plat/tc.h> | 40 | #include <plat/tc.h> |
41 | #include <mach/irda.h> | 41 | #include <mach/irda.h> |
42 | #include <linux/platform_data/keypad-omap.h> | 42 | #include <linux/platform_data/keypad-omap.h> |
@@ -45,6 +45,7 @@ | |||
45 | #include <mach/usb.h> | 45 | #include <mach/usb.h> |
46 | 46 | ||
47 | #include "common.h" | 47 | #include "common.h" |
48 | #include "dma.h" | ||
48 | 49 | ||
49 | #define PALMTT_USBDETECT_GPIO 0 | 50 | #define PALMTT_USBDETECT_GPIO 0 |
50 | #define PALMTT_CABLE_GPIO 1 | 51 | #define PALMTT_CABLE_GPIO 1 |
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index e311032e7eeb..9f3460321ecd 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <mach/flash.h> | 39 | #include <mach/flash.h> |
40 | #include <mach/mux.h> | 40 | #include <mach/mux.h> |
41 | #include <plat/dma.h> | 41 | #include <plat-omap/dma-omap.h> |
42 | #include <plat/tc.h> | 42 | #include <plat/tc.h> |
43 | #include <mach/irda.h> | 43 | #include <mach/irda.h> |
44 | #include <linux/platform_data/keypad-omap.h> | 44 | #include <linux/platform_data/keypad-omap.h> |
@@ -47,6 +47,7 @@ | |||
47 | #include <mach/usb.h> | 47 | #include <mach/usb.h> |
48 | 48 | ||
49 | #include "common.h" | 49 | #include "common.h" |
50 | #include "dma.h" | ||
50 | 51 | ||
51 | #define PALMZ71_USBDETECT_GPIO 0 | 52 | #define PALMZ71_USBDETECT_GPIO 0 |
52 | #define PALMZ71_PENIRQ_GPIO 6 | 53 | #define PALMZ71_PENIRQ_GPIO 6 |
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c index 13bf2cc56814..f4c5db991226 100644 --- a/arch/arm/mach-omap1/board-sx1.c +++ b/arch/arm/mach-omap1/board-sx1.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <mach/flash.h> | 37 | #include <mach/flash.h> |
38 | #include <mach/mux.h> | 38 | #include <mach/mux.h> |
39 | #include <plat/dma.h> | 39 | #include <plat-omap/dma-omap.h> |
40 | #include <mach/irda.h> | 40 | #include <mach/irda.h> |
41 | #include <plat/tc.h> | 41 | #include <plat/tc.h> |
42 | #include <mach/board-sx1.h> | 42 | #include <mach/board-sx1.h> |
@@ -45,6 +45,7 @@ | |||
45 | #include <mach/usb.h> | 45 | #include <mach/usb.h> |
46 | 46 | ||
47 | #include "common.h" | 47 | #include "common.h" |
48 | #include "dma.h" | ||
48 | 49 | ||
49 | /* Write to I2C device */ | 50 | /* Write to I2C device */ |
50 | int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) | 51 | int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) |
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index d3fec92c54cb..894e7c9b57f9 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <plat/tc.h> | 22 | #include <plat/tc.h> |
23 | #include <mach/mux.h> | 23 | #include <mach/mux.h> |
24 | #include <plat/dma.h> | ||
25 | #include <plat/mmc.h> | 24 | #include <plat/mmc.h> |
26 | 25 | ||
27 | #include <mach/omap7xx.h> | 26 | #include <mach/omap7xx.h> |
@@ -30,6 +29,7 @@ | |||
30 | 29 | ||
31 | #include "common.h" | 30 | #include "common.h" |
32 | #include "clock.h" | 31 | #include "clock.h" |
32 | #include "dma.h" | ||
33 | 33 | ||
34 | #if defined(CONFIG_SND_SOC) || defined(CONFIG_SND_SOC_MODULE) | 34 | #if defined(CONFIG_SND_SOC) || defined(CONFIG_SND_SOC_MODULE) |
35 | 35 | ||
diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 29007fef84cd..91594177f6bc 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c | |||
@@ -25,11 +25,13 @@ | |||
25 | #include <linux/device.h> | 25 | #include <linux/device.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | 27 | ||
28 | #include <plat/dma.h> | 28 | #include <plat-omap/dma-omap.h> |
29 | #include <plat/tc.h> | 29 | #include <plat/tc.h> |
30 | 30 | ||
31 | #include <mach/irqs.h> | 31 | #include <mach/irqs.h> |
32 | 32 | ||
33 | #include "dma.h" | ||
34 | |||
33 | #define OMAP1_DMA_BASE (0xfffed800) | 35 | #define OMAP1_DMA_BASE (0xfffed800) |
34 | #define OMAP1_LOGICAL_DMA_CH_COUNT 17 | 36 | #define OMAP1_LOGICAL_DMA_CH_COUNT 17 |
35 | #define OMAP1_DMA_STRIDE 0x40 | 37 | #define OMAP1_DMA_STRIDE 0x40 |
diff --git a/arch/arm/mach-omap1/dma.h b/arch/arm/mach-omap1/dma.h new file mode 100644 index 000000000000..da6345dab03f --- /dev/null +++ b/arch/arm/mach-omap1/dma.h | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | * OMAP1 DMA channel definitions | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | */ | ||
18 | |||
19 | #ifndef __OMAP1_DMA_CHANNEL_H | ||
20 | #define __OMAP1_DMA_CHANNEL_H | ||
21 | |||
22 | /* DMA channels for omap1 */ | ||
23 | #define OMAP_DMA_NO_DEVICE 0 | ||
24 | #define OMAP_DMA_MCSI1_TX 1 | ||
25 | #define OMAP_DMA_MCSI1_RX 2 | ||
26 | #define OMAP_DMA_I2C_RX 3 | ||
27 | #define OMAP_DMA_I2C_TX 4 | ||
28 | #define OMAP_DMA_EXT_NDMA_REQ 5 | ||
29 | #define OMAP_DMA_EXT_NDMA_REQ2 6 | ||
30 | #define OMAP_DMA_UWIRE_TX 7 | ||
31 | #define OMAP_DMA_MCBSP1_TX 8 | ||
32 | #define OMAP_DMA_MCBSP1_RX 9 | ||
33 | #define OMAP_DMA_MCBSP3_TX 10 | ||
34 | #define OMAP_DMA_MCBSP3_RX 11 | ||
35 | #define OMAP_DMA_UART1_TX 12 | ||
36 | #define OMAP_DMA_UART1_RX 13 | ||
37 | #define OMAP_DMA_UART2_TX 14 | ||
38 | #define OMAP_DMA_UART2_RX 15 | ||
39 | #define OMAP_DMA_MCBSP2_TX 16 | ||
40 | #define OMAP_DMA_MCBSP2_RX 17 | ||
41 | #define OMAP_DMA_UART3_TX 18 | ||
42 | #define OMAP_DMA_UART3_RX 19 | ||
43 | #define OMAP_DMA_CAMERA_IF_RX 20 | ||
44 | #define OMAP_DMA_MMC_TX 21 | ||
45 | #define OMAP_DMA_MMC_RX 22 | ||
46 | #define OMAP_DMA_NAND 23 | ||
47 | #define OMAP_DMA_IRQ_LCD_LINE 24 | ||
48 | #define OMAP_DMA_MEMORY_STICK 25 | ||
49 | #define OMAP_DMA_USB_W2FC_RX0 26 | ||
50 | #define OMAP_DMA_USB_W2FC_RX1 27 | ||
51 | #define OMAP_DMA_USB_W2FC_RX2 28 | ||
52 | #define OMAP_DMA_USB_W2FC_TX0 29 | ||
53 | #define OMAP_DMA_USB_W2FC_TX1 30 | ||
54 | #define OMAP_DMA_USB_W2FC_TX2 31 | ||
55 | |||
56 | /* These are only for 1610 */ | ||
57 | #define OMAP_DMA_CRYPTO_DES_IN 32 | ||
58 | #define OMAP_DMA_SPI_TX 33 | ||
59 | #define OMAP_DMA_SPI_RX 34 | ||
60 | #define OMAP_DMA_CRYPTO_HASH 35 | ||
61 | #define OMAP_DMA_CCP_ATTN 36 | ||
62 | #define OMAP_DMA_CCP_FIFO_NOT_EMPTY 37 | ||
63 | #define OMAP_DMA_CMT_APE_TX_CHAN_0 38 | ||
64 | #define OMAP_DMA_CMT_APE_RV_CHAN_0 39 | ||
65 | #define OMAP_DMA_CMT_APE_TX_CHAN_1 40 | ||
66 | #define OMAP_DMA_CMT_APE_RV_CHAN_1 41 | ||
67 | #define OMAP_DMA_CMT_APE_TX_CHAN_2 42 | ||
68 | #define OMAP_DMA_CMT_APE_RV_CHAN_2 43 | ||
69 | #define OMAP_DMA_CMT_APE_TX_CHAN_3 44 | ||
70 | #define OMAP_DMA_CMT_APE_RV_CHAN_3 45 | ||
71 | #define OMAP_DMA_CMT_APE_TX_CHAN_4 46 | ||
72 | #define OMAP_DMA_CMT_APE_RV_CHAN_4 47 | ||
73 | #define OMAP_DMA_CMT_APE_TX_CHAN_5 48 | ||
74 | #define OMAP_DMA_CMT_APE_RV_CHAN_5 49 | ||
75 | #define OMAP_DMA_CMT_APE_TX_CHAN_6 50 | ||
76 | #define OMAP_DMA_CMT_APE_RV_CHAN_6 51 | ||
77 | #define OMAP_DMA_CMT_APE_TX_CHAN_7 52 | ||
78 | #define OMAP_DMA_CMT_APE_RV_CHAN_7 53 | ||
79 | #define OMAP_DMA_MMC2_TX 54 | ||
80 | #define OMAP_DMA_MMC2_RX 55 | ||
81 | #define OMAP_DMA_CRYPTO_DES_OUT 56 | ||
82 | |||
83 | #endif /* __OMAP1_DMA_CHANNEL_H */ | ||
diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c index 6a5baab1f4cb..244cc757ce7d 100644 --- a/arch/arm/mach-omap1/io.c +++ b/arch/arm/mach-omap1/io.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <mach/mux.h> | 19 | #include <mach/mux.h> |
20 | #include <plat/tc.h> | 20 | #include <plat/tc.h> |
21 | #include <plat/dma.h> | 21 | #include <plat-omap/dma-omap.h> |
22 | 22 | ||
23 | #include "iomap.h" | 23 | #include "iomap.h" |
24 | #include "common.h" | 24 | #include "common.h" |
diff --git a/arch/arm/mach-omap1/lcd_dma.c b/arch/arm/mach-omap1/lcd_dma.c index ed42628611bc..7ed8c1857d56 100644 --- a/arch/arm/mach-omap1/lcd_dma.c +++ b/arch/arm/mach-omap1/lcd_dma.c | |||
@@ -27,11 +27,13 @@ | |||
27 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
29 | 29 | ||
30 | #include <plat/dma.h> | 30 | #include <plat-omap/dma-omap.h> |
31 | 31 | ||
32 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
33 | #include <mach/lcdc.h> | 33 | #include <mach/lcdc.h> |
34 | 34 | ||
35 | #include "dma.h" | ||
36 | |||
35 | int omap_lcd_dma_running(void) | 37 | int omap_lcd_dma_running(void) |
36 | { | 38 | { |
37 | /* | 39 | /* |
diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index bdc2e7541adb..3d461e1b8577 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | 21 | ||
22 | #include <plat/dma.h> | 22 | #include <plat-omap/dma-omap.h> |
23 | #include <mach/mux.h> | 23 | #include <mach/mux.h> |
24 | #include <plat/cpu.h> | 24 | #include <plat/cpu.h> |
25 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 25 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
@@ -27,6 +27,7 @@ | |||
27 | #include <mach/irqs.h> | 27 | #include <mach/irqs.h> |
28 | 28 | ||
29 | #include "iomap.h" | 29 | #include "iomap.h" |
30 | #include "dma.h" | ||
30 | 31 | ||
31 | #define DPS_RSTCT2_PER_EN (1 << 0) | 32 | #define DPS_RSTCT2_PER_EN (1 << 0) |
32 | #define DSP_RSTCT2_WD_PER_EN (1 << 1) | 33 | #define DSP_RSTCT2_WD_PER_EN (1 << 1) |
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 47ec16155483..c16b03ad5b50 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <plat/sram.h> | 54 | #include <plat/sram.h> |
55 | #include <plat/tc.h> | 55 | #include <plat/tc.h> |
56 | #include <mach/mux.h> | 56 | #include <mach/mux.h> |
57 | #include <plat/dma.h> | 57 | #include <plat-omap/dma-omap.h> |
58 | #include <plat/dmtimer.h> | 58 | #include <plat/dmtimer.h> |
59 | 59 | ||
60 | #include <mach/irqs.h> | 60 | #include <mach/irqs.h> |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 96cd3693e1ae..2abbd6a9857a 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <plat/usb.h> | 33 | #include <plat/usb.h> |
34 | #include "common.h" | 34 | #include "common.h" |
35 | #include <plat/dma.h> | 35 | #include <plat-omap/dma-omap.h> |
36 | #include <plat/gpmc.h> | 36 | #include <plat/gpmc.h> |
37 | #include <video/omapdss.h> | 37 | #include <video/omapdss.h> |
38 | #include <video/omap-panel-tfp410.h> | 38 | #include <video/omap-panel-tfp410.h> |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 8d04bf851af4..b3bab62fd5ed 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/mach/map.h> | 32 | #include <asm/mach/map.h> |
33 | 33 | ||
34 | #include <plat/menelaus.h> | 34 | #include <plat/menelaus.h> |
35 | #include <plat/dma.h> | 35 | #include <plat-omap/dma-omap.h> |
36 | #include <plat/gpmc.h> | 36 | #include <plat/gpmc.h> |
37 | #include "debug-devices.h" | 37 | #include "debug-devices.h" |
38 | 38 | ||
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 020e03c95bfe..38b3f6389d5b 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/system_info.h> | 31 | #include <asm/system_info.h> |
32 | 32 | ||
33 | #include "common.h" | 33 | #include "common.h" |
34 | #include <plat/dma.h> | 34 | #include <plat-omap/dma-omap.h> |
35 | #include <plat/gpmc.h> | 35 | #include <plat/gpmc.h> |
36 | #include <plat/omap-pm.h> | 36 | #include <plat/omap-pm.h> |
37 | #include "gpmc-smc91x.h" | 37 | #include "gpmc-smc91x.h" |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 7bbb05d9689b..3b1c03e1c741 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
25 | 25 | ||
26 | #include "common.h" | 26 | #include "common.h" |
27 | #include <plat/dma.h> | 27 | #include <plat-omap/dma-omap.h> |
28 | #include <plat/gpmc.h> | 28 | #include <plat/gpmc.h> |
29 | #include <plat/usb.h> | 29 | #include <plat/usb.h> |
30 | 30 | ||
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index c8c211731d26..e9ee9d99f881 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
25 | 25 | ||
26 | #include "iomap.h" | 26 | #include "iomap.h" |
27 | #include <plat/dma.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 <plat/omap_device.h> |
30 | #include "omap4-keypad.h" | 30 | #include "omap4-keypad.h" |
@@ -34,6 +34,7 @@ | |||
34 | #include "mux.h" | 34 | #include "mux.h" |
35 | #include "control.h" | 35 | #include "control.h" |
36 | #include "devices.h" | 36 | #include "devices.h" |
37 | #include "dma.h" | ||
37 | 38 | ||
38 | #define L3_MODULES_MAX_LEN 12 | 39 | #define L3_MODULES_MAX_LEN 12 |
39 | #define L3_MODULES 3 | 40 | #define L3_MODULES 3 |
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index ff75abe60af2..4e3ac6b9449e 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include <plat/omap_hwmod.h> | 31 | #include <plat/omap_hwmod.h> |
32 | #include <plat/omap_device.h> | 32 | #include <plat/omap_device.h> |
33 | #include <plat/dma.h> | 33 | #include <plat-omap/dma-omap.h> |
34 | 34 | ||
35 | #define OMAP2_DMA_STRIDE 0x60 | 35 | #define OMAP2_DMA_STRIDE 0x60 |
36 | 36 | ||
diff --git a/arch/arm/mach-omap2/dma.h b/arch/arm/mach-omap2/dma.h new file mode 100644 index 000000000000..eba80dbc5218 --- /dev/null +++ b/arch/arm/mach-omap2/dma.h | |||
@@ -0,0 +1,131 @@ | |||
1 | /* | ||
2 | * OMAP2PLUS DMA channel definitions | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | */ | ||
18 | |||
19 | #ifndef __OMAP2PLUS_DMA_CHANNEL_H | ||
20 | #define __OMAP2PLUS_DMA_CHANNEL_H | ||
21 | |||
22 | |||
23 | /* DMA channels for 24xx */ | ||
24 | #define OMAP24XX_DMA_NO_DEVICE 0 | ||
25 | #define OMAP24XX_DMA_XTI_DMA 1 /* S_DMA_0 */ | ||
26 | #define OMAP24XX_DMA_EXT_DMAREQ0 2 /* S_DMA_1 */ | ||
27 | #define OMAP24XX_DMA_EXT_DMAREQ1 3 /* S_DMA_2 */ | ||
28 | #define OMAP24XX_DMA_GPMC 4 /* S_DMA_3 */ | ||
29 | #define OMAP24XX_DMA_GFX 5 /* S_DMA_4 */ | ||
30 | #define OMAP24XX_DMA_DSS 6 /* S_DMA_5 */ | ||
31 | #define OMAP242X_DMA_VLYNQ_TX 7 /* S_DMA_6 */ | ||
32 | #define OMAP24XX_DMA_EXT_DMAREQ2 7 /* S_DMA_6 */ | ||
33 | #define OMAP24XX_DMA_CWT 8 /* S_DMA_7 */ | ||
34 | #define OMAP24XX_DMA_AES_TX 9 /* S_DMA_8 */ | ||
35 | #define OMAP24XX_DMA_AES_RX 10 /* S_DMA_9 */ | ||
36 | #define OMAP24XX_DMA_DES_TX 11 /* S_DMA_10 */ | ||
37 | #define OMAP24XX_DMA_DES_RX 12 /* S_DMA_11 */ | ||
38 | #define OMAP24XX_DMA_SHA1MD5_RX 13 /* S_DMA_12 */ | ||
39 | #define OMAP34XX_DMA_SHA2MD5_RX 13 /* S_DMA_12 */ | ||
40 | #define OMAP242X_DMA_EXT_DMAREQ2 14 /* S_DMA_13 */ | ||
41 | #define OMAP242X_DMA_EXT_DMAREQ3 15 /* S_DMA_14 */ | ||
42 | #define OMAP242X_DMA_EXT_DMAREQ4 16 /* S_DMA_15 */ | ||
43 | #define OMAP242X_DMA_EAC_AC_RD 17 /* S_DMA_16 */ | ||
44 | #define OMAP242X_DMA_EAC_AC_WR 18 /* S_DMA_17 */ | ||
45 | #define OMAP242X_DMA_EAC_MD_UL_RD 19 /* S_DMA_18 */ | ||
46 | #define OMAP242X_DMA_EAC_MD_UL_WR 20 /* S_DMA_19 */ | ||
47 | #define OMAP242X_DMA_EAC_MD_DL_RD 21 /* S_DMA_20 */ | ||
48 | #define OMAP242X_DMA_EAC_MD_DL_WR 22 /* S_DMA_21 */ | ||
49 | #define OMAP242X_DMA_EAC_BT_UL_RD 23 /* S_DMA_22 */ | ||
50 | #define OMAP242X_DMA_EAC_BT_UL_WR 24 /* S_DMA_23 */ | ||
51 | #define OMAP242X_DMA_EAC_BT_DL_RD 25 /* S_DMA_24 */ | ||
52 | #define OMAP242X_DMA_EAC_BT_DL_WR 26 /* S_DMA_25 */ | ||
53 | #define OMAP243X_DMA_EXT_DMAREQ3 14 /* S_DMA_13 */ | ||
54 | #define OMAP24XX_DMA_SPI3_TX0 15 /* S_DMA_14 */ | ||
55 | #define OMAP24XX_DMA_SPI3_RX0 16 /* S_DMA_15 */ | ||
56 | #define OMAP24XX_DMA_MCBSP3_TX 17 /* S_DMA_16 */ | ||
57 | #define OMAP24XX_DMA_MCBSP3_RX 18 /* S_DMA_17 */ | ||
58 | #define OMAP24XX_DMA_MCBSP4_TX 19 /* S_DMA_18 */ | ||
59 | #define OMAP24XX_DMA_MCBSP4_RX 20 /* S_DMA_19 */ | ||
60 | #define OMAP24XX_DMA_MCBSP5_TX 21 /* S_DMA_20 */ | ||
61 | #define OMAP24XX_DMA_MCBSP5_RX 22 /* S_DMA_21 */ | ||
62 | #define OMAP24XX_DMA_SPI3_TX1 23 /* S_DMA_22 */ | ||
63 | #define OMAP24XX_DMA_SPI3_RX1 24 /* S_DMA_23 */ | ||
64 | #define OMAP243X_DMA_EXT_DMAREQ4 25 /* S_DMA_24 */ | ||
65 | #define OMAP243X_DMA_EXT_DMAREQ5 26 /* S_DMA_25 */ | ||
66 | #define OMAP34XX_DMA_I2C3_TX 25 /* S_DMA_24 */ | ||
67 | #define OMAP34XX_DMA_I2C3_RX 26 /* S_DMA_25 */ | ||
68 | #define OMAP24XX_DMA_I2C1_TX 27 /* S_DMA_26 */ | ||
69 | #define OMAP24XX_DMA_I2C1_RX 28 /* S_DMA_27 */ | ||
70 | #define OMAP24XX_DMA_I2C2_TX 29 /* S_DMA_28 */ | ||
71 | #define OMAP24XX_DMA_I2C2_RX 30 /* S_DMA_29 */ | ||
72 | #define OMAP24XX_DMA_MCBSP1_TX 31 /* S_DMA_30 */ | ||
73 | #define OMAP24XX_DMA_MCBSP1_RX 32 /* S_DMA_31 */ | ||
74 | #define OMAP24XX_DMA_MCBSP2_TX 33 /* S_DMA_32 */ | ||
75 | #define OMAP24XX_DMA_MCBSP2_RX 34 /* S_DMA_33 */ | ||
76 | #define OMAP24XX_DMA_SPI1_TX0 35 /* S_DMA_34 */ | ||
77 | #define OMAP24XX_DMA_SPI1_RX0 36 /* S_DMA_35 */ | ||
78 | #define OMAP24XX_DMA_SPI1_TX1 37 /* S_DMA_36 */ | ||
79 | #define OMAP24XX_DMA_SPI1_RX1 38 /* S_DMA_37 */ | ||
80 | #define OMAP24XX_DMA_SPI1_TX2 39 /* S_DMA_38 */ | ||
81 | #define OMAP24XX_DMA_SPI1_RX2 40 /* S_DMA_39 */ | ||
82 | #define OMAP24XX_DMA_SPI1_TX3 41 /* S_DMA_40 */ | ||
83 | #define OMAP24XX_DMA_SPI1_RX3 42 /* S_DMA_41 */ | ||
84 | #define OMAP24XX_DMA_SPI2_TX0 43 /* S_DMA_42 */ | ||
85 | #define OMAP24XX_DMA_SPI2_RX0 44 /* S_DMA_43 */ | ||
86 | #define OMAP24XX_DMA_SPI2_TX1 45 /* S_DMA_44 */ | ||
87 | #define OMAP24XX_DMA_SPI2_RX1 46 /* S_DMA_45 */ | ||
88 | #define OMAP24XX_DMA_MMC2_TX 47 /* S_DMA_46 */ | ||
89 | #define OMAP24XX_DMA_MMC2_RX 48 /* S_DMA_47 */ | ||
90 | #define OMAP24XX_DMA_UART1_TX 49 /* S_DMA_48 */ | ||
91 | #define OMAP24XX_DMA_UART1_RX 50 /* S_DMA_49 */ | ||
92 | #define OMAP24XX_DMA_UART2_TX 51 /* S_DMA_50 */ | ||
93 | #define OMAP24XX_DMA_UART2_RX 52 /* S_DMA_51 */ | ||
94 | #define OMAP24XX_DMA_UART3_TX 53 /* S_DMA_52 */ | ||
95 | #define OMAP24XX_DMA_UART3_RX 54 /* S_DMA_53 */ | ||
96 | #define OMAP24XX_DMA_USB_W2FC_TX0 55 /* S_DMA_54 */ | ||
97 | #define OMAP24XX_DMA_USB_W2FC_RX0 56 /* S_DMA_55 */ | ||
98 | #define OMAP24XX_DMA_USB_W2FC_TX1 57 /* S_DMA_56 */ | ||
99 | #define OMAP24XX_DMA_USB_W2FC_RX1 58 /* S_DMA_57 */ | ||
100 | #define OMAP24XX_DMA_USB_W2FC_TX2 59 /* S_DMA_58 */ | ||
101 | #define OMAP24XX_DMA_USB_W2FC_RX2 60 /* S_DMA_59 */ | ||
102 | #define OMAP24XX_DMA_MMC1_TX 61 /* S_DMA_60 */ | ||
103 | #define OMAP24XX_DMA_MMC1_RX 62 /* S_DMA_61 */ | ||
104 | #define OMAP24XX_DMA_MS 63 /* S_DMA_62 */ | ||
105 | #define OMAP242X_DMA_EXT_DMAREQ5 64 /* S_DMA_63 */ | ||
106 | #define OMAP243X_DMA_EXT_DMAREQ6 64 /* S_DMA_63 */ | ||
107 | #define OMAP34XX_DMA_EXT_DMAREQ3 64 /* S_DMA_63 */ | ||
108 | #define OMAP34XX_DMA_AES2_TX 65 /* S_DMA_64 */ | ||
109 | #define OMAP34XX_DMA_AES2_RX 66 /* S_DMA_65 */ | ||
110 | #define OMAP34XX_DMA_DES2_TX 67 /* S_DMA_66 */ | ||
111 | #define OMAP34XX_DMA_DES2_RX 68 /* S_DMA_67 */ | ||
112 | #define OMAP34XX_DMA_SHA1MD5_RX 69 /* S_DMA_68 */ | ||
113 | #define OMAP34XX_DMA_SPI4_TX0 70 /* S_DMA_69 */ | ||
114 | #define OMAP34XX_DMA_SPI4_RX0 71 /* S_DMA_70 */ | ||
115 | #define OMAP34XX_DSS_DMA0 72 /* S_DMA_71 */ | ||
116 | #define OMAP34XX_DSS_DMA1 73 /* S_DMA_72 */ | ||
117 | #define OMAP34XX_DSS_DMA2 74 /* S_DMA_73 */ | ||
118 | #define OMAP34XX_DSS_DMA3 75 /* S_DMA_74 */ | ||
119 | #define OMAP34XX_DMA_MMC3_TX 77 /* S_DMA_76 */ | ||
120 | #define OMAP34XX_DMA_MMC3_RX 78 /* S_DMA_77 */ | ||
121 | #define OMAP34XX_DMA_USIM_TX 79 /* S_DMA_78 */ | ||
122 | #define OMAP34XX_DMA_USIM_RX 80 /* S_DMA_79 */ | ||
123 | |||
124 | #define OMAP36XX_DMA_UART4_TX 81 /* S_DMA_80 */ | ||
125 | #define OMAP36XX_DMA_UART4_RX 82 /* S_DMA_81 */ | ||
126 | |||
127 | /* Only for AM35xx */ | ||
128 | #define AM35XX_DMA_UART4_TX 54 | ||
129 | #define AM35XX_DMA_UART4_RX 55 | ||
130 | |||
131 | #endif /* __OMAP2PLUS_DMA_CHANNEL_H */ | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 4234d28dc171..42a4b9c08aaa 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <plat/omap-pm.h> | 31 | #include <plat/omap-pm.h> |
32 | #include <plat/omap_hwmod.h> | 32 | #include <plat/omap_hwmod.h> |
33 | #include <plat/multi.h> | 33 | #include <plat/multi.h> |
34 | #include <plat/dma.h> | 34 | #include <plat-omap/dma-omap.h> |
35 | 35 | ||
36 | #include "soc.h" | 36 | #include "soc.h" |
37 | #include "iomap.h" | 37 | #include "iomap.h" |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index 37f8f948047b..b2c7f2300759 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -20,7 +20,7 @@ | |||
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 | 22 | ||
23 | #include <plat/dma.h> | 23 | #include <plat-omap/dma-omap.h> |
24 | #include <plat/omap_device.h> | 24 | #include <plat/omap_device.h> |
25 | #include <linux/pm_runtime.h> | 25 | #include <linux/pm_runtime.h> |
26 | 26 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_hwmod_2420_data.c index b5db6007c523..917b1f47598e 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/platform_data/spi-omap2-mcspi.h> | 15 | #include <linux/platform_data/spi-omap2-mcspi.h> |
16 | 16 | ||
17 | #include <plat/omap_hwmod.h> | 17 | #include <plat/omap_hwmod.h> |
18 | #include <plat/dma.h> | 18 | #include <plat-omap/dma-omap.h> |
19 | #include <plat/serial.h> | 19 | #include <plat/serial.h> |
20 | #include <plat/i2c.h> | 20 | #include <plat/i2c.h> |
21 | #include <plat/dmtimer.h> | 21 | #include <plat/dmtimer.h> |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c index c455e41b0237..2a6d1ab31bd0 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/platform_data/spi-omap2-mcspi.h> | 16 | #include <linux/platform_data/spi-omap2-mcspi.h> |
17 | 17 | ||
18 | #include <plat/omap_hwmod.h> | 18 | #include <plat/omap_hwmod.h> |
19 | #include <plat/dma.h> | 19 | #include <plat-omap/dma-omap.h> |
20 | #include <plat/serial.h> | 20 | #include <plat/serial.h> |
21 | #include <plat/i2c.h> | 21 | #include <plat/i2c.h> |
22 | #include <plat/dmtimer.h> | 22 | #include <plat/dmtimer.h> |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c index 8851bbb6bb24..2420097d29f5 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | |||
@@ -11,11 +11,12 @@ | |||
11 | */ | 11 | */ |
12 | #include <plat/omap_hwmod.h> | 12 | #include <plat/omap_hwmod.h> |
13 | #include <plat/serial.h> | 13 | #include <plat/serial.h> |
14 | #include <plat/dma.h> | 14 | #include <plat-omap/dma-omap.h> |
15 | #include <plat/common.h> | 15 | #include <plat/common.h> |
16 | #include "hdq1w.h" | 16 | #include "hdq1w.h" |
17 | 17 | ||
18 | #include "omap_hwmod_common_data.h" | 18 | #include "omap_hwmod_common_data.h" |
19 | #include "dma.h" | ||
19 | 20 | ||
20 | /* UART */ | 21 | /* UART */ |
21 | 22 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c index bd9220ed5ab9..b9024868774c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <plat/omap_hwmod.h> | 11 | #include <plat/omap_hwmod.h> |
12 | #include <plat/serial.h> | 12 | #include <plat/serial.h> |
13 | #include <linux/platform_data/gpio-omap.h> | 13 | #include <linux/platform_data/gpio-omap.h> |
14 | #include <plat/dma.h> | 14 | #include <plat-omap/dma-omap.h> |
15 | #include <plat/dmtimer.h> | 15 | #include <plat/dmtimer.h> |
16 | #include <linux/platform_data/spi-omap2-mcspi.h> | 16 | #include <linux/platform_data/spi-omap2-mcspi.h> |
17 | 17 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c index 59d5c1cd316d..f7f3c2dfa0af 100644 --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <plat/cpu.h> | 18 | #include <plat/cpu.h> |
19 | #include <linux/platform_data/gpio-omap.h> | 19 | #include <linux/platform_data/gpio-omap.h> |
20 | #include <linux/platform_data/spi-omap2-mcspi.h> | 20 | #include <linux/platform_data/spi-omap2-mcspi.h> |
21 | #include <plat/dma.h> | 21 | #include <plat-omap/dma-omap.h> |
22 | #include <plat/mmc.h> | 22 | #include <plat/mmc.h> |
23 | #include <plat/i2c.h> | 23 | #include <plat/i2c.h> |
24 | 24 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index f67b7ee07dd4..76ef2adc683c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.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_hwmod.h> | 20 | #include <plat/omap_hwmod.h> |
21 | #include <plat/dma.h> | 21 | #include <plat-omap/dma-omap.h> |
22 | #include <plat/serial.h> | 22 | #include <plat/serial.h> |
23 | #include "l3_3xxx.h" | 23 | #include "l3_3xxx.h" |
24 | #include "l4_3xxx.h" | 24 | #include "l4_3xxx.h" |
@@ -35,6 +35,8 @@ | |||
35 | #include "omap_hwmod_common_data.h" | 35 | #include "omap_hwmod_common_data.h" |
36 | #include "prm-regbits-34xx.h" | 36 | #include "prm-regbits-34xx.h" |
37 | #include "cm-regbits-34xx.h" | 37 | #include "cm-regbits-34xx.h" |
38 | |||
39 | #include "dma.h" | ||
38 | #include "wd_timer.h" | 40 | #include "wd_timer.h" |
39 | 41 | ||
40 | /* | 42 | /* |
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 652d0285bd6d..5f59b16978ff 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <plat/omap_hwmod.h> | 25 | #include <plat/omap_hwmod.h> |
26 | #include <plat/i2c.h> | 26 | #include <plat/i2c.h> |
27 | #include <plat/dma.h> | 27 | #include <plat-omap/dma-omap.h> |
28 | #include <linux/platform_data/spi-omap2-mcspi.h> | 28 | #include <linux/platform_data/spi-omap2-mcspi.h> |
29 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 29 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
30 | #include <plat/mmc.h> | 30 | #include <plat/mmc.h> |
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index 8af6cd6ac331..601a49bc264c 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <plat/clock.h> | 39 | #include <plat/clock.h> |
40 | #include <plat/sram.h> | 40 | #include <plat/sram.h> |
41 | #include <plat/dma.h> | 41 | #include <plat-omap/dma-omap.h> |
42 | 42 | ||
43 | #include "common.h" | 43 | #include "common.h" |
44 | #include "prm2xxx_3xxx.h" | 44 | #include "prm2xxx_3xxx.h" |
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index ba670db1fd37..baee8722b477 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <plat/sdrc.h> | 41 | #include <plat/sdrc.h> |
42 | #include <plat/prcm.h> | 42 | #include <plat/prcm.h> |
43 | #include <plat/gpmc.h> | 43 | #include <plat/gpmc.h> |
44 | #include <plat/dma.h> | 44 | #include <plat-omap/dma-omap.h> |
45 | 45 | ||
46 | #include "common.h" | 46 | #include "common.h" |
47 | #include "cm2xxx_3xxx.h" | 47 | #include "cm2xxx_3xxx.h" |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 0405c8190803..67c41961fa42 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #include <plat/omap-serial.h> | 30 | #include <plat/omap-serial.h> |
31 | #include "common.h" | 31 | #include "common.h" |
32 | #include <plat/dma.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 <plat/omap_device.h> |
35 | #include <plat/omap-pm.h> | 35 | #include <plat/omap-pm.h> |
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index 111315a69354..b388e87b522b 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <plat/common.h> | 19 | #include <plat/common.h> |
20 | #include <plat/vram.h> | 20 | #include <plat/vram.h> |
21 | #include <linux/platform_data/dsp-omap.h> | 21 | #include <linux/platform_data/dsp-omap.h> |
22 | #include <plat/dma.h> | 22 | #include <plat-omap/dma-omap.h> |
23 | 23 | ||
24 | #include <plat/omap-secure.h> | 24 | #include <plat/omap-secure.h> |
25 | 25 | ||
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index c76ed8bff838..b729623f2967 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/delay.h> | 37 | #include <linux/delay.h> |
38 | 38 | ||
39 | #include <plat/cpu.h> | 39 | #include <plat/cpu.h> |
40 | #include <plat/dma.h> | 40 | #include <plat-omap/dma-omap.h> |
41 | #include <plat/tc.h> | 41 | #include <plat/tc.h> |
42 | 42 | ||
43 | /* | 43 | /* |
diff --git a/arch/arm/plat-omap/include/plat/dma.h b/arch/arm/plat-omap/include/plat-omap/dma-omap.h index 0a87b052f8f7..222be7e934e5 100644 --- a/arch/arm/plat-omap/include/plat/dma.h +++ b/arch/arm/plat-omap/include/plat-omap/dma-omap.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/plat-omap/include/mach/dma.h | 2 | * OMAP DMA handling defines and function |
3 | * | 3 | * |
4 | * Copyright (C) 2003 Nokia Corporation | 4 | * Copyright (C) 2003 Nokia Corporation |
5 | * Author: Juha Yrjölä <juha.yrjola@nokia.com> | 5 | * Author: Juha Yrjölä <juha.yrjola@nokia.com> |
@@ -23,187 +23,8 @@ | |||
23 | 23 | ||
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | 25 | ||
26 | /* | ||
27 | * TODO: These dma channel defines should go away once all | ||
28 | * the omap drivers hwmod adapted. | ||
29 | */ | ||
30 | |||
31 | /* Move omap4 specific defines to dma-44xx.h */ | ||
32 | #include "dma-44xx.h" | ||
33 | |||
34 | #define INT_DMA_LCD 25 | 26 | #define INT_DMA_LCD 25 |
35 | 27 | ||
36 | /* DMA channels for omap1 */ | ||
37 | #define OMAP_DMA_NO_DEVICE 0 | ||
38 | #define OMAP_DMA_MCSI1_TX 1 | ||
39 | #define OMAP_DMA_MCSI1_RX 2 | ||
40 | #define OMAP_DMA_I2C_RX 3 | ||
41 | #define OMAP_DMA_I2C_TX 4 | ||
42 | #define OMAP_DMA_EXT_NDMA_REQ 5 | ||
43 | #define OMAP_DMA_EXT_NDMA_REQ2 6 | ||
44 | #define OMAP_DMA_UWIRE_TX 7 | ||
45 | #define OMAP_DMA_MCBSP1_TX 8 | ||
46 | #define OMAP_DMA_MCBSP1_RX 9 | ||
47 | #define OMAP_DMA_MCBSP3_TX 10 | ||
48 | #define OMAP_DMA_MCBSP3_RX 11 | ||
49 | #define OMAP_DMA_UART1_TX 12 | ||
50 | #define OMAP_DMA_UART1_RX 13 | ||
51 | #define OMAP_DMA_UART2_TX 14 | ||
52 | #define OMAP_DMA_UART2_RX 15 | ||
53 | #define OMAP_DMA_MCBSP2_TX 16 | ||
54 | #define OMAP_DMA_MCBSP2_RX 17 | ||
55 | #define OMAP_DMA_UART3_TX 18 | ||
56 | #define OMAP_DMA_UART3_RX 19 | ||
57 | #define OMAP_DMA_CAMERA_IF_RX 20 | ||
58 | #define OMAP_DMA_MMC_TX 21 | ||
59 | #define OMAP_DMA_MMC_RX 22 | ||
60 | #define OMAP_DMA_NAND 23 | ||
61 | #define OMAP_DMA_IRQ_LCD_LINE 24 | ||
62 | #define OMAP_DMA_MEMORY_STICK 25 | ||
63 | #define OMAP_DMA_USB_W2FC_RX0 26 | ||
64 | #define OMAP_DMA_USB_W2FC_RX1 27 | ||
65 | #define OMAP_DMA_USB_W2FC_RX2 28 | ||
66 | #define OMAP_DMA_USB_W2FC_TX0 29 | ||
67 | #define OMAP_DMA_USB_W2FC_TX1 30 | ||
68 | #define OMAP_DMA_USB_W2FC_TX2 31 | ||
69 | |||
70 | /* These are only for 1610 */ | ||
71 | #define OMAP_DMA_CRYPTO_DES_IN 32 | ||
72 | #define OMAP_DMA_SPI_TX 33 | ||
73 | #define OMAP_DMA_SPI_RX 34 | ||
74 | #define OMAP_DMA_CRYPTO_HASH 35 | ||
75 | #define OMAP_DMA_CCP_ATTN 36 | ||
76 | #define OMAP_DMA_CCP_FIFO_NOT_EMPTY 37 | ||
77 | #define OMAP_DMA_CMT_APE_TX_CHAN_0 38 | ||
78 | #define OMAP_DMA_CMT_APE_RV_CHAN_0 39 | ||
79 | #define OMAP_DMA_CMT_APE_TX_CHAN_1 40 | ||
80 | #define OMAP_DMA_CMT_APE_RV_CHAN_1 41 | ||
81 | #define OMAP_DMA_CMT_APE_TX_CHAN_2 42 | ||
82 | #define OMAP_DMA_CMT_APE_RV_CHAN_2 43 | ||
83 | #define OMAP_DMA_CMT_APE_TX_CHAN_3 44 | ||
84 | #define OMAP_DMA_CMT_APE_RV_CHAN_3 45 | ||
85 | #define OMAP_DMA_CMT_APE_TX_CHAN_4 46 | ||
86 | #define OMAP_DMA_CMT_APE_RV_CHAN_4 47 | ||
87 | #define OMAP_DMA_CMT_APE_TX_CHAN_5 48 | ||
88 | #define OMAP_DMA_CMT_APE_RV_CHAN_5 49 | ||
89 | #define OMAP_DMA_CMT_APE_TX_CHAN_6 50 | ||
90 | #define OMAP_DMA_CMT_APE_RV_CHAN_6 51 | ||
91 | #define OMAP_DMA_CMT_APE_TX_CHAN_7 52 | ||
92 | #define OMAP_DMA_CMT_APE_RV_CHAN_7 53 | ||
93 | #define OMAP_DMA_MMC2_TX 54 | ||
94 | #define OMAP_DMA_MMC2_RX 55 | ||
95 | #define OMAP_DMA_CRYPTO_DES_OUT 56 | ||
96 | |||
97 | /* DMA channels for 24xx */ | ||
98 | #define OMAP24XX_DMA_NO_DEVICE 0 | ||
99 | #define OMAP24XX_DMA_XTI_DMA 1 /* S_DMA_0 */ | ||
100 | #define OMAP24XX_DMA_EXT_DMAREQ0 2 /* S_DMA_1 */ | ||
101 | #define OMAP24XX_DMA_EXT_DMAREQ1 3 /* S_DMA_2 */ | ||
102 | #define OMAP24XX_DMA_GPMC 4 /* S_DMA_3 */ | ||
103 | #define OMAP24XX_DMA_GFX 5 /* S_DMA_4 */ | ||
104 | #define OMAP24XX_DMA_DSS 6 /* S_DMA_5 */ | ||
105 | #define OMAP242X_DMA_VLYNQ_TX 7 /* S_DMA_6 */ | ||
106 | #define OMAP24XX_DMA_EXT_DMAREQ2 7 /* S_DMA_6 */ | ||
107 | #define OMAP24XX_DMA_CWT 8 /* S_DMA_7 */ | ||
108 | #define OMAP24XX_DMA_AES_TX 9 /* S_DMA_8 */ | ||
109 | #define OMAP24XX_DMA_AES_RX 10 /* S_DMA_9 */ | ||
110 | #define OMAP24XX_DMA_DES_TX 11 /* S_DMA_10 */ | ||
111 | #define OMAP24XX_DMA_DES_RX 12 /* S_DMA_11 */ | ||
112 | #define OMAP24XX_DMA_SHA1MD5_RX 13 /* S_DMA_12 */ | ||
113 | #define OMAP34XX_DMA_SHA2MD5_RX 13 /* S_DMA_12 */ | ||
114 | #define OMAP242X_DMA_EXT_DMAREQ2 14 /* S_DMA_13 */ | ||
115 | #define OMAP242X_DMA_EXT_DMAREQ3 15 /* S_DMA_14 */ | ||
116 | #define OMAP242X_DMA_EXT_DMAREQ4 16 /* S_DMA_15 */ | ||
117 | #define OMAP242X_DMA_EAC_AC_RD 17 /* S_DMA_16 */ | ||
118 | #define OMAP242X_DMA_EAC_AC_WR 18 /* S_DMA_17 */ | ||
119 | #define OMAP242X_DMA_EAC_MD_UL_RD 19 /* S_DMA_18 */ | ||
120 | #define OMAP242X_DMA_EAC_MD_UL_WR 20 /* S_DMA_19 */ | ||
121 | #define OMAP242X_DMA_EAC_MD_DL_RD 21 /* S_DMA_20 */ | ||
122 | #define OMAP242X_DMA_EAC_MD_DL_WR 22 /* S_DMA_21 */ | ||
123 | #define OMAP242X_DMA_EAC_BT_UL_RD 23 /* S_DMA_22 */ | ||
124 | #define OMAP242X_DMA_EAC_BT_UL_WR 24 /* S_DMA_23 */ | ||
125 | #define OMAP242X_DMA_EAC_BT_DL_RD 25 /* S_DMA_24 */ | ||
126 | #define OMAP242X_DMA_EAC_BT_DL_WR 26 /* S_DMA_25 */ | ||
127 | #define OMAP243X_DMA_EXT_DMAREQ3 14 /* S_DMA_13 */ | ||
128 | #define OMAP24XX_DMA_SPI3_TX0 15 /* S_DMA_14 */ | ||
129 | #define OMAP24XX_DMA_SPI3_RX0 16 /* S_DMA_15 */ | ||
130 | #define OMAP24XX_DMA_MCBSP3_TX 17 /* S_DMA_16 */ | ||
131 | #define OMAP24XX_DMA_MCBSP3_RX 18 /* S_DMA_17 */ | ||
132 | #define OMAP24XX_DMA_MCBSP4_TX 19 /* S_DMA_18 */ | ||
133 | #define OMAP24XX_DMA_MCBSP4_RX 20 /* S_DMA_19 */ | ||
134 | #define OMAP24XX_DMA_MCBSP5_TX 21 /* S_DMA_20 */ | ||
135 | #define OMAP24XX_DMA_MCBSP5_RX 22 /* S_DMA_21 */ | ||
136 | #define OMAP24XX_DMA_SPI3_TX1 23 /* S_DMA_22 */ | ||
137 | #define OMAP24XX_DMA_SPI3_RX1 24 /* S_DMA_23 */ | ||
138 | #define OMAP243X_DMA_EXT_DMAREQ4 25 /* S_DMA_24 */ | ||
139 | #define OMAP243X_DMA_EXT_DMAREQ5 26 /* S_DMA_25 */ | ||
140 | #define OMAP34XX_DMA_I2C3_TX 25 /* S_DMA_24 */ | ||
141 | #define OMAP34XX_DMA_I2C3_RX 26 /* S_DMA_25 */ | ||
142 | #define OMAP24XX_DMA_I2C1_TX 27 /* S_DMA_26 */ | ||
143 | #define OMAP24XX_DMA_I2C1_RX 28 /* S_DMA_27 */ | ||
144 | #define OMAP24XX_DMA_I2C2_TX 29 /* S_DMA_28 */ | ||
145 | #define OMAP24XX_DMA_I2C2_RX 30 /* S_DMA_29 */ | ||
146 | #define OMAP24XX_DMA_MCBSP1_TX 31 /* S_DMA_30 */ | ||
147 | #define OMAP24XX_DMA_MCBSP1_RX 32 /* S_DMA_31 */ | ||
148 | #define OMAP24XX_DMA_MCBSP2_TX 33 /* S_DMA_32 */ | ||
149 | #define OMAP24XX_DMA_MCBSP2_RX 34 /* S_DMA_33 */ | ||
150 | #define OMAP24XX_DMA_SPI1_TX0 35 /* S_DMA_34 */ | ||
151 | #define OMAP24XX_DMA_SPI1_RX0 36 /* S_DMA_35 */ | ||
152 | #define OMAP24XX_DMA_SPI1_TX1 37 /* S_DMA_36 */ | ||
153 | #define OMAP24XX_DMA_SPI1_RX1 38 /* S_DMA_37 */ | ||
154 | #define OMAP24XX_DMA_SPI1_TX2 39 /* S_DMA_38 */ | ||
155 | #define OMAP24XX_DMA_SPI1_RX2 40 /* S_DMA_39 */ | ||
156 | #define OMAP24XX_DMA_SPI1_TX3 41 /* S_DMA_40 */ | ||
157 | #define OMAP24XX_DMA_SPI1_RX3 42 /* S_DMA_41 */ | ||
158 | #define OMAP24XX_DMA_SPI2_TX0 43 /* S_DMA_42 */ | ||
159 | #define OMAP24XX_DMA_SPI2_RX0 44 /* S_DMA_43 */ | ||
160 | #define OMAP24XX_DMA_SPI2_TX1 45 /* S_DMA_44 */ | ||
161 | #define OMAP24XX_DMA_SPI2_RX1 46 /* S_DMA_45 */ | ||
162 | #define OMAP24XX_DMA_MMC2_TX 47 /* S_DMA_46 */ | ||
163 | #define OMAP24XX_DMA_MMC2_RX 48 /* S_DMA_47 */ | ||
164 | #define OMAP24XX_DMA_UART1_TX 49 /* S_DMA_48 */ | ||
165 | #define OMAP24XX_DMA_UART1_RX 50 /* S_DMA_49 */ | ||
166 | #define OMAP24XX_DMA_UART2_TX 51 /* S_DMA_50 */ | ||
167 | #define OMAP24XX_DMA_UART2_RX 52 /* S_DMA_51 */ | ||
168 | #define OMAP24XX_DMA_UART3_TX 53 /* S_DMA_52 */ | ||
169 | #define OMAP24XX_DMA_UART3_RX 54 /* S_DMA_53 */ | ||
170 | #define OMAP24XX_DMA_USB_W2FC_TX0 55 /* S_DMA_54 */ | ||
171 | #define OMAP24XX_DMA_USB_W2FC_RX0 56 /* S_DMA_55 */ | ||
172 | #define OMAP24XX_DMA_USB_W2FC_TX1 57 /* S_DMA_56 */ | ||
173 | #define OMAP24XX_DMA_USB_W2FC_RX1 58 /* S_DMA_57 */ | ||
174 | #define OMAP24XX_DMA_USB_W2FC_TX2 59 /* S_DMA_58 */ | ||
175 | #define OMAP24XX_DMA_USB_W2FC_RX2 60 /* S_DMA_59 */ | ||
176 | #define OMAP24XX_DMA_MMC1_TX 61 /* S_DMA_60 */ | ||
177 | #define OMAP24XX_DMA_MMC1_RX 62 /* S_DMA_61 */ | ||
178 | #define OMAP24XX_DMA_MS 63 /* S_DMA_62 */ | ||
179 | #define OMAP242X_DMA_EXT_DMAREQ5 64 /* S_DMA_63 */ | ||
180 | #define OMAP243X_DMA_EXT_DMAREQ6 64 /* S_DMA_63 */ | ||
181 | #define OMAP34XX_DMA_EXT_DMAREQ3 64 /* S_DMA_63 */ | ||
182 | #define OMAP34XX_DMA_AES2_TX 65 /* S_DMA_64 */ | ||
183 | #define OMAP34XX_DMA_AES2_RX 66 /* S_DMA_65 */ | ||
184 | #define OMAP34XX_DMA_DES2_TX 67 /* S_DMA_66 */ | ||
185 | #define OMAP34XX_DMA_DES2_RX 68 /* S_DMA_67 */ | ||
186 | #define OMAP34XX_DMA_SHA1MD5_RX 69 /* S_DMA_68 */ | ||
187 | #define OMAP34XX_DMA_SPI4_TX0 70 /* S_DMA_69 */ | ||
188 | #define OMAP34XX_DMA_SPI4_RX0 71 /* S_DMA_70 */ | ||
189 | #define OMAP34XX_DSS_DMA0 72 /* S_DMA_71 */ | ||
190 | #define OMAP34XX_DSS_DMA1 73 /* S_DMA_72 */ | ||
191 | #define OMAP34XX_DSS_DMA2 74 /* S_DMA_73 */ | ||
192 | #define OMAP34XX_DSS_DMA3 75 /* S_DMA_74 */ | ||
193 | #define OMAP34XX_DMA_MMC3_TX 77 /* S_DMA_76 */ | ||
194 | #define OMAP34XX_DMA_MMC3_RX 78 /* S_DMA_77 */ | ||
195 | #define OMAP34XX_DMA_USIM_TX 79 /* S_DMA_78 */ | ||
196 | #define OMAP34XX_DMA_USIM_RX 80 /* S_DMA_79 */ | ||
197 | |||
198 | #define OMAP36XX_DMA_UART4_TX 81 /* S_DMA_80 */ | ||
199 | #define OMAP36XX_DMA_UART4_RX 82 /* S_DMA_81 */ | ||
200 | |||
201 | /* Only for AM35xx */ | ||
202 | #define AM35XX_DMA_UART4_TX 54 | ||
203 | #define AM35XX_DMA_UART4_RX 55 | ||
204 | |||
205 | /*----------------------------------------------------------------------------*/ | ||
206 | |||
207 | #define OMAP1_DMA_TOUT_IRQ (1 << 0) | 28 | #define OMAP1_DMA_TOUT_IRQ (1 << 0) |
208 | #define OMAP_DMA_DROP_IRQ (1 << 1) | 29 | #define OMAP_DMA_DROP_IRQ (1 << 1) |
209 | #define OMAP_DMA_HALF_IRQ (1 << 2) | 30 | #define OMAP_DMA_HALF_IRQ (1 << 2) |
diff --git a/arch/arm/plat-omap/include/plat/dma-44xx.h b/arch/arm/plat-omap/include/plat/dma-44xx.h deleted file mode 100644 index 1f767cb2f38a..000000000000 --- a/arch/arm/plat-omap/include/plat/dma-44xx.h +++ /dev/null | |||
@@ -1,147 +0,0 @@ | |||
1 | /* | ||
2 | * OMAP4 SDMA channel definitions | ||
3 | * | ||
4 | * Copyright (C) 2009-2010 Texas Instruments, Inc. | ||
5 | * Copyright (C) 2009-2010 Nokia Corporation | ||
6 | * | ||
7 | * Santosh Shilimkar (santosh.shilimkar@ti.com) | ||
8 | * Benoit Cousson (b-cousson@ti.com) | ||
9 | * Paul Walmsley (paul@pwsan.com) | ||
10 | * | ||
11 | * This file is automatically generated from the OMAP hardware databases. | ||
12 | * We respectfully ask that any modifications to this file be coordinated | ||
13 | * with the public linux-omap@vger.kernel.org mailing list and the | ||
14 | * authors above to ensure that the autogeneration scripts are kept | ||
15 | * up-to-date with the file contents. | ||
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License version 2 as | ||
19 | * published by the Free Software Foundation. | ||
20 | */ | ||
21 | |||
22 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP44XX_DMA_H | ||
23 | #define __ARCH_ARM_MACH_OMAP2_OMAP44XX_DMA_H | ||
24 | |||
25 | #define OMAP44XX_DMA_SYS_REQ0 2 | ||
26 | #define OMAP44XX_DMA_SYS_REQ1 3 | ||
27 | #define OMAP44XX_DMA_GPMC 4 | ||
28 | #define OMAP44XX_DMA_DSS_DISPC_REQ 6 | ||
29 | #define OMAP44XX_DMA_SYS_REQ2 7 | ||
30 | #define OMAP44XX_DMA_MCASP1_AXEVT 8 | ||
31 | #define OMAP44XX_DMA_ISS_REQ1 9 | ||
32 | #define OMAP44XX_DMA_ISS_REQ2 10 | ||
33 | #define OMAP44XX_DMA_MCASP1_AREVT 11 | ||
34 | #define OMAP44XX_DMA_ISS_REQ3 12 | ||
35 | #define OMAP44XX_DMA_ISS_REQ4 13 | ||
36 | #define OMAP44XX_DMA_DSS_RFBI_REQ 14 | ||
37 | #define OMAP44XX_DMA_SPI3_TX0 15 | ||
38 | #define OMAP44XX_DMA_SPI3_RX0 16 | ||
39 | #define OMAP44XX_DMA_MCBSP2_TX 17 | ||
40 | #define OMAP44XX_DMA_MCBSP2_RX 18 | ||
41 | #define OMAP44XX_DMA_MCBSP3_TX 19 | ||
42 | #define OMAP44XX_DMA_MCBSP3_RX 20 | ||
43 | #define OMAP44XX_DMA_C2C_SSCM_GPO0 21 | ||
44 | #define OMAP44XX_DMA_C2C_SSCM_GPO1 22 | ||
45 | #define OMAP44XX_DMA_SPI3_TX1 23 | ||
46 | #define OMAP44XX_DMA_SPI3_RX1 24 | ||
47 | #define OMAP44XX_DMA_I2C3_TX 25 | ||
48 | #define OMAP44XX_DMA_I2C3_RX 26 | ||
49 | #define OMAP44XX_DMA_I2C1_TX 27 | ||
50 | #define OMAP44XX_DMA_I2C1_RX 28 | ||
51 | #define OMAP44XX_DMA_I2C2_TX 29 | ||
52 | #define OMAP44XX_DMA_I2C2_RX 30 | ||
53 | #define OMAP44XX_DMA_MCBSP4_TX 31 | ||
54 | #define OMAP44XX_DMA_MCBSP4_RX 32 | ||
55 | #define OMAP44XX_DMA_MCBSP1_TX 33 | ||
56 | #define OMAP44XX_DMA_MCBSP1_RX 34 | ||
57 | #define OMAP44XX_DMA_SPI1_TX0 35 | ||
58 | #define OMAP44XX_DMA_SPI1_RX0 36 | ||
59 | #define OMAP44XX_DMA_SPI1_TX1 37 | ||
60 | #define OMAP44XX_DMA_SPI1_RX1 38 | ||
61 | #define OMAP44XX_DMA_SPI1_TX2 39 | ||
62 | #define OMAP44XX_DMA_SPI1_RX2 40 | ||
63 | #define OMAP44XX_DMA_SPI1_TX3 41 | ||
64 | #define OMAP44XX_DMA_SPI1_RX3 42 | ||
65 | #define OMAP44XX_DMA_SPI2_TX0 43 | ||
66 | #define OMAP44XX_DMA_SPI2_RX0 44 | ||
67 | #define OMAP44XX_DMA_SPI2_TX1 45 | ||
68 | #define OMAP44XX_DMA_SPI2_RX1 46 | ||
69 | #define OMAP44XX_DMA_MMC2_TX 47 | ||
70 | #define OMAP44XX_DMA_MMC2_RX 48 | ||
71 | #define OMAP44XX_DMA_UART1_TX 49 | ||
72 | #define OMAP44XX_DMA_UART1_RX 50 | ||
73 | #define OMAP44XX_DMA_UART2_TX 51 | ||
74 | #define OMAP44XX_DMA_UART2_RX 52 | ||
75 | #define OMAP44XX_DMA_UART3_TX 53 | ||
76 | #define OMAP44XX_DMA_UART3_RX 54 | ||
77 | #define OMAP44XX_DMA_UART4_TX 55 | ||
78 | #define OMAP44XX_DMA_UART4_RX 56 | ||
79 | #define OMAP44XX_DMA_MMC4_TX 57 | ||
80 | #define OMAP44XX_DMA_MMC4_RX 58 | ||
81 | #define OMAP44XX_DMA_MMC5_TX 59 | ||
82 | #define OMAP44XX_DMA_MMC5_RX 60 | ||
83 | #define OMAP44XX_DMA_MMC1_TX 61 | ||
84 | #define OMAP44XX_DMA_MMC1_RX 62 | ||
85 | #define OMAP44XX_DMA_SYS_REQ3 64 | ||
86 | #define OMAP44XX_DMA_MCPDM_UP 65 | ||
87 | #define OMAP44XX_DMA_MCPDM_DL 66 | ||
88 | #define OMAP44XX_DMA_DMIC_REQ 67 | ||
89 | #define OMAP44XX_DMA_C2C_SSCM_GPO2 68 | ||
90 | #define OMAP44XX_DMA_C2C_SSCM_GPO3 69 | ||
91 | #define OMAP44XX_DMA_SPI4_TX0 70 | ||
92 | #define OMAP44XX_DMA_SPI4_RX0 71 | ||
93 | #define OMAP44XX_DMA_DSS_DSI1_REQ0 72 | ||
94 | #define OMAP44XX_DMA_DSS_DSI1_REQ1 73 | ||
95 | #define OMAP44XX_DMA_DSS_DSI1_REQ2 74 | ||
96 | #define OMAP44XX_DMA_DSS_DSI1_REQ3 75 | ||
97 | #define OMAP44XX_DMA_DSS_HDMI_REQ 76 | ||
98 | #define OMAP44XX_DMA_MMC3_TX 77 | ||
99 | #define OMAP44XX_DMA_MMC3_RX 78 | ||
100 | #define OMAP44XX_DMA_USIM_TX 79 | ||
101 | #define OMAP44XX_DMA_USIM_RX 80 | ||
102 | #define OMAP44XX_DMA_DSS_DSI2_REQ0 81 | ||
103 | #define OMAP44XX_DMA_DSS_DSI2_REQ1 82 | ||
104 | #define OMAP44XX_DMA_DSS_DSI2_REQ2 83 | ||
105 | #define OMAP44XX_DMA_DSS_DSI2_REQ3 84 | ||
106 | #define OMAP44XX_DMA_SLIMBUS1_TX0 85 | ||
107 | #define OMAP44XX_DMA_SLIMBUS1_TX1 86 | ||
108 | #define OMAP44XX_DMA_SLIMBUS1_TX2 87 | ||
109 | #define OMAP44XX_DMA_SLIMBUS1_TX3 88 | ||
110 | #define OMAP44XX_DMA_SLIMBUS1_RX0 89 | ||
111 | #define OMAP44XX_DMA_SLIMBUS1_RX1 90 | ||
112 | #define OMAP44XX_DMA_SLIMBUS1_RX2 91 | ||
113 | #define OMAP44XX_DMA_SLIMBUS1_RX3 92 | ||
114 | #define OMAP44XX_DMA_SLIMBUS2_TX0 93 | ||
115 | #define OMAP44XX_DMA_SLIMBUS2_TX1 94 | ||
116 | #define OMAP44XX_DMA_SLIMBUS2_TX2 95 | ||
117 | #define OMAP44XX_DMA_SLIMBUS2_TX3 96 | ||
118 | #define OMAP44XX_DMA_SLIMBUS2_RX0 97 | ||
119 | #define OMAP44XX_DMA_SLIMBUS2_RX1 98 | ||
120 | #define OMAP44XX_DMA_SLIMBUS2_RX2 99 | ||
121 | #define OMAP44XX_DMA_SLIMBUS2_RX3 100 | ||
122 | #define OMAP44XX_DMA_ABE_REQ_0 101 | ||
123 | #define OMAP44XX_DMA_ABE_REQ_1 102 | ||
124 | #define OMAP44XX_DMA_ABE_REQ_2 103 | ||
125 | #define OMAP44XX_DMA_ABE_REQ_3 104 | ||
126 | #define OMAP44XX_DMA_ABE_REQ_4 105 | ||
127 | #define OMAP44XX_DMA_ABE_REQ_5 106 | ||
128 | #define OMAP44XX_DMA_ABE_REQ_6 107 | ||
129 | #define OMAP44XX_DMA_ABE_REQ_7 108 | ||
130 | #define OMAP44XX_DMA_AES1_P_CTX_IN_REQ 109 | ||
131 | #define OMAP44XX_DMA_AES1_P_DATA_IN_REQ 110 | ||
132 | #define OMAP44XX_DMA_AES1_P_DATA_OUT_REQ 111 | ||
133 | #define OMAP44XX_DMA_AES2_P_CTX_IN_REQ 112 | ||
134 | #define OMAP44XX_DMA_AES2_P_DATA_IN_REQ 113 | ||
135 | #define OMAP44XX_DMA_AES2_P_DATA_OUT_REQ 114 | ||
136 | #define OMAP44XX_DMA_DES_P_CTX_IN_REQ 115 | ||
137 | #define OMAP44XX_DMA_DES_P_DATA_IN_REQ 116 | ||
138 | #define OMAP44XX_DMA_DES_P_DATA_OUT_REQ 117 | ||
139 | #define OMAP44XX_DMA_SHA2_CTXIN_P 118 | ||
140 | #define OMAP44XX_DMA_SHA2_DIN_P 119 | ||
141 | #define OMAP44XX_DMA_SHA2_CTXOUT_P 120 | ||
142 | #define OMAP44XX_DMA_AES1_P_CONTEXT_OUT_REQ 121 | ||
143 | #define OMAP44XX_DMA_AES2_P_CONTEXT_OUT_REQ 122 | ||
144 | #define OMAP44XX_DMA_I2C4_TX 124 | ||
145 | #define OMAP44XX_DMA_I2C4_RX 125 | ||
146 | |||
147 | #endif | ||
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index db3115d16cde..649a146e1382 100644 --- a/drivers/crypto/omap-aes.c +++ b/drivers/crypto/omap-aes.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <crypto/scatterwalk.h> | 29 | #include <crypto/scatterwalk.h> |
30 | #include <crypto/aes.h> | 30 | #include <crypto/aes.h> |
31 | 31 | ||
32 | #include <plat/dma.h> | 32 | #include <plat-omap/dma-omap.h> |
33 | 33 | ||
34 | /* OMAP TRM gives bitfields as start:end, where start is the higher bit | 34 | /* OMAP TRM gives bitfields as start:end, where start is the higher bit |
35 | number. For example 7:0 */ | 35 | number. For example 7:0 */ |
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index f50387c4ef89..d76fe06b9417 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <crypto/hash.h> | 37 | #include <crypto/hash.h> |
38 | #include <crypto/internal/hash.h> | 38 | #include <crypto/internal/hash.h> |
39 | 39 | ||
40 | #include <plat/dma.h> | 40 | #include <plat-omap/dma-omap.h> |
41 | #include <mach/irqs.h> | 41 | #include <mach/irqs.h> |
42 | 42 | ||
43 | #define SHA_REG_DIGEST(x) (0x00 + ((x) * 0x04)) | 43 | #define SHA_REG_DIGEST(x) (0x00 + ((x) * 0x04)) |
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 30abe7b36aaa..56d925312a5c 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include "virt-dma.h" | 20 | #include "virt-dma.h" |
21 | 21 | ||
22 | #include <plat/dma.h> | 22 | #include <plat-omap/dma-omap.h> |
23 | 23 | ||
24 | #ifdef CONFIG_ARCH_OMAP2PLUS | 24 | #ifdef CONFIG_ARCH_OMAP2PLUS |
25 | #define dma_omap2plus() 1 | 25 | #define dma_omap2plus() 1 |
diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c index a3b1a34c896d..1bd6a2ec95a3 100644 --- a/drivers/media/platform/omap/omap_vout.c +++ b/drivers/media/platform/omap/omap_vout.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <media/v4l2-ioctl.h> | 45 | #include <media/v4l2-ioctl.h> |
46 | 46 | ||
47 | #include <plat/cpu.h> | 47 | #include <plat/cpu.h> |
48 | #include <plat/dma.h> | 48 | #include <plat-omap/dma-omap.h> |
49 | #include <plat/vrfb.h> | 49 | #include <plat/vrfb.h> |
50 | #include <video/omapdss.h> | 50 | #include <video/omapdss.h> |
51 | 51 | ||
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index 4be26abf6cea..bed4cbb18ef5 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c | |||
@@ -16,12 +16,14 @@ | |||
16 | #include <media/videobuf-dma-contig.h> | 16 | #include <media/videobuf-dma-contig.h> |
17 | #include <media/v4l2-device.h> | 17 | #include <media/v4l2-device.h> |
18 | 18 | ||
19 | #include <plat/dma.h> | 19 | #include <plat-omap/dma-omap.h> |
20 | #include <plat/vrfb.h> | 20 | #include <plat/vrfb.h> |
21 | 21 | ||
22 | #include "omap_voutdef.h" | 22 | #include "omap_voutdef.h" |
23 | #include "omap_voutlib.h" | 23 | #include "omap_voutlib.h" |
24 | 24 | ||
25 | #define OMAP_DMA_NO_DEVICE 0 | ||
26 | |||
25 | /* | 27 | /* |
26 | * Function for allocating video buffers | 28 | * Function for allocating video buffers |
27 | */ | 29 | */ |
diff --git a/drivers/media/platform/omap3isp/isphist.c b/drivers/media/platform/omap3isp/isphist.c index d1a8dee5e1ca..e7f9c4292cc6 100644 --- a/drivers/media/platform/omap3isp/isphist.c +++ b/drivers/media/platform/omap3isp/isphist.c | |||
@@ -34,6 +34,8 @@ | |||
34 | #include "ispreg.h" | 34 | #include "ispreg.h" |
35 | #include "isphist.h" | 35 | #include "isphist.h" |
36 | 36 | ||
37 | #define OMAP24XX_DMA_NO_DEVICE 0 | ||
38 | |||
37 | #define HIST_CONFIG_DMA 1 | 39 | #define HIST_CONFIG_DMA 1 |
38 | 40 | ||
39 | #define HIST_USING_DMA(hist) ((hist)->dma_ch >= 0) | 41 | #define HIST_USING_DMA(hist) ((hist)->dma_ch >= 0) |
diff --git a/drivers/media/platform/omap3isp/ispstat.h b/drivers/media/platform/omap3isp/ispstat.h index a6fe653eb237..40f87cdd7994 100644 --- a/drivers/media/platform/omap3isp/ispstat.h +++ b/drivers/media/platform/omap3isp/ispstat.h | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include <linux/types.h> | 31 | #include <linux/types.h> |
32 | #include <linux/omap3isp.h> | 32 | #include <linux/omap3isp.h> |
33 | #include <plat/dma.h> | 33 | #include <plat-omap/dma-omap.h> |
34 | #include <media/v4l2-event.h> | 34 | #include <media/v4l2-event.h> |
35 | 35 | ||
36 | #include "isp.h" | 36 | #include "isp.h" |
diff --git a/drivers/media/platform/soc_camera/omap1_camera.c b/drivers/media/platform/soc_camera/omap1_camera.c index fa08c7695ccb..cae9ce6275e9 100644 --- a/drivers/media/platform/soc_camera/omap1_camera.c +++ b/drivers/media/platform/soc_camera/omap1_camera.c | |||
@@ -34,12 +34,13 @@ | |||
34 | #include <media/videobuf-dma-contig.h> | 34 | #include <media/videobuf-dma-contig.h> |
35 | #include <media/videobuf-dma-sg.h> | 35 | #include <media/videobuf-dma-sg.h> |
36 | 36 | ||
37 | #include <plat/dma.h> | 37 | #include <plat-omap/dma-omap.h> |
38 | 38 | ||
39 | 39 | ||
40 | #define DRIVER_NAME "omap1-camera" | 40 | #define DRIVER_NAME "omap1-camera" |
41 | #define DRIVER_VERSION "0.0.2" | 41 | #define DRIVER_VERSION "0.0.2" |
42 | 42 | ||
43 | #define OMAP_DMA_CAMERA_IF_RX 20 | ||
43 | 44 | ||
44 | /* | 45 | /* |
45 | * --------------------------------------------------------------------------- | 46 | * --------------------------------------------------------------------------- |
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 48ad361613ef..c59c4d25165c 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | 31 | ||
32 | #include <plat/mmc.h> | 32 | #include <plat/mmc.h> |
33 | #include <plat/dma.h> | 33 | #include <plat-omap/dma-omap.h> |
34 | 34 | ||
35 | #define OMAP_MMC_REG_CMD 0x00 | 35 | #define OMAP_MMC_REG_CMD 0x00 |
36 | #define OMAP_MMC_REG_ARGL 0x01 | 36 | #define OMAP_MMC_REG_ARGL 0x01 |
@@ -84,6 +84,16 @@ | |||
84 | #define OMAP_MMC_CMDTYPE_AC 2 | 84 | #define OMAP_MMC_CMDTYPE_AC 2 |
85 | #define OMAP_MMC_CMDTYPE_ADTC 3 | 85 | #define OMAP_MMC_CMDTYPE_ADTC 3 |
86 | 86 | ||
87 | #define OMAP_DMA_MMC_TX 21 | ||
88 | #define OMAP_DMA_MMC_RX 22 | ||
89 | #define OMAP_DMA_MMC2_TX 54 | ||
90 | #define OMAP_DMA_MMC2_RX 55 | ||
91 | |||
92 | #define OMAP24XX_DMA_MMC2_TX 47 | ||
93 | #define OMAP24XX_DMA_MMC2_RX 48 | ||
94 | #define OMAP24XX_DMA_MMC1_TX 61 | ||
95 | #define OMAP24XX_DMA_MMC1_RX 62 | ||
96 | |||
87 | 97 | ||
88 | #define DRIVER_NAME "mmci-omap" | 98 | #define DRIVER_NAME "mmci-omap" |
89 | 99 | ||
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 5b3138620646..2cbdb8e17c74 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/bch.h> | 27 | #include <linux/bch.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #include <plat/dma.h> | 30 | #include <plat-omap/dma-omap.h> |
31 | #include <plat/gpmc.h> | 31 | #include <plat/gpmc.h> |
32 | #include <linux/platform_data/mtd-nand-omap2.h> | 32 | #include <linux/platform_data/mtd-nand-omap2.h> |
33 | 33 | ||
@@ -111,6 +111,8 @@ | |||
111 | #define ECCCLEAR 0x100 | 111 | #define ECCCLEAR 0x100 |
112 | #define ECC1 0x1 | 112 | #define ECC1 0x1 |
113 | 113 | ||
114 | #define OMAP24XX_DMA_GPMC 4 | ||
115 | |||
114 | /* oob info generated runtime depending on ecc algorithm and layout selected */ | 116 | /* oob info generated runtime depending on ecc algorithm and layout selected */ |
115 | static struct nand_ecclayout omap_oobinfo; | 117 | static struct nand_ecclayout omap_oobinfo; |
116 | /* Define some generic bad / good block scan pattern which are used | 118 | /* Define some generic bad / good block scan pattern which are used |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 1961be985171..b846eafa2f09 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/platform_data/mtd-onenand-omap2.h> | 42 | #include <linux/platform_data/mtd-onenand-omap2.h> |
43 | #include <asm/gpio.h> | 43 | #include <asm/gpio.h> |
44 | 44 | ||
45 | #include <plat/dma.h> | 45 | #include <plat-omap/dma-omap.h> |
46 | #include <plat/cpu.h> | 46 | #include <plat/cpu.h> |
47 | 47 | ||
48 | #define DRIVER_NAME "omap2-onenand" | 48 | #define DRIVER_NAME "omap2-onenand" |
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 2a4749c3eb3f..23afa06b65a4 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
45 | #include <asm/mach-types.h> | 45 | #include <asm/mach-types.h> |
46 | 46 | ||
47 | #include <plat/dma.h> | 47 | #include <plat-omap/dma-omap.h> |
48 | 48 | ||
49 | #include <mach/usb.h> | 49 | #include <mach/usb.h> |
50 | 50 | ||
@@ -61,6 +61,8 @@ | |||
61 | #define DRIVER_DESC "OMAP UDC driver" | 61 | #define DRIVER_DESC "OMAP UDC driver" |
62 | #define DRIVER_VERSION "4 October 2004" | 62 | #define DRIVER_VERSION "4 October 2004" |
63 | 63 | ||
64 | #define OMAP_DMA_USB_W2FC_TX0 29 | ||
65 | |||
64 | /* | 66 | /* |
65 | * The OMAP UDC needs _very_ early endpoint setup: before enabling the | 67 | * The OMAP UDC needs _very_ early endpoint setup: before enabling the |
66 | * D+ pullup to allow enumeration. That's too early for the gadget | 68 | * D+ pullup to allow enumeration. That's too early for the gadget |
diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index 7a62b95dac24..bfca114f7c56 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/dma-mapping.h> | 17 | #include <linux/dma-mapping.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <plat/dma.h> | 19 | #include <plat-omap/dma-omap.h> |
20 | 20 | ||
21 | #include "musb_core.h" | 21 | #include "musb_core.h" |
22 | #include "tusb6010.h" | 22 | #include "tusb6010.h" |
@@ -25,6 +25,13 @@ | |||
25 | 25 | ||
26 | #define MAX_DMAREQ 5 /* REVISIT: Really 6, but req5 not OK */ | 26 | #define MAX_DMAREQ 5 /* REVISIT: Really 6, but req5 not OK */ |
27 | 27 | ||
28 | #define OMAP24XX_DMA_EXT_DMAREQ0 2 | ||
29 | #define OMAP24XX_DMA_EXT_DMAREQ1 3 | ||
30 | #define OMAP242X_DMA_EXT_DMAREQ2 14 | ||
31 | #define OMAP242X_DMA_EXT_DMAREQ3 15 | ||
32 | #define OMAP242X_DMA_EXT_DMAREQ4 16 | ||
33 | #define OMAP242X_DMA_EXT_DMAREQ5 64 | ||
34 | |||
28 | struct tusb_omap_dma_ch { | 35 | struct tusb_omap_dma_ch { |
29 | struct musb *musb; | 36 | struct musb *musb; |
30 | void __iomem *tbase; | 37 | void __iomem *tbase; |
diff --git a/drivers/video/omap/lcdc.c b/drivers/video/omap/lcdc.c index 7767338f8b14..c39d6e46f8c5 100644 --- a/drivers/video/omap/lcdc.c +++ b/drivers/video/omap/lcdc.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/gfp.h> | 31 | #include <linux/gfp.h> |
32 | 32 | ||
33 | #include <mach/lcdc.h> | 33 | #include <mach/lcdc.h> |
34 | #include <plat/dma.h> | 34 | #include <plat-omap/dma-omap.h> |
35 | 35 | ||
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | 37 | ||
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index 4351c438b76f..1b5ee8ec192a 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | 32 | ||
33 | #include <plat/dma.h> | 33 | #include <plat-omap/dma-omap.h> |
34 | 34 | ||
35 | #include "omapfb.h" | 35 | #include "omapfb.h" |
36 | #include "lcdc.h" | 36 | #include "lcdc.h" |
diff --git a/drivers/video/omap/sossi.c b/drivers/video/omap/sossi.c index f79c137753d7..c510a4457398 100644 --- a/drivers/video/omap/sossi.c +++ b/drivers/video/omap/sossi.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
27 | 27 | ||
28 | #include <plat/dma.h> | 28 | #include <plat-omap/dma-omap.h> |
29 | 29 | ||
30 | #include "omapfb.h" | 30 | #include "omapfb.h" |
31 | #include "lcdc.h" | 31 | #include "lcdc.h" |