[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLF6Ey1t1BV4tnFcFK-KmOU9H2nQE+ZHoZRq2r_nRTxNw@mail.gmail.com>
Date: Sat, 8 Mar 2014 13:53:45 -0600
From: Rob Herring <robherring2@...il.com>
To: Sricharan R <r.sricharan@...com>
Cc: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
linux-omap <linux-omap@...r.kernel.org>,
dmaengine@...r.kernel.org, Nishanth Menon <nm@...com>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Tony Lindgren <tony@...mide.com>, rnayak@...com,
Sekhar Nori <nsekhar@...com>,
Vinod Koul <vinod.koul@...el.com>,
Santosh Shilimkar <santosh.shilimkar@...com>,
Dan Williams <dan.j.williams@...el.com>
Subject: Re: [RFC PATCH 0/9] drivers: dma: Add support for dma-channel router
On Fri, Mar 7, 2014 at 6:16 AM, Sricharan R <r.sricharan@...com> wrote:
> In some SoCs the dma request lines from the peripherals are
> routed to the dma-controller through a crossbar. With this the
> dma controller's available request lines are shared between the
> peripherals.
>
> This adds support to register the crossbar router associated with
> a dma-channel and let the dma-controller driver map/unmap
> the peripheral dma crossbar line to dma-controller's request
> line.
This is not a unique concept and should follow some existing pattern.
Perhaps something like interrupt-map. For the dmas property, the
parent should be the crossbar and then the crossbar block has to
translate that into the DMA controller request. All the DMA ctrlr
request connections should be described in the crossbar node. In
theory, you could have chained crossbars. This should be documented as
part of the generic DMA binding.
There are also other similar IP like CoreSight CTI which are just
signal routers. So there is probably some possibility of common code
here.
Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists