diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-ste-dma40.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h index 4b781014b0a0..288dc2420ee6 100644 --- a/include/linux/platform_data/dma-ste-dma40.h +++ b/include/linux/platform_data/dma-ste-dma40.h | |||
| @@ -86,7 +86,7 @@ enum stedma40_xfer_dir { | |||
| 86 | 86 | ||
| 87 | 87 | ||
| 88 | /** | 88 | /** |
| 89 | * struct stedma40_chan_cfg - dst/src channel configuration | 89 | * struct stedma40_half_channel_info - dst/src channel configuration |
| 90 | * | 90 | * |
| 91 | * @big_endian: true if the src/dst should be read as big endian | 91 | * @big_endian: true if the src/dst should be read as big endian |
| 92 | * @data_width: Data width of the src/dst hardware | 92 | * @data_width: Data width of the src/dst hardware |
| @@ -109,8 +109,7 @@ struct stedma40_half_channel_info { | |||
| 109 | * version 3+, i.e DB8500v2+ | 109 | * version 3+, i.e DB8500v2+ |
| 110 | * @mode: channel mode: physical, logical, or operation | 110 | * @mode: channel mode: physical, logical, or operation |
| 111 | * @mode_opt: options for the chosen channel mode | 111 | * @mode_opt: options for the chosen channel mode |
| 112 | * @src_dev_type: Src device type | 112 | * @dev_type: src/dst device type (driver uses dir to figure out which) |
| 113 | * @dst_dev_type: Dst device type | ||
| 114 | * @src_info: Parameters for dst half channel | 113 | * @src_info: Parameters for dst half channel |
| 115 | * @dst_info: Parameters for dst half channel | 114 | * @dst_info: Parameters for dst half channel |
| 116 | * @use_fixed_channel: if true, use physical channel specified by phy_channel | 115 | * @use_fixed_channel: if true, use physical channel specified by phy_channel |
| @@ -126,8 +125,7 @@ struct stedma40_chan_cfg { | |||
| 126 | bool realtime; | 125 | bool realtime; |
| 127 | enum stedma40_mode mode; | 126 | enum stedma40_mode mode; |
| 128 | enum stedma40_mode_opt mode_opt; | 127 | enum stedma40_mode_opt mode_opt; |
| 129 | int src_dev_type; | 128 | int dev_type; |
| 130 | int dst_dev_type; | ||
| 131 | struct stedma40_half_channel_info src_info; | 129 | struct stedma40_half_channel_info src_info; |
| 132 | struct stedma40_half_channel_info dst_info; | 130 | struct stedma40_half_channel_info dst_info; |
| 133 | 131 | ||
| @@ -138,13 +136,8 @@ struct stedma40_chan_cfg { | |||
| 138 | /** | 136 | /** |
| 139 | * struct stedma40_platform_data - Configuration struct for the dma device. | 137 | * struct stedma40_platform_data - Configuration struct for the dma device. |
| 140 | * | 138 | * |
| 141 | * @dev_len: length of dev_tx and dev_rx | ||
| 142 | * @dev_tx: mapping between destination event line and io address | 139 | * @dev_tx: mapping between destination event line and io address |
| 143 | * @dev_rx: mapping between source event line and io address | 140 | * @dev_rx: mapping between source event line and io address |
| 144 | * @memcpy: list of memcpy event lines | ||
| 145 | * @memcpy_len: length of memcpy | ||
| 146 | * @memcpy_conf_phy: default configuration of physical channel memcpy | ||
| 147 | * @memcpy_conf_log: default configuration of logical channel memcpy | ||
| 148 | * @disabled_channels: A vector, ending with -1, that marks physical channels | 141 | * @disabled_channels: A vector, ending with -1, that marks physical channels |
| 149 | * that are for different reasons not available for the driver. | 142 | * that are for different reasons not available for the driver. |
| 150 | * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW | 143 | * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW |
| @@ -159,13 +152,6 @@ struct stedma40_chan_cfg { | |||
| 159 | * for 'multiple of 4' channels, like 8. | 152 | * for 'multiple of 4' channels, like 8. |
| 160 | */ | 153 | */ |
| 161 | struct stedma40_platform_data { | 154 | struct stedma40_platform_data { |
| 162 | u32 dev_len; | ||
| 163 | const dma_addr_t *dev_tx; | ||
| 164 | const dma_addr_t *dev_rx; | ||
| 165 | int *memcpy; | ||
| 166 | u32 memcpy_len; | ||
| 167 | struct stedma40_chan_cfg *memcpy_conf_phy; | ||
| 168 | struct stedma40_chan_cfg *memcpy_conf_log; | ||
| 169 | int disabled_channels[STEDMA40_MAX_PHYS]; | 155 | int disabled_channels[STEDMA40_MAX_PHYS]; |
| 170 | int *soft_lli_chans; | 156 | int *soft_lli_chans; |
| 171 | int num_of_soft_lli_chans; | 157 | int num_of_soft_lli_chans; |
