From mboxrd@z Thu Jan 1 00:00:00 1970 From: h-kanigeri2@ti.com (Kanigeri, Hari) Date: Wed, 1 Dec 2010 20:27:24 -0600 Subject: [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER In-Reply-To: References: <1291147139-23472-1-git-send-email-davidsin@ti.com> <1291147139-23472-2-git-send-email-davidsin@ti.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Dec 1, 2010 at 8:10 PM, Kanigeri, Hari wrote: > On Wed, Dec 1, 2010 at 12:04 AM, Varadarajan, Charulatha wrote: >> David, > >> >>> + ? ? ? ? ? ? ? if (!oh) >>> + ? ? ? ? ? ? ? ? ? ? ? goto error; >>> + >>> + ? ? ? ? ? ? ? data->base = oh->_mpu_rt_va; >> >> not required. Make use of platform_get APIs in probe to extract the >> base, dma and irq info using pdev. > > Not sure about using platform_get APIs. I think one has to use > omap_hwmod_get_mpu_rt_va to get the address, which internally returns > oh-<_mpu_rt_va. small correction... omap_device_get_rt_va and not omap_hwmod_get_mpu_rt_va. Thank you, Best regards, Hari Kanigeri