S3C: DMA: Add api driver for PL330

Previous thread: ARM: S5P6442: Add audio platform devices by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:03 pm. (1 message)

Next thread: ARM: SAMSUNG: move driver strength gpio configuration helper to common dir by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:03 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, May 19, 2010 - 1:03 pm

Gitweb:     http://git.kernel.org/linus/d800edebe33cac300ab1ff3b95e8a74d53e842d2
Commit:     d800edebe33cac300ab1ff3b95e8a74d53e842d2
Parent:     7ebd467551ed6ae200d7835a84bbda0dcadaa511
Author:     Jassi Brar <jassi.brar@samsung.com>
AuthorDate: Tue May 18 11:59:06 2010 +0900
Committer:  Ben Dooks <ben-linux@fluff.org>
CommitDate: Tue May 18 18:00:12 2010 +0900

    S3C: DMA: Add api driver for PL330
    
    Latest Samsung SoCs have one or more PL330 as their DMACs. This patch
    implements the S3C DMA API for PL330 core driver.
    
    The design has been kept as generic as possible while keeping effort to
    add support for new SoCs to the minimum possible level.
    
    Some of the salient features of this driver are:-
     o  Automatic scheduling of client requests onto DMAC if more than
        one DMAC can reach the peripheral. Factors, such as current load
        and number of exclusive but inactive peripherals that are
        supported by the DMAC, are used to decide suitability of a DMAC
        for a particular client.
     o  CIRCULAR buffer option is supported.
     o  The driver scales transparently with the number of DMACs and total
        peripherals in the platform, since all peripherals are added to
        the peripheral pool and DMACs to the controller pool.
    
    For most conservative use of memory, smallest driver size and best
    performance, we don't employ legacy data structures of the S3C DMA API.
    That should not have any affect since those data structures are completely
    invisible to the DMA clients.
    
    Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
 arch/arm/plat-samsung/Kconfig                      |    6 +
 arch/arm/plat-samsung/Makefile                     |    2 +
 arch/arm/plat-samsung/include/plat/s3c-dma-pl330.h |   78 ++
 .../plat-samsung/include/plat/s3c-pl330-pdata.h    |   32 +
 arch/arm/plat-samsung/s3c-pl330.c                  | 1224 ...
Previous thread: ARM: S5P6442: Add audio platform devices by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:03 pm. (1 message)

Next thread: ARM: SAMSUNG: move driver strength gpio configuration helper to common dir by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:03 pm. (1 message)