Hi Eric,
On Fri, Feb 22, 2013 at 05:21:12PM +0000, Eric Huang wrote:
Lorenzo, Looking in the cpuidle code in Linaro's 13.01 kernel, there are only two idle states supported in the cpuidle/arm_big_little.c, one is WFI, the other is C1. So to have more than these 2 idle states supported on a SoC, it looks like I have to create SoC specific CPU idle driver to replace the arm_big_little.c. Is this the intended design? It would be better if there is a way the arm_big_little.c can support SoC specific idle sets, via device tree maybe?
It is planned to add DT capabilities to idle states, it is one of the main discussion topic at the upcoming LCA 2013.
DT configurable C-states are just part of the story though, we also need to associate idle states enter functions to the appropriate C-state, which opens up and extend the topic beyond the mere definition of C-state tables configurable data.
Lorenzo