how to specify dma_mask and coherent_dma_mask in hwmod
From: Bedia, Vaibhav <hidden>
Date: 2012-06-28 16:42:07
Also in:
linux-omap
From: Bedia, Vaibhav <hidden>
Date: 2012-06-28 16:42:07
Also in:
linux-omap
On Thu, Jun 28, 2012 at 22:02:46, Paul Walmsley wrote:
On Thu, 28 Jun 2012, Bedia, Vaibhav wrote:quoted
On Thu, Jun 28, 2012 at 21:22:54, Paul Walmsley wrote: [...]quoted
dma_mask and coherent_dma_mask can be specified during device creation. See usb_musb_init() in arch/arm/mach-omap2/usb-musb.c for an example.Thanks for pointing this out. Should omap_device_build() start handling this or would that be an overkill?If both dma_mask and coherent_dma_mask are always 0xffffffff on all OMAPs and we can set that safely even for devices that don't use it, then yeah it sounds like we should set it.
I guess that's the case here also.
Care to send a patch?
Sure. Let me check with Mugunthan once. Regards, Vaibhav B.