diff options
author | Robin Gong <yibin.gong@nxp.com> | 2018-05-31 02:38:03 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 3c56e35787769d9efd5239f66cb1c4e4543cb0a7 (patch) | |
tree | 63348b12bf6eed8329c40a8116b7e8a1c6b47860 /include | |
parent | cea81ece912701f44754f6e81c0df267f656669d (diff) |
MLK-18449: dmaengine: imx-sdma:add sw_done support
Add new cell for sw_done/sw_done_selector, because PDM need enable
software done feature in sdma script.
The new fourth cell defined as below:
Bit31: sw_done
Bit15~bit0: selector
For example: 0x80000000 means sw_done enabled for done0 sector which
is for PDM on i.mx8mm.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/dma-imx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h index f149a670911f..59e34a321da4 100644 --- a/include/linux/platform_data/dma-imx.h +++ b/include/linux/platform_data/dma-imx.h @@ -61,6 +61,7 @@ struct imx_dma_data { bool src_dualfifo; bool dst_dualfifo; int idx; + int done_sel; }; static inline int imx_dma_is_ipu(struct dma_chan *chan) |