Hi Linus,
On Sun, Nov 11, 2012 at 2:02 AM, Linus Walleij linus.walleij@linaro.org wrote:
- At Connect Kevin Hilman from TI kindly took time to explain to me and Ulf how runtime PM is to be done right. So what needs to be done is major and will require commitment from Linaro member companies, and I've filed a blueprint for it. https://blueprints.launchpad.net/linux-linaro/+spec/runtime-pm Amit K is informed.
I went through the blue print but couldn't get complete picture. Do you say that runtime pm should only be modelled around power domains.
From blueprint,
Instead of using runtime PM and PM domains, many archs have started to sprinkle voltage domain, silicon clock (pclk) and pin control PM handling all over drivers the driver/* subtree. This needs to be resolved by a joint effort of cleaning up and centralizing runtime PM for all member platforms.
Can you please explain this little more. There were patches from Ulf targetting some cleanup in pl022 spi runtime pm implementation (mainly around clk usage) and then he suggested it to be carried in amba bus (as pclk is handled there).
What is the correct approach to handle runtime PM.
thanks.