]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit620184088e3452980503a55f2545c225b76bbc8f
treeede2126133df90354238cc3285ae7f702269e270
parentf49f10e574d8d592dcb5fe256f56fb52dd9d98c2
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