dmaengine: imx-sdma: move dma parameters from imx_dma_data to slave_config
authorRobin Gong <yibin.gong@nxp.com>
Wed, 24 Mar 2021 16:50:10 +0000 (00:50 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 21 Apr 2021 08:00:09 +0000 (16:00 +0800)
commite33374afd3f735d2e2a93afb3286c5fc8cac0992
tree579acbd2861aa5f4d98c412ae451627e27f2ccf1
parent4e855501d3a89e3840981309012907ccc4cd0e05
dmaengine: imx-sdma: move dma parameters from imx_dma_data to slave_config

use 'peripheral_config' to pass our special sdma parameters from
dma_request_slave_channel() to dmaengine_slave_config(), thus could make
upper driver much cleaner, besides could make binding docs much cleaner
too and easier to upstreaming.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 6f52f8e232017df86fa50270c206f99b21a37ac2)
drivers/dma/imx-sdma.c
include/linux/platform_data/dma-imx.h