From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758760AbbJ3HVS (ORCPT ); Fri, 30 Oct 2015 03:21:18 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:52737 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbbJ3HVQ (ORCPT ); Fri, 30 Oct 2015 03:21:16 -0400 Subject: Re: [PATCH 0/3] dmaengine: ti-dma-crossbar: channel reserving and edma3-tcc support To: , References: <1446107331-30041-1-git-send-email-peter.ujfalusi@ti.com> CC: , , , , , , From: Peter Ujfalusi Message-ID: <56331A45.6020201@ti.com> Date: Fri, 30 Oct 2015 09:20:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446107331-30041-1-git-send-email-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vinod, On 10/29/2015 10:28 AM, Peter Ujfalusi wrote: > Hi, > > This series depends on the eDMA work I have done, which has been now applied: > https://lkml.org/lkml/2015/10/16/64 > > DRA7 family of chips have both sDMA and eDMA. Currently only sDMA can be used > becasue the old driver stack for eDMA did not allowed integration w/o hacks. > > Due to the nature of eDMA the crossbar needs to know which eDMA events it can > use to map incoming events towards the eDMA. In eDMA a channel is wired to be > used with one specific event. For example eDMA event 14 can only be handled by > eDMA channel 14. > The eDMA itself can be shared by different processors in the system (ARM, DSP, > etc) and since ARM/Linux is the master we need to know which channels are used > by other cores. Also we need to mask out channels used for memcpy from the > events we use for HW triggers. Please ignore this series, I have found some issue with it and I just started to debug it. Will post V2 as soon as I found the problem. > > Regards, > Peter > --- > Peter Ujfalusi (3): > dmaengine: ti-dma-crossbar: dra7: Use bitops instead of idr > dmaengine: ti-dma-crossbar: dra7: Support for reserving DMA event > ranges > dmaengine: ti-dma-crossbar: dra7: Support for eDMA with new bindings > > .../devicetree/bindings/dma/ti-dma-crossbar.txt | 6 ++ > drivers/dma/ti-dma-crossbar.c | 81 +++++++++++++++++++--- > 2 files changed, 76 insertions(+), 11 deletions(-) > -- Péter