FSLDMA_EXTERNAL_START is one of the custom methods in device_control. Since
we are planning to deprecate device_control, we should move this to an API.
This serries adds the fsl_dma_external_start() API for users and also
converts the users.
I would like this to be merged thru dmanegine tree due to new dependency.
Vinod Koul (6):
dmaengine: add dmaengine_prep_dma_sg() helper
dmaengine: freescale: add and export fsl_dma_external_start()
carma-fpga: use dmaengine_xxx() API
carma-fpga: move to fsl_dma_external_start()
dmaengine: freescale: remove FSLDMA_EXTERNAL_START control method
dmaengine: remove FSLDMA_EXTERNAL_START
drivers/dma/fsldma.c | 25 +++++++++++++++----------
drivers/misc/carma/carma-fpga-program.c | 12 ++++++------
include/linux/dmaengine.h | 13 ++++++++++---
include/linux/fsldma.h | 13 +++++++++++++
4 files changed, 44 insertions(+), 19 deletions(-)
create mode 100644 include/linux/fsldma.h
This was only prep API which didnt have an helper
Signed-off-by: Vinod Koul <redacted>
---
include/linux/dmaengine.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
The drivers should use dmaengine_slave_config() and dmaengine_prep_dma_sg()
API instead of accessing the device_control which will be deprecated soon
Signed-off-by: Vinod Koul <redacted>
---
drivers/misc/carma/carma-fpga-program.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
since users have been move to fsl_dma_external_start() API, so remove this
now
Signed-off-by: Vinod Koul <redacted>
---
drivers/dma/fsldma.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
as users have been converted, so no need of this custom method
Signed-off-by: Vinod Koul <redacted>
---
include/linux/dmaengine.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
carma-fpga driver uses device control with custom FSLDMA_EXTERNAL_START
command. Since we wnat to deprecate the device control, move this driver to
use new fsl_dma_external_start() API
Signed-off-by: Vinod Koul <redacted>
---
drivers/misc/carma/carma-fpga-program.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
The freescale driver uses custom device control FSLDMA_EXTERNAL_START to
put the controller in external start mode.
Since we are planning to deprecate the device control, move this to exported
API. Subsequent patches will remove the FSLDMA_EXTERNAL_START
Signed-off-by: Vinod Koul <redacted>
---
drivers/dma/fsldma.c | 16 +++++++++++++++-
include/linux/fsldma.h | 13 +++++++++++++
2 files changed, 28 insertions(+), 1 deletions(-)
create mode 100644 include/linux/fsldma.h