diff options
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-audio.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sdi.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 22 | ||||
-rw-r--r-- | arch/arm/mach-ux500/usb.c | 4 |
4 files changed, 27 insertions, 27 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-audio.c b/arch/arm/mach-ux500/board-mop500-audio.c index ec872622340f..bfe443daf4b0 100644 --- a/arch/arm/mach-ux500/board-mop500-audio.c +++ b/arch/arm/mach-ux500/board-mop500-audio.c | |||
@@ -21,13 +21,13 @@ | |||
21 | 21 | ||
22 | static struct stedma40_chan_cfg msp0_dma_rx = { | 22 | static struct stedma40_chan_cfg msp0_dma_rx = { |
23 | .high_priority = true, | 23 | .high_priority = true, |
24 | .dir = STEDMA40_PERIPH_TO_MEM, | 24 | .dir = DMA_DEV_TO_MEM, |
25 | .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0, | 25 | .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0, |
26 | }; | 26 | }; |
27 | 27 | ||
28 | static struct stedma40_chan_cfg msp0_dma_tx = { | 28 | static struct stedma40_chan_cfg msp0_dma_tx = { |
29 | .high_priority = true, | 29 | .high_priority = true, |
30 | .dir = STEDMA40_MEM_TO_PERIPH, | 30 | .dir = DMA_MEM_TO_DEV, |
31 | .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0, | 31 | .dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0, |
32 | }; | 32 | }; |
33 | 33 | ||
@@ -39,13 +39,13 @@ struct msp_i2s_platform_data msp0_platform_data = { | |||
39 | 39 | ||
40 | static struct stedma40_chan_cfg msp1_dma_rx = { | 40 | static struct stedma40_chan_cfg msp1_dma_rx = { |
41 | .high_priority = true, | 41 | .high_priority = true, |
42 | .dir = STEDMA40_PERIPH_TO_MEM, | 42 | .dir = DMA_DEV_TO_MEM, |
43 | .dev_type = DB8500_DMA_DEV30_MSP3, | 43 | .dev_type = DB8500_DMA_DEV30_MSP3, |
44 | }; | 44 | }; |
45 | 45 | ||
46 | static struct stedma40_chan_cfg msp1_dma_tx = { | 46 | static struct stedma40_chan_cfg msp1_dma_tx = { |
47 | .high_priority = true, | 47 | .high_priority = true, |
48 | .dir = STEDMA40_MEM_TO_PERIPH, | 48 | .dir = DMA_MEM_TO_DEV, |
49 | .dev_type = DB8500_DMA_DEV30_MSP1, | 49 | .dev_type = DB8500_DMA_DEV30_MSP1, |
50 | }; | 50 | }; |
51 | 51 | ||
@@ -57,13 +57,13 @@ struct msp_i2s_platform_data msp1_platform_data = { | |||
57 | 57 | ||
58 | static struct stedma40_chan_cfg msp2_dma_rx = { | 58 | static struct stedma40_chan_cfg msp2_dma_rx = { |
59 | .high_priority = true, | 59 | .high_priority = true, |
60 | .dir = STEDMA40_PERIPH_TO_MEM, | 60 | .dir = DMA_DEV_TO_MEM, |
61 | .dev_type = DB8500_DMA_DEV14_MSP2, | 61 | .dev_type = DB8500_DMA_DEV14_MSP2, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static struct stedma40_chan_cfg msp2_dma_tx = { | 64 | static struct stedma40_chan_cfg msp2_dma_tx = { |
65 | .high_priority = true, | 65 | .high_priority = true, |
66 | .dir = STEDMA40_MEM_TO_PERIPH, | 66 | .dir = DMA_MEM_TO_DEV, |
67 | .dev_type = DB8500_DMA_DEV14_MSP2, | 67 | .dev_type = DB8500_DMA_DEV14_MSP2, |
68 | .use_fixed_channel = true, | 68 | .use_fixed_channel = true, |
69 | .phy_channel = 1, | 69 | .phy_channel = 1, |
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 29be714b8a73..e6891d1933fa 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c | |||
@@ -34,13 +34,13 @@ | |||
34 | #ifdef CONFIG_STE_DMA40 | 34 | #ifdef CONFIG_STE_DMA40 |
35 | struct stedma40_chan_cfg mop500_sdi0_dma_cfg_rx = { | 35 | struct stedma40_chan_cfg mop500_sdi0_dma_cfg_rx = { |
36 | .mode = STEDMA40_MODE_LOGICAL, | 36 | .mode = STEDMA40_MODE_LOGICAL, |
37 | .dir = STEDMA40_PERIPH_TO_MEM, | 37 | .dir = DMA_DEV_TO_MEM, |
38 | .dev_type = DB8500_DMA_DEV29_SD_MM0, | 38 | .dev_type = DB8500_DMA_DEV29_SD_MM0, |
39 | }; | 39 | }; |
40 | 40 | ||
41 | static struct stedma40_chan_cfg mop500_sdi0_dma_cfg_tx = { | 41 | static struct stedma40_chan_cfg mop500_sdi0_dma_cfg_tx = { |
42 | .mode = STEDMA40_MODE_LOGICAL, | 42 | .mode = STEDMA40_MODE_LOGICAL, |
43 | .dir = STEDMA40_MEM_TO_PERIPH, | 43 | .dir = DMA_MEM_TO_DEV, |
44 | .dev_type = DB8500_DMA_DEV29_SD_MM0, | 44 | .dev_type = DB8500_DMA_DEV29_SD_MM0, |
45 | }; | 45 | }; |
46 | #endif | 46 | #endif |
@@ -81,13 +81,13 @@ void mop500_sdi_tc35892_init(struct device *parent) | |||
81 | #ifdef CONFIG_STE_DMA40 | 81 | #ifdef CONFIG_STE_DMA40 |
82 | static struct stedma40_chan_cfg sdi1_dma_cfg_rx = { | 82 | static struct stedma40_chan_cfg sdi1_dma_cfg_rx = { |
83 | .mode = STEDMA40_MODE_LOGICAL, | 83 | .mode = STEDMA40_MODE_LOGICAL, |
84 | .dir = STEDMA40_PERIPH_TO_MEM, | 84 | .dir = DMA_DEV_TO_MEM, |
85 | .dev_type = DB8500_DMA_DEV32_SD_MM1, | 85 | .dev_type = DB8500_DMA_DEV32_SD_MM1, |
86 | }; | 86 | }; |
87 | 87 | ||
88 | static struct stedma40_chan_cfg sdi1_dma_cfg_tx = { | 88 | static struct stedma40_chan_cfg sdi1_dma_cfg_tx = { |
89 | .mode = STEDMA40_MODE_LOGICAL, | 89 | .mode = STEDMA40_MODE_LOGICAL, |
90 | .dir = STEDMA40_MEM_TO_PERIPH, | 90 | .dir = DMA_MEM_TO_DEV, |
91 | .dev_type = DB8500_DMA_DEV32_SD_MM1, | 91 | .dev_type = DB8500_DMA_DEV32_SD_MM1, |
92 | }; | 92 | }; |
93 | #endif | 93 | #endif |
@@ -112,13 +112,13 @@ struct mmci_platform_data mop500_sdi1_data = { | |||
112 | #ifdef CONFIG_STE_DMA40 | 112 | #ifdef CONFIG_STE_DMA40 |
113 | struct stedma40_chan_cfg mop500_sdi2_dma_cfg_rx = { | 113 | struct stedma40_chan_cfg mop500_sdi2_dma_cfg_rx = { |
114 | .mode = STEDMA40_MODE_LOGICAL, | 114 | .mode = STEDMA40_MODE_LOGICAL, |
115 | .dir = STEDMA40_PERIPH_TO_MEM, | 115 | .dir = DMA_DEV_TO_MEM, |
116 | .dev_type = DB8500_DMA_DEV28_SD_MM2, | 116 | .dev_type = DB8500_DMA_DEV28_SD_MM2, |
117 | }; | 117 | }; |
118 | 118 | ||
119 | static struct stedma40_chan_cfg mop500_sdi2_dma_cfg_tx = { | 119 | static struct stedma40_chan_cfg mop500_sdi2_dma_cfg_tx = { |
120 | .mode = STEDMA40_MODE_LOGICAL, | 120 | .mode = STEDMA40_MODE_LOGICAL, |
121 | .dir = STEDMA40_MEM_TO_PERIPH, | 121 | .dir = DMA_MEM_TO_DEV, |
122 | .dev_type = DB8500_DMA_DEV28_SD_MM2, | 122 | .dev_type = DB8500_DMA_DEV28_SD_MM2, |
123 | }; | 123 | }; |
124 | #endif | 124 | #endif |
@@ -144,13 +144,13 @@ struct mmci_platform_data mop500_sdi2_data = { | |||
144 | #ifdef CONFIG_STE_DMA40 | 144 | #ifdef CONFIG_STE_DMA40 |
145 | struct stedma40_chan_cfg mop500_sdi4_dma_cfg_rx = { | 145 | struct stedma40_chan_cfg mop500_sdi4_dma_cfg_rx = { |
146 | .mode = STEDMA40_MODE_LOGICAL, | 146 | .mode = STEDMA40_MODE_LOGICAL, |
147 | .dir = STEDMA40_PERIPH_TO_MEM, | 147 | .dir = DMA_DEV_TO_MEM, |
148 | .dev_type = DB8500_DMA_DEV42_SD_MM4, | 148 | .dev_type = DB8500_DMA_DEV42_SD_MM4, |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static struct stedma40_chan_cfg mop500_sdi4_dma_cfg_tx = { | 151 | static struct stedma40_chan_cfg mop500_sdi4_dma_cfg_tx = { |
152 | .mode = STEDMA40_MODE_LOGICAL, | 152 | .mode = STEDMA40_MODE_LOGICAL, |
153 | .dir = STEDMA40_MEM_TO_PERIPH, | 153 | .dir = DMA_MEM_TO_DEV, |
154 | .dev_type = DB8500_DMA_DEV42_SD_MM4, | 154 | .dev_type = DB8500_DMA_DEV42_SD_MM4, |
155 | }; | 155 | }; |
156 | #endif | 156 | #endif |
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 3507399d8909..fcf06accb66c 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -424,19 +424,19 @@ void mop500_snowball_ethernet_clock_enable(void) | |||
424 | 424 | ||
425 | static struct cryp_platform_data u8500_cryp1_platform_data = { | 425 | static struct cryp_platform_data u8500_cryp1_platform_data = { |
426 | .mem_to_engine = { | 426 | .mem_to_engine = { |
427 | .dir = STEDMA40_MEM_TO_PERIPH, | 427 | .dir = DMA_MEM_TO_DEV, |
428 | .dev_type = DB8500_DMA_DEV48_CAC1, | 428 | .dev_type = DB8500_DMA_DEV48_CAC1, |
429 | .mode = STEDMA40_MODE_LOGICAL, | 429 | .mode = STEDMA40_MODE_LOGICAL, |
430 | }, | 430 | }, |
431 | .engine_to_mem = { | 431 | .engine_to_mem = { |
432 | .dir = STEDMA40_PERIPH_TO_MEM, | 432 | .dir = DMA_DEV_TO_MEM, |
433 | .dev_type = DB8500_DMA_DEV48_CAC1, | 433 | .dev_type = DB8500_DMA_DEV48_CAC1, |
434 | .mode = STEDMA40_MODE_LOGICAL, | 434 | .mode = STEDMA40_MODE_LOGICAL, |
435 | } | 435 | } |
436 | }; | 436 | }; |
437 | 437 | ||
438 | static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx = { | 438 | static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx = { |
439 | .dir = STEDMA40_MEM_TO_PERIPH, | 439 | .dir = DMA_MEM_TO_DEV, |
440 | .dev_type = DB8500_DMA_DEV50_HAC1_TX, | 440 | .dev_type = DB8500_DMA_DEV50_HAC1_TX, |
441 | .mode = STEDMA40_MODE_LOGICAL, | 441 | .mode = STEDMA40_MODE_LOGICAL, |
442 | }; | 442 | }; |
@@ -455,13 +455,13 @@ static struct platform_device *mop500_platform_devs[] __initdata = { | |||
455 | #ifdef CONFIG_STE_DMA40 | 455 | #ifdef CONFIG_STE_DMA40 |
456 | static struct stedma40_chan_cfg ssp0_dma_cfg_rx = { | 456 | static struct stedma40_chan_cfg ssp0_dma_cfg_rx = { |
457 | .mode = STEDMA40_MODE_LOGICAL, | 457 | .mode = STEDMA40_MODE_LOGICAL, |
458 | .dir = STEDMA40_PERIPH_TO_MEM, | 458 | .dir = DMA_DEV_TO_MEM, |
459 | .dev_type = DB8500_DMA_DEV8_SSP0, | 459 | .dev_type = DB8500_DMA_DEV8_SSP0, |
460 | }; | 460 | }; |
461 | 461 | ||
462 | static struct stedma40_chan_cfg ssp0_dma_cfg_tx = { | 462 | static struct stedma40_chan_cfg ssp0_dma_cfg_tx = { |
463 | .mode = STEDMA40_MODE_LOGICAL, | 463 | .mode = STEDMA40_MODE_LOGICAL, |
464 | .dir = STEDMA40_MEM_TO_PERIPH, | 464 | .dir = DMA_MEM_TO_DEV, |
465 | .dev_type = DB8500_DMA_DEV8_SSP0, | 465 | .dev_type = DB8500_DMA_DEV8_SSP0, |
466 | }; | 466 | }; |
467 | #endif | 467 | #endif |
@@ -490,37 +490,37 @@ static void __init mop500_spi_init(struct device *parent) | |||
490 | #ifdef CONFIG_STE_DMA40 | 490 | #ifdef CONFIG_STE_DMA40 |
491 | static struct stedma40_chan_cfg uart0_dma_cfg_rx = { | 491 | static struct stedma40_chan_cfg uart0_dma_cfg_rx = { |
492 | .mode = STEDMA40_MODE_LOGICAL, | 492 | .mode = STEDMA40_MODE_LOGICAL, |
493 | .dir = STEDMA40_PERIPH_TO_MEM, | 493 | .dir = DMA_DEV_TO_MEM, |
494 | .dev_type = DB8500_DMA_DEV13_UART0, | 494 | .dev_type = DB8500_DMA_DEV13_UART0, |
495 | }; | 495 | }; |
496 | 496 | ||
497 | static struct stedma40_chan_cfg uart0_dma_cfg_tx = { | 497 | static struct stedma40_chan_cfg uart0_dma_cfg_tx = { |
498 | .mode = STEDMA40_MODE_LOGICAL, | 498 | .mode = STEDMA40_MODE_LOGICAL, |
499 | .dir = STEDMA40_MEM_TO_PERIPH, | 499 | .dir = DMA_MEM_TO_DEV, |
500 | .dev_type = DB8500_DMA_DEV13_UART0, | 500 | .dev_type = DB8500_DMA_DEV13_UART0, |
501 | }; | 501 | }; |
502 | 502 | ||
503 | static struct stedma40_chan_cfg uart1_dma_cfg_rx = { | 503 | static struct stedma40_chan_cfg uart1_dma_cfg_rx = { |
504 | .mode = STEDMA40_MODE_LOGICAL, | 504 | .mode = STEDMA40_MODE_LOGICAL, |
505 | .dir = STEDMA40_PERIPH_TO_MEM, | 505 | .dir = DMA_DEV_TO_MEM, |
506 | .dev_type = DB8500_DMA_DEV12_UART1, | 506 | .dev_type = DB8500_DMA_DEV12_UART1, |
507 | }; | 507 | }; |
508 | 508 | ||
509 | static struct stedma40_chan_cfg uart1_dma_cfg_tx = { | 509 | static struct stedma40_chan_cfg uart1_dma_cfg_tx = { |
510 | .mode = STEDMA40_MODE_LOGICAL, | 510 | .mode = STEDMA40_MODE_LOGICAL, |
511 | .dir = STEDMA40_MEM_TO_PERIPH, | 511 | .dir = DMA_MEM_TO_DEV, |
512 | .dev_type = DB8500_DMA_DEV12_UART1, | 512 | .dev_type = DB8500_DMA_DEV12_UART1, |
513 | }; | 513 | }; |
514 | 514 | ||
515 | static struct stedma40_chan_cfg uart2_dma_cfg_rx = { | 515 | static struct stedma40_chan_cfg uart2_dma_cfg_rx = { |
516 | .mode = STEDMA40_MODE_LOGICAL, | 516 | .mode = STEDMA40_MODE_LOGICAL, |
517 | .dir = STEDMA40_PERIPH_TO_MEM, | 517 | .dir = DMA_DEV_TO_MEM, |
518 | .dev_type = DB8500_DMA_DEV11_UART2, | 518 | .dev_type = DB8500_DMA_DEV11_UART2, |
519 | }; | 519 | }; |
520 | 520 | ||
521 | static struct stedma40_chan_cfg uart2_dma_cfg_tx = { | 521 | static struct stedma40_chan_cfg uart2_dma_cfg_tx = { |
522 | .mode = STEDMA40_MODE_LOGICAL, | 522 | .mode = STEDMA40_MODE_LOGICAL, |
523 | .dir = STEDMA40_MEM_TO_PERIPH, | 523 | .dir = DMA_MEM_TO_DEV, |
524 | .dev_type = DB8500_DMA_DEV11_UART2, | 524 | .dev_type = DB8500_DMA_DEV11_UART2, |
525 | }; | 525 | }; |
526 | #endif | 526 | #endif |
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c index 2f9abe99dfaa..b7bd8d3a5507 100644 --- a/arch/arm/mach-ux500/usb.c +++ b/arch/arm/mach-ux500/usb.c | |||
@@ -14,12 +14,12 @@ | |||
14 | 14 | ||
15 | #define MUSB_DMA40_RX_CH { \ | 15 | #define MUSB_DMA40_RX_CH { \ |
16 | .mode = STEDMA40_MODE_LOGICAL, \ | 16 | .mode = STEDMA40_MODE_LOGICAL, \ |
17 | .dir = STEDMA40_PERIPH_TO_MEM, \ | 17 | .dir = DMA_DEV_TO_MEM, \ |
18 | } | 18 | } |
19 | 19 | ||
20 | #define MUSB_DMA40_TX_CH { \ | 20 | #define MUSB_DMA40_TX_CH { \ |
21 | .mode = STEDMA40_MODE_LOGICAL, \ | 21 | .mode = STEDMA40_MODE_LOGICAL, \ |
22 | .dir = STEDMA40_MEM_TO_PERIPH, \ | 22 | .dir = DMA_MEM_TO_DEV, \ |
23 | } | 23 | } |
24 | 24 | ||
25 | static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_TX_CHANNELS] | 25 | static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_TX_CHANNELS] |