On Fri, Jul 15, 2011 at 11:32 AM, Shawn Guo <[email protected]> wrote:

> First of all, using powerpc dma-channel binding on such dma event
> seems not reflecting the hardware facts.  Secondly, the binding in
> this case (below) looks silly.  Thirdly, device driver need to make
> code change for simply getting a dma event number.

Take a look at p1022ds.dts or mpc8610hpcd.dts.  We create separate DMA
channel nodes on Freescale PowerPC parts because the channels really
are independent.  On these two boards, some of the DMA channels are
used by the async DMA driver, and two of the channels are used by the
audio driver.  The compatible property is used to differentiate among
them.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to