On Tuesday 20 March 2012, Nicolas Ferre wrote: > > Add some basic helpers to retrieve a DMA controller device_node and the > DMA request specifications. By making DMA controllers register a generic > translation function, we allow the management of any type of DMA requests > specification. > The void * output of an of_dma_xlate() function that will be implemented > by the DMA controller can carry any type of "dma-request" argument. > > The DMA client will search its associated DMA controller in the list and > call the registered of_dam_xlate() function to retrieve the request values. > > One simple xlate function is provided for the "single number" type of > request binding. > > This implementation is independent from dmaengine so it can also be used > by legacy drivers. Thanks a lot of posting this updated version, I think it will be very useful as we proceed. I still hope that in the end we find that the differences are not all that big and we can do it all with bindings very much like what you have here. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html