[RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER

Kanigeri, Hari h-kanigeri2 at ti.com
Wed Dec 1 21:10:00 EST 2010


On Wed, Dec 1, 2010 at 12:04 AM, Varadarajan, Charulatha <charu at ti.com> 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.
omap_hwmod_get_mpu_rt_va was added so that the individual drivers can
avoid doing the ioremap.
check the discussion regarding this.
http://www.spinics.net/lists/linux-omap/msg33048.html


Thank you,
Best regards,
Hari Kanigeri



More information about the linux-arm-kernel mailing list