[PATCH 07/11] ARM: OMAP: Move omap-pm-noop.c local to mach-omap2
Tony Lindgren
tony at atomide.com
Wed Nov 7 17:18:20 EST 2012
* Jon Hunter <jon-hunter at ti.com> [121107 14:06]:
> On 10/31/2012 06:11 PM, Tony Lindgren wrote:
> >
> > When it's converted to be a device driver, it can do it
> > using runtime PM calls.
>
> I am not sure if you are referring to runtime pm callbacks here, but if
> so I am not sure I follow. Drivers such as dmtimer and gpio that are
> using runtime pm are still dependent on OMAP specific APIs (such as
> omap_pm_get_dev_context_loss_count()) for determining if the context was
> lost between suspending and resuming the device. So I am not sure how
> runtime pm solves this.
Ah right.
> Speaking with Rob Herring, one solution for DT would be using bus
> notifiers to populate such function pointers when a device is added.
> Given that there are a few devices using this architecture specific API
> for context loss I am wondering if we can do something generic in
> omap_device.c for DT.
Sounds good to me.
Regards,
Tony
More information about the linux-arm-kernel
mailing list