how to specify dma_mask and coherent_dma_mask in hwmod
From: paul@pwsan.com (Paul Walmsley)
Date: 2012-06-28 15:52:54
Also in:
linux-omap
From: paul@pwsan.com (Paul Walmsley)
Date: 2012-06-28 15:52:54
Also in:
linux-omap
Hi On Thu, 28 Jun 2012, Bedia, Vaibhav wrote:
On Wed, Jun 27, 2012 at 11:11:32, N, Mugunthan V wrote:quoted
quoted
-----Original Message----- From: N, Mugunthan V Sent: Thursday, June 07, 2012 9:52 PM To: 'linux-omap at vger.kernel.org' Cc: 'linux-arm-kernel at lists.infradead.org' Subject: how to specify dma_mask and coherent_dma_mask in hwmod While converting platform device registry to Hwmod for CPSW Ethernet driver which is present in AM335X (OMAP2+), I am not finding a way to specify dma_mask and coherent_dma_mask. Is there a way to specify dma_mask and coherent_dma_mask in hwmod?Ping, any one has comment on this?Right now there's no way of doing this in hwmod. But is omap_hwmod the right place for this? It would help if you could describe why the hwmod conversion is causing trouble for you.
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. I take it that you're just planning to set both of those to 0xffffffff? - Paul