>>> 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. Segher _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev