linux_dsm_epyc7002/drivers/base/power/opp
Viresh Kumar 6f707daa38 PM / OPP: Add dev_pm_opp_get_sharing_cpus()
OPP core allows a platform to mark OPP table as shared, when the
platform isn't using operating-points-v2 bindings.

And, so there should be a non DT way of finding out if the OPP table is
shared or not.

This patch adds dev_pm_opp_get_sharing_cpus(), which first tries to get
OPP sharing information from the opp-table (in case it is already marked
as shared), otherwise it uses the existing DT way of finding sharing
information.

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>
2016-04-28 15:18:18 +02:00
..
core.c PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00
cpu.c PM / OPP: Add dev_pm_opp_get_sharing_cpus() 2016-04-28 15:18:18 +02:00
debugfs.c PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00
Makefile PM / OPP: Add debugfs support 2015-11-23 23:38:23 +01:00
opp.h PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00