how to specify dma_mask and coherent_dma_mask in hwmod

Bedia, Vaibhav vaibhav.bedia at ti.com
Thu Jun 28 12:42:07 EDT 2012


On Thu, Jun 28, 2012 at 22:02:46, Paul Walmsley wrote:
> On Thu, 28 Jun 2012, Bedia, Vaibhav wrote:
> 
> > On Thu, Jun 28, 2012 at 21:22:54, Paul Walmsley wrote:
> > [...]
> > > 
> > > 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.



More information about the linux-arm-kernel mailing list