[PATCH v4 4/4] OMAP3/4: iommu: adapt to runtime pm

Ramirez Luna, Omar omar.ramirez at ti.com
Thu Jan 5 13:26:02 EST 2012


On Tue, Dec 27, 2011 at 3:41 AM, Felipe Contreras
<felipe.contreras at gmail.com> wrote:
> On Sun, Dec 25, 2011 at 2:03 AM, Ramirez Luna, Omar <omar.ramirez at ti.com> wrote:
>> On Fri, Dec 23, 2011 at 11:04 AM, Felipe Contreras
>> <felipe.contreras at gmail.com> wrote:
>>> Which omap-iommu? The platform driver, or the device stuff? The device
>>> stuff is always built-in, but not the platform driver
>>> (drivers/iommu/omap-iommu.c), that can be a module.
>>
>> Both, I can't recall exactly when it changed (prior to being moved to
>> drivers/iommu it could be built as a module), but now
>> CONFIG_OMAP_IOMMU is boolean type.
>
> I see. Still, it looks like the proper way to use the API is to call
> _enable() on the platform driver.

I'm sorry, I don't seem to follow... you want _enable in platform
driver, and you call drivers/iommu/omap-iommu.c the platform driver...

And that is precisely where pm_runtime_enable() is, no?

Regards,

Omar



More information about the linux-arm-kernel mailing list