This document describes the updates to the DMA system on the S3C24XX series of SoCs.
This patch contains the following
The S3C2410_DMAOP_STARTED op is for when you want to call the dma start, with the device not yet requesting DMA. This call is for use after the device has started DMA requests, so that the DMA core can check for a buffer load, and enqueue another buffer if it is possible.
The following enums are renamed:
And the following structures:
find . -type f -exec perl -p -i~ -e 's/s3c2410_dma_buf_t/struct s3c2410_dma_buf/g; s/s3c2410_dma_client_t/struct s3c2410_dma_client/g; s/s3c2410_dma_chan_t/struct s3c2410_dma_chan/g; s/s3c2410_dma_stats_t /struct s3c2410_dma_stats /g; s/s3c2410_dma_stats_s/s3c2410_dma_stats/g;' {} \; find . -type f -exec perl -p -i~ -e 's/s3c2410_dmasrc_t/enum s3c2410_dmasrc/g; s/s3c2410_chan_op_t/enum s3c2410_chan_op/g; s/s3c2410_chan_op_e/s3c2410_chan_op/g; s/s3c2410_dma_state_t/enum s3c2410_dma_state/g; s/s3c2410_dma_loadst_t/enum s3c2410_dma_loadst/g; s/s3c2410_dma_buffresult_t/enum s3c2410_dma_buffresult/g;' {} \;
Fix the tabbing in include/asm-arm/arch-s3c2410/dma.h, update the copyright information, remove the obsolete changelog and fix the definition of MAX_DMA_ADDRESS.
The patch changes the method of claiming the channels, to allow each cpu to select the relevant dma hardware mappings. This means that the same driver code can be used on the s3c2410, s3c2440, etc.
Each cpu provides the DMA system with a map of these new channels to the actual hardware channels that can support them, so that at claim time the mapping between virtual and hardware channels can be made.
DMA mappings for the S3C2410 CPU.
DMA mappings for the S3C2440 CPU.
Share the DMA mappings for the S3C2410 with the S3C2442.