lkml.org 
[lkml]   [2012]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability
From
On Fri, Nov 30, 2012 at 4:26 PM, Bartlomiej Zolnierkiewicz
<b.zolnierkie@samsung.com> wrote:

> Thank you for explaining it. Here is a patch implementing the idea:
>
> From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Subject: [PATCH] DMA: PL330: add peripherals map to the device tree
>
> Add device tree (DT) property ("peri-map") for storing indices
> of peripherals connected to DMAC and fix DT nodes of client
> drivers to use 'dma peripheral id' instead of 'dma request id'.
> Also instead of setting DMA_MEMCPY capability unconditionally in
> pl330_probe() do it only when "peri-map" DT property is present
> (idea from Jassi Brar). It fixes the issue on ARM EXYNOS
> platforms using DT where pdma controller erroneously was used
> for DMA_MEMCPY operations instead of mdma one (it seems to work
> correctly but at the cost of worse performance).
>
Sorry, we need to change it as per new generic dma DT bindings
http://git.infradead.org/users/vkoul/slave-dma.git/blob/refs/heads/next:/Documentation/devicetree/bindings/dma/dma.txt

Thanks.


\
 
 \ /
  Last update: 2012-12-12 09:01    [W:1.227 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site