* Jon Hunter <jon-hunter@xxxxxx> [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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html