cpufreq: dt: Identify cpu-sharing for platforms without operating-points-v2
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 27 Apr 2016 03:22:24 +0000 (08:52 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Apr 2016 13:22:42 +0000 (15:22 +0200)
commit1530b9963eeb5304d9aec48ee0e7ea966d7cf3d9
treeede2126133df90354238cc3285ae7f702269e270
parent29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba
cpufreq: dt: Identify cpu-sharing for platforms without operating-points-v2

Existing platforms, which do not support operating-points-v2, can
explicitly tell the opp core that some of the CPUs share opp tables,
with help of dev_pm_opp_set_sharing_cpus().

For such platforms, explicitly ask the opp core to provide list of CPUs
sharing the opp table with current cpu device, before falling back to
platform data.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt.c