diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-ste-dma40.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h index 9ff93b065686..833cb959f3df 100644 --- a/include/linux/platform_data/dma-ste-dma40.h +++ b/include/linux/platform_data/dma-ste-dma40.h | |||
| @@ -147,6 +147,9 @@ struct stedma40_chan_cfg { | |||
| 147 | * @memcpy_conf_log: default configuration of logical channel memcpy | 147 | * @memcpy_conf_log: default configuration of logical channel memcpy |
| 148 | * @disabled_channels: A vector, ending with -1, that marks physical channels | 148 | * @disabled_channels: A vector, ending with -1, that marks physical channels |
| 149 | * that are for different reasons not available for the driver. | 149 | * that are for different reasons not available for the driver. |
| 150 | * @num_of_phy_chans: The number of physical channels implemented in HW. | ||
| 151 | * 0 means reading the number of channels from DMA HW but this is only valid | ||
| 152 | * for 'multiple of 4' channels, like 8. | ||
| 150 | */ | 153 | */ |
| 151 | struct stedma40_platform_data { | 154 | struct stedma40_platform_data { |
| 152 | u32 dev_len; | 155 | u32 dev_len; |
| @@ -158,6 +161,7 @@ struct stedma40_platform_data { | |||
| 158 | struct stedma40_chan_cfg *memcpy_conf_log; | 161 | struct stedma40_chan_cfg *memcpy_conf_log; |
| 159 | int disabled_channels[STEDMA40_MAX_PHYS]; | 162 | int disabled_channels[STEDMA40_MAX_PHYS]; |
| 160 | bool use_esram_lcla; | 163 | bool use_esram_lcla; |
| 164 | int num_of_phy_chans; | ||
| 161 | }; | 165 | }; |
| 162 | 166 | ||
| 163 | #ifdef CONFIG_STE_DMA40 | 167 | #ifdef CONFIG_STE_DMA40 |
