diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-17 21:40:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-17 21:40:24 -0500 |
commit | 57f2685c16fa8e0cb86e4bc7c8ac33bfed943819 (patch) | |
tree | 96a42fe632687c8486c250c4805bf1d4c9c34d19 /arch/arm/plat-nomadik | |
parent | 488a9d018256dc9f29e041c0360445b6d25eea9a (diff) | |
parent | e08b881a69d638175bfa99b5af4d72b731633ea7 (diff) |
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
* 'next' of git://git.infradead.org/users/vkoul/slave-dma: (53 commits)
ARM: mach-shmobile: specify CHCLR registers on SH7372
dma: shdma: fix runtime PM: clear channel buffers on reset
dma/imx-sdma: save irq flags when use spin_lock in sdma_tx_submit
dmaengine/ste_dma40: clear LNK on channel startup
dmaengine: intel_mid_dma: remove legacy pm interface
ASoC: mxs: correct 'direction' of device_prep_dma_cyclic
dmaengine: intel_mid_dma: error path fix
dmaengine: intel_mid_dma: locking and freeing fixes
mtd: gpmi-nand: move to dma_transfer_direction
mtd: fix compile error for gpmi-nand
mmc: mxs-mmc: fix the dma_transfer_direction migration
dmaengine: add DMA_TRANS_NONE to dma_transfer_direction
dma: mxs-dma: Don't use CLKGATE bits in CTRL0 to disable DMA channels
dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe
dma: mxs-dma: Always leave mxs_dma_init() with the clock disabled.
dma: mxs-dma: fix a typo in comment
DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove
video i.MX IPU: Fix display connections
i.MX IPU DMA: Fix wrong burstsize settings
dmaengine/ste_dma40: allow fixed physical channel
...
Fix up conflicts in drivers/dma/{Kconfig,mxs-dma.c,pl330.c}
The conflicts looked pretty trivial, but I'll ask people to verify them.
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/ste_dma40.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h index 685c78716d95..fd0ee84c45d1 100644 --- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h +++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h | |||
@@ -113,7 +113,8 @@ struct stedma40_half_channel_info { | |||
113 | * @dst_dev_type: Dst device type | 113 | * @dst_dev_type: Dst device type |
114 | * @src_info: Parameters for dst half channel | 114 | * @src_info: Parameters for dst half channel |
115 | * @dst_info: Parameters for dst half channel | 115 | * @dst_info: Parameters for dst half channel |
116 | * | 116 | * @use_fixed_channel: if true, use physical channel specified by phy_channel |
117 | * @phy_channel: physical channel to use, only if use_fixed_channel is true | ||
117 | * | 118 | * |
118 | * This structure has to be filled by the client drivers. | 119 | * This structure has to be filled by the client drivers. |
119 | * It is recommended to do all dma configurations for clients in the machine. | 120 | * It is recommended to do all dma configurations for clients in the machine. |
@@ -129,6 +130,9 @@ struct stedma40_chan_cfg { | |||
129 | int dst_dev_type; | 130 | int dst_dev_type; |
130 | struct stedma40_half_channel_info src_info; | 131 | struct stedma40_half_channel_info src_info; |
131 | struct stedma40_half_channel_info dst_info; | 132 | struct stedma40_half_channel_info dst_info; |
133 | |||
134 | bool use_fixed_channel; | ||
135 | int phy_channel; | ||
132 | }; | 136 | }; |
133 | 137 | ||
134 | /** | 138 | /** |
@@ -153,6 +157,7 @@ struct stedma40_platform_data { | |||
153 | struct stedma40_chan_cfg *memcpy_conf_phy; | 157 | struct stedma40_chan_cfg *memcpy_conf_phy; |
154 | struct stedma40_chan_cfg *memcpy_conf_log; | 158 | struct stedma40_chan_cfg *memcpy_conf_log; |
155 | int disabled_channels[STEDMA40_MAX_PHYS]; | 159 | int disabled_channels[STEDMA40_MAX_PHYS]; |
160 | bool use_esram_lcla; | ||
156 | }; | 161 | }; |
157 | 162 | ||
158 | #ifdef CONFIG_STE_DMA40 | 163 | #ifdef CONFIG_STE_DMA40 |
@@ -187,7 +192,7 @@ static inline struct | |||
187 | dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, | 192 | dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, |
188 | dma_addr_t addr, | 193 | dma_addr_t addr, |
189 | unsigned int size, | 194 | unsigned int size, |
190 | enum dma_data_direction direction, | 195 | enum dma_transfer_direction direction, |
191 | unsigned long flags) | 196 | unsigned long flags) |
192 | { | 197 | { |
193 | struct scatterlist sg; | 198 | struct scatterlist sg; |
@@ -209,7 +214,7 @@ static inline struct | |||
209 | dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, | 214 | dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, |
210 | dma_addr_t addr, | 215 | dma_addr_t addr, |
211 | unsigned int size, | 216 | unsigned int size, |
212 | enum dma_data_direction direction, | 217 | enum dma_transfer_direction direction, |
213 | unsigned long flags) | 218 | unsigned long flags) |
214 | { | 219 | { |
215 | return NULL; | 220 | return NULL; |