[PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.
Zhang Wei-r63237
Wei.Zhang at freescale.com
Thu Jul 12 19:45:58 EST 2007
Hi,
> -----Original Message-----
> From: Segher Boessenkool [mailto:segher at kernel.crashing.org]
> >> Call it "extended-chain-mode", perhaps?
> >
> > Is it maybe too long?
>
> Not really no. It's only 19 characters, and it isn't used
> all over the place, so that should be fine.
Ok,
>
> >>> + - reserved : Reserve the DMA channel to device.
> >>
> >> What does this do? Reserve it for what device, and where?
> >> The OS driver?
> >>
> >
> > Yes, it reserve for the special device, which must use the fixed
> > channel. Thus, reserve channels requested by that device.
> >
> > And in the device node of dts file, you can use such as
> > "dma-channel=<&dma-ch0>" to reference the below channel:
> >
> > dma-ch0: ch0 at 100 {
> > ...
> > }
>
> Right, so you don't need a "reserved" property, that information
> is in the tree already.
Ok, I'll remove "reserved" description.
>
> Alternatively, for ease of use, you could put a "reserved" bitmap
> in the master DMA controller node. I wouldn't make nodes per
> channel anyway, just describe the channels using properties -- that
> takes care of the "reg" vs. "ranges" thing too, etc.
Bitmap for reserved? Not very clear. :(
Thanks!
Wei.
More information about the Linuxppc-dev
mailing list