]> 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)
commitbd90294ed65e50db5cff67668c1dc07fcc3248ca
treeede2126133df90354238cc3285ae7f702269e270
parent6d73ba1b9198a3f608f8f398b7fb3a7380246a26
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