On Tue, Sep 25, 2012 at 7:05 PM, Tomi Valkeinen <tomi.valkeinen@xxxxxx> wrote: > So when I call pm_runtime_get in the omapdss driver, I imagine that the > runtime PM and pinctrl would together handle muxing the pins for > omapdss's use, and also enable the relevant regulators to make the pins > usable. So we do something like this in the recent patch to the PL022 SPI driver by setting the pinctrl states inside the runtime suspend and resume callbacks: http://sourceforge.net/mailarchive/forum.php?thread_name=20120920130240.GR17666%40opensource.wolfsonmicro.com&forum_name=spi-devel-general You can very well do clocks and regulators in these functions as well. Other platforms like shmobile will use runtime pm notifications to do all this orthogonally in a central place, which may be applicable for OMAP. Yours, Linus Walleij -- 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