Re: [PATCH V3 11/16] PM / OPP: Add helpers for initializing CPU OPPs

2015-07-30 Thread Viresh Kumar
On 30-07-15, 23:07, Stephen Boyd wrote: > On 07/29, Viresh Kumar wrote: > > With "operating-points-v2" its possible to tell which devices share > > OPPs. We already have infrastructure to decode that information. > > > > This patch adds following APIs: > > - of_get_cpus_sharing_opps: Returns cpuma

Re: [PATCH V3 11/16] PM / OPP: Add helpers for initializing CPU OPPs

2015-07-30 Thread Stephen Boyd
On 07/29, Viresh Kumar wrote: > With "operating-points-v2" its possible to tell which devices share > OPPs. We already have infrastructure to decode that information. > > This patch adds following APIs: > - of_get_cpus_sharing_opps: Returns cpumask of CPUs sharing OPPs (only > valid with v2 bind

[PATCH V3 11/16] PM / OPP: Add helpers for initializing CPU OPPs

2015-07-29 Thread Viresh Kumar
With "operating-points-v2" its possible to tell which devices share OPPs. We already have infrastructure to decode that information. This patch adds following APIs: - of_get_cpus_sharing_opps: Returns cpumask of CPUs sharing OPPs (only valid with v2 bindings). - of_cpumask_init_opp_table: Initia