On 29-03-16, 15:22, Arnd Bergmann wrote:
The platform already calls dev_pm_opp_add(), so it directly interacts with the cpufreq infrastructure. One way to do it would be to add another function call to set the independent_clocks flag in a static variable owned by that. Another way would be to have a separate function call for doing dev_pm_opp_add() with independent clocks. As far as I can tell, the two (dev_pm_opp_add and independent_clocks) are already tightly coupled interfaces, so it makes sense to combine them.
That looks like a good idea.
Apart from that I hope you don't have any issues with rest of the V2 series.