| From | Lee Jones <> | Subject | [PATCH 00/32] dmaengine: Refactor the DMA40 driver | Date | Thu, 18 Apr 2013 11:11:42 +0100 |
| |
The aim of this patch-set is to refactor the DMA40 and its clients to use the DMA APIs in the correct manor. It also encompasses a few cleanups along the way.
When a client requests a channel, the driver should only do very basic channel configuration, as the information passed from clients is very limited at this stage. Instead, channels should be configured during a separate call which is invoked after a channel number has been assigned. This patch-set ensures that only the basic amount of configuration is attempted at allocation time. By doing this, we're also allowing DMA configuration to originate from Device Tree.
This process is ongoing, as there is still one outstanding client waiting to be converted. The MSP (Audio) driver's DMA routines have recently been adapted to this new way of doing things. Some patches have been accepted, others are still on the lists. Once they have all been applied, I can continue the refactoring process.
Ideally, I'd like this patch-set to go in order, as a full patch-set. As to which tree it should go though, I don't have any strong preference.
Documentation/devicetree/bindings/dma/ste-dma40.txt | 66 ++++++++++++++++ arch/arm/boot/dts/dbx5x0.dtsi | 46 ++++++++++- arch/arm/mach-ux500/board-mop500-audio.c | 56 ++------------ arch/arm/mach-ux500/board-mop500-sdi.c | 40 ++-------- arch/arm/mach-ux500/board-mop500.c | 49 +++--------- arch/arm/mach-ux500/board-mop500.h | 1 + arch/arm/mach-ux500/cpu-db8500.c | 60 +++++---------- arch/arm/mach-ux500/devices-db8500.c | 163 +++++++++++++++------------------------ arch/arm/mach-ux500/ste-dma40-db8500.h | 193 ++++++++++++++++------------------------------ arch/arm/mach-ux500/usb.c | 10 +-- drivers/dma/ste_dma40.c | 376 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------ drivers/dma/ste_dma40_ll.c | 112 +++++++++++++-------------- drivers/dma/ste_dma40_ll.h | 5 +- include/linux/platform_data/dma-ste-dma40.h | 16 +--- 14 files changed, 574 insertions(+), 619 deletions(-)
|