08 Mar, 2012

1 commit

  • Currently there were two part of DMAC PL330 driver for
    support old styled s3c-pl330 which has been merged into
    drivers/dma/pl330.c driver. Actually, there is no reason
    to separate them now.

    Basically this patch merges arch/arm/common/pl330.c into
    drivers/dma/pl330.c driver and removes useless exported
    symbol, externed function and so on.

    The newer pl330 driver tested on SMDKV310 and SMDK4212 boards

    Cc: Jassi Brar
    Cc: Russell King
    Acked-by: Linus Walleij
    Acked-by: Vinod Koul
    Signed-off-by: Boojin Kim
    Signed-off-by: Kukjin Kim
    Acked-by: Jassi Brar
    Signed-off-by: Vinod Koul

    Boojin Kim
     

23 Dec, 2011

2 commits

  • The transfer direction for a channel can be inferred from the transfer
    request and the need for specifying transfer direction in platfrom data
    can be eliminated. So the structure definition 'struct dma_pl330_peri'
    is no longer required.

    The channel's private data is set to point to a channel id specified in
    the platform data (instead of an instance of type 'struct dma_pl330_peri').
    The filter function is correspondingly modified to match the channel id.

    With the 'struct dma_pl330_peri' removed from platform data, the dma
    controller transfer capabilities cannot be inferred any more. Hence,
    the dma controller capabilities is specified using platform data.

    Acked-by: Jassi Brar
    Acked-by: Boojin Kim
    Signed-off-by: Thomas Abraham
    Acked-by: Grant Likely
    Acked-by: Vinod Koul
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • The dma channel selection filter function is moved from plat-samsung
    into the pl330 driver. In additon to that, a check is added in the
    filter function to ensure that the channel on which the filter has
    been invoked is pl330 channel instance (and avoid any incorrect
    access of chan->private in a system with multiple types of DMA
    drivers).

    Suggested-by: Russell King
    Signed-off-by: Thomas Abraham
    Acked-by: Jassi Brar
    Acked-by: Grant Likely
    Acked-by: Vinod Koul
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     

14 Sep, 2011

1 commit

  • This patch updates following 3 items.
    1. Removes unneccessary code.
    2. Add AMBA, PL330 configuration
    3. Change the meaning of 'peri_id' variable
    from PL330 event number to specific dma id by user.

    Signed-off-by: Boojin Kim
    Acked-by: Linus Walleij
    Acked-by: Vinod Koul
    Cc: Dan Williams
    Signed-off-by: Kukjin Kim
    Signed-off-by: Vinod Koul

    Boojin Kim
     

24 May, 2010

1 commit

  • Add DMA Engine API driver for the PL330 DMAC.
    This driver is supposed to be reusable by various
    platforms that have one or more PL330 DMACs.
    Atm, DMA_SLAVE and DMA_MEMCPY capabilities have been
    implemented.

    Signed-off-by: Jassi Brar
    Reviewed-by: Linus Walleij
    [dan.j.williams@intel.com: missing slab.h and ->device_control() fixups]
    Signed-off-by: Dan Williams

    Jassi Brar