> -----Original Message-----
> From: Segher Boessenkool [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 12, 2007 1:54 AM
> To: Wood Scott-B07421
> Cc: Zhang Wei-r63237; linuxppc-dev@ozlabs.org; [EMAIL PROTECTED]
> Subject: Re: [PATCH 1/4] Add DMA sector to 
> Documentation/powerpc/booting-without-of.txt file.
> 
> >>> I'd rather just treat the different DMA channels as independent  
> >>> devices,
> >>> rather than children of a dma "bus", and change the compatible  
> >>> name if
> >>> they're not general purpose.  There's only one register that's  
> >>> shared
> >>> among the channels, and it's a superfluous status summary 
> register.
> >>>
> >> Your and my ideas are both sides of a coin. :-)
> >
> > I think there's a substantive difference between them.  
> Making each  
> > channel an independent device makes it easier for other drivers to  
> > use them.
> 
> True.  If the DMA channels are independent enough, putting them
> in nodes of their own isn't too cumbersome, either.
> 
> 

If you want to use DMA engine driver for the reserved channel, you
should add it to dma-controller node and assign 'reserved'.
If you don't want to use DMA engine driver, just remove it from
dma-controller node and put the channel to special device node.

Thanks!
Wei.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to