On Thu, Oct 24, 2013 at 07:07:43PM +0800, Nicolin Chen wrote:
And I think this pinctrl PM might be also beneficial to cpu dai drivers since they might have actual pins, and they can hypnotize/wake them up along with runtime PM:
I think you're right that this is a useful and obvious feature but the question I have is that since the standard implementation is going to be to do the pinctrl calls in lockstep with the runtime PM handling and since this is likely to be the same for pretty much any subsystem might it be better to add the hooks at the runtime PM level rather than in the subsystem? Or perhaps we should just add them in subsystems and then once some reasonable number of subsystems have done this then pull it into the PM core?
Linus, any thoughts?