Hi,<br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 11:11 AM, N, Mugunthan V <span dir="ltr"><<a href="mailto:mugunthanvnm@ti.com" target="_blank">mugunthanvnm@ti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> -----Original Message-----<br>
> From: N, Mugunthan V<br>
> Sent: Thursday, June 07, 2012 9:52 PM<br>
> To: '<a href="mailto:linux-omap@vger.kernel.org">linux-omap@vger.kernel.org</a>'<br>
> Cc: '<a href="mailto:linux-arm-kernel@lists.infradead.org">linux-arm-kernel@lists.infradead.org</a>'<br>
> Subject: how to specify dma_mask and coherent_dma_mask in hwmod<br>
><br>
> Hi<br>
><br>
> While converting platform device registry to Hwmod for CPSW Ethernet<br>
> driver which is present in AM335X (OMAP2+), I am not finding a way to<br>
> specify<br>
> dma_mask and coherent_dma_mask.<br>
> Is there a way to specify dma_mask and coherent_dma_mask in hwmod?<br></blockquote><div><br></div><div>Nope. You can specify dma_mask after creating the device as done in</div><div><a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/mach-omap2/usb-musb.c;h=c4a576856661014ea3bec9acc70f80e32d62c33b;hb=HEAD">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/mach-omap2/usb-musb.c;h=c4a576856661014ea3bec9acc70f80e32d62c33b;hb=HEAD</a>
</div><div><br></div><div>Regards</div><div>Kishon</div></div>