Is there a binding for IORESOURCE_DMA population?
Tabi Timur-B04825
B04825 at freescale.com
Sat Jul 16 02:45:38 EST 2011
On Fri, Jul 15, 2011 at 11:32 AM, Shawn Guo <shawn.guo at freescale.com> 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
More information about the devicetree-discuss
mailing list